unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: read-file-name
Date: Wed, 21 Apr 2004 09:42:15 -0600	[thread overview]
Message-ID: <mailman.751.1082565004.1061.bug-gnu-emacs@gnu.org> (raw)
In-Reply-To: c64qmi$7qrdj$1@ID-228056.news.uni-berlin.de

Elvin Peterson wrote:
 > Kevin Rodgers wrote:
 >> I don't see any difference in the behavior of read-file-name when DIR is
 >> an absolute vs. relative path.  If I type RET at the prompt, both of
 >> these forms return DIR:
 >>
 >> (read-file-name "Image File: " "images")
 >> (read-file-name "Image File: " "/images")
 >
 > Yes, the behavior is the same if you press RET.  However, it is
 > completely different for TAB completion, where the first one fails in
 > tha absence of the let workaround.

Ah, well you didn't mention completion in either of your 2 previous
posts.

It does seem to be a bug, that read-file-name signals an error when
insert-default-directory is non-nil and DIR is a relative file name, and
the user types TAB or ?.  So I'm cross-posting this to gnu.emacs.bug and
directing followups there.

-- 
Kevin Rodgers

  reply	other threads:[~2004-04-21 15:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <c62ci8$6ut3i$1@ID-228056.news.uni-berlin.de>
     [not found] ` <408557E8.3020903@yahoo.com>
     [not found]   ` <c63n4v$7kg0n$1@ID-228056.news.uni-berlin.de>
2004-04-20 21:15     ` read-file-name Kevin Rodgers
2004-04-21  3:43       ` read-file-name Elvin Peterson
2004-04-21 15:42         ` Kevin Rodgers [this message]
2004-04-22  0:35         ` read-file-name Thien-Thi Nguyen

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=mailman.751.1082565004.1061.bug-gnu-emacs@gnu.org \
    --to=ihs_4664@yahoo.com \
    /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.
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).