this behavior appears to be intentional. file-name-extension calls
file-name-sans-versions, which removes the ~.
Adrian Aichner wrote:
This bug report will be sent to the XEmacs Development Team,
not to your local site managers!!
Please write in English, because the XEmacs maintainers do not have
translators to read other languages for them.
In XEmacs 21.1 (patch 10) "Capitol Reef" [Lucid] (i386-pc-win32) of Fri Jun 09
2000 on ZJ75T
configured using `configure UNKNOWN'
as well as
(emacs-version)
"XEmacs 21.2 (beta34) \"Molpe\" [Lucid] (i586-pc-win32) of Fri Jul 14
2000 on ZJ75T"
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
Just evaluate
(file-name-extension "x.el~")
in the *scratch* buffer to reproduce this bug.
This happens in a vanilla 21.1.10 and 21.2-b34 XEmacs built from
latest CVS.
Adrian
Recent keystrokes:
button1 button1up RET C-x 1 C-p RET C-h a b a c k u
p RET button1 button1up RET C-x b RET C-x 1 M-> RET
RET ( b a c k u p - f i l e C-M-i SPC C-button1 C-button1up
) C-x C-e C-b C-b BS C-e C-x C-e C-b C-b ~ C-e C-x
C-e C-p C-p M-x g n a SPC SPC C-g M-x e m a SPC b SPC
BS r e SPC BS BS BS BS BS BS BS BS r e SPC BS p o SPC
r SPC e SPC SPC SPC RET
Recent messages (most recent first):
"el"
Loading emacsbug...done
Loading emacsbug...
Making completion list...
Quit
Making completion list...
17
nil
17
"el"
--
Ben
In order to save my hands, I am cutting back on my mail. I also write
as succinctly as possible -- please don't be offended. If you send me
mail, you _will_ get a response, but please be patient, especially for
XEmacs-related mail. If you need an immediate response and it is not
apparent in your message, please say so. Thanks for your understanding.
See also
http://www.666.com/ben/chronic-pain/