bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug in file-name-sans-extension?


From: Dan Sommers
Subject: bug in file-name-sans-extension?
Date: Thu, 18 Oct 2001 20:53:48 -0500

This bug report will be sent to the Free Software Foundation,
not to your local site managers!!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

In GNU Emacs 20.6 (Macintosh)
 of Thu Oct 18 2001 on Waffle

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

The function file-name-sans-extension doesn't work as I expected
when I give it a file name like "/directory/.emacs":

(file-name-sans-extension "/directory/.emacs")
"/directory"

I think, in this admittedly degenerate case, that the function
should return the whole file name, as if given a file name
without an extension:

(file-name-sans-extension "/directory/emacs")
"/directory/emacs"

Recent input:
C-h a b u g RET C-x o C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-v C-v C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-f C-f C-f C-n C-n C-n 
C-n C-n C-n RET C-x o C-e C-b C-b C-b C-b C-b RET C-x 
o C-a C-f x r e p o r t - DEL DEL DEL DEL DEL C-g C-g 
C-g M-x r e p o r t - e m TAB RET

Recent messages:
Loading apropos...
Loading apropos...done
End of buffer

Fontifying emacsbug.el...
Fontifying emacsbug.el... (regexps............)
No mark set in this buffer
Quit [2 times]
Loading emacsbug...
Loading emacsbug...done

-- 
Dan Sommers, Esq., Ltd., The Third
mailto:neutrino@enteract.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]