From: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: read-directory-name
Date: Tue, 10 May 2005 00:32:29 +0300 [thread overview]
Message-ID: <878y2ouj3y.fsf@jurta.org> (raw)
In-Reply-To: <200505070256.j472uDZ21054@raven.dms.auburn.edu> (Luc Teirlinck's message of "Fri, 6 May 2005 21:56:13 -0500 (CDT)")
> Sorry, that was wrong. It should have been:
>
> ! (if initial (concat dir initial) dir default-directory)))
>
> Obviously, that was even _more_ wrong.
> It should have been the following, as in Juri's original patch:
>
> - (if initial (concat dir initial) default-directory)))
> + (or (if initial (concat dir initial))
> + dir
> + default-directory)))
I haven't installed this patch, because I've found that
`read-directory-name' inherits its behavior from `read-file-name',
so changing `read-directory-name' would make it inconsistent with
`read-file-name'.
--
Juri Linkov
http://www.jurta.org/emacs/
next prev parent reply other threads:[~2005-05-09 21:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-07 1:20 read-directory-name Luc Teirlinck
2005-05-07 1:48 ` read-directory-name Luc Teirlinck
2005-05-07 1:52 ` read-directory-name Luc Teirlinck
2005-05-07 2:34 ` read-directory-name Luc Teirlinck
2005-05-07 2:47 ` read-directory-name Luc Teirlinck
2005-05-07 2:56 ` read-directory-name Luc Teirlinck
2005-05-09 21:32 ` Juri Linkov [this message]
2005-05-08 22:45 ` read-directory-name Richard Stallman
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=878y2ouj3y.fsf@jurta.org \
--to=juri@jurta.org \
--cc=emacs-devel@gnu.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).