From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: read-file-name Date: Wed, 21 Apr 2004 09:42:15 -0600 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <408557E8.3020903@yahoo.com> <408592EB.6020901@yahoo.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1082565156 7245 80.91.224.253 (21 Apr 2004 16:32:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Apr 2004 16:32:36 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 21 18:32:31 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BGKeE-0006aI-00 for ; Wed, 21 Apr 2004 18:32:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BGKdM-0003ot-N3 for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Apr 2004 12:31:36 -0400 Original-Path: shelby.stanford.edu!170.207.51.80!not-for-mail Original-Newsgroups: gnu.emacs.help,gnu.emacs.bug Original-Followup-To: gnu.emacs.bug Original-Lines: 26 Original-NNTP-Posting-Host: monty-python.gnu.org Original-X-Trace: news.Stanford.EDU 1082565004 14988 199.232.76.173 (21 Apr 2004 16:30:04 GMT) Original-X-Complaints-To: news@news.stanford.edu X-Orig-NNTP-Posting-Host: 170.207.51.80 X-Orig-X-Trace: news.uni-berlin.de 1082562129 8822311 I 170.207.51.80 ([82742]) User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list Original-Xref: shelby.stanford.edu gnu.emacs.help:122533 gnu.emacs.bug:35188 X-Originally-To: gnu-emacs-bug@moderators.isc.org Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:17820 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17820 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