unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lachlan Deck <lachlan.deck@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 10102@debbugs.gnu.org
Subject: bug#10102: emacs 24 read-file-name bug?
Date: Wed, 5 Feb 2014 06:53:33 +1100	[thread overview]
Message-ID: <E28B5732-32E5-4F30-AD5B-92CA486D923C@gmail.com> (raw)
In-Reply-To: <87lhxrzpfw.fsf@building.gnus.org>

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	other threads:[~2014-02-04 19:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-22  3:59 bug#10102: emacs 24 read-file-name bug? Lachlan Deck
2011-11-22  4:33 ` Glenn Morris
2011-11-22  4:43   ` Lachlan Deck
2011-11-23 18:24     ` Glenn Morris
2014-02-04  0:33 ` Lars Ingebrigtsen
2014-02-04 19:53   ` Lachlan Deck [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E28B5732-32E5-4F30-AD5B-92CA486D923C@gmail.com \
    --to=lachlan.deck@gmail.com \
    --cc=10102@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).