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

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

bug#10102: emacs 24 read-file-name bug?


From: Lachlan Deck
Subject: bug#10102: emacs 24 read-file-name bug?
Date: Wed, 5 Feb 2014 06:53:33 +1100

Been a while. Let’s see…

Mac OS X 10.9.1 (Mavericks)

$ brew install emacs --cocoa --use-git-head —HEAD
$ brew linkapps

# alias emacs24="/Applications/Emacs.app/Contents/MacOS/Emacs -nw"
# alias e24="/Applications/Emacs.app/Contents/MacOS/Emacs -nw -Q”

$ $ emacs24 -version
GNU Emacs 24.3.50.1
…

seems to be okay.

cheers, Lachlan


On 4 Feb 2014, at 11:33 am, Lars Ingebrigtsen <larsi@gnus.org> wrote:

> Lachlan Deck <lachlan.deck@gmail.com> writes:
> 
>> In emacs 24 the following 'message' produces the empty string if you just 
>> hit enter at the mini-buffer prompt. In emacs 23, the 'guess' variable is 
>> printed as expected.
>> 
>> Is this a known bug?
>> 
>> (let* ((default-directory "~/path/to/project/")
>>      (guess (concat default-directory ".foo"))
>>      (file (read-file-name
>>             "Foo: "
>>             (file-name-directory guess)
>>             guess
>>             nil
>>             (file-name-nondirectory guess)
>>             )))
>> 
>> (message file))
> 
> Are you still seeing this problem in Emacs 24.3?
> 
> -- 
> (domestic pets only, the antidote for overdose, milk.)
>  bloggy blog http://lars.ingebrigtsen.no/






reply via email to

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