From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.help Subject: Re: read-file-name Date: 22 Apr 2004 02:35:56 +0200 Organization: sometimes Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <7e3c6wu9w3.fsf@ada2.unipv.it> 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 X-Trace: sea.gmane.org 1082595575 10588 80.91.224.253 (22 Apr 2004 00:59:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Apr 2004 00:59:35 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 22 02:59:26 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 1BGSYo-0007Is-00 for ; Thu, 22 Apr 2004 02:59:26 +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 1BGSMU-0002E5-Vi for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Apr 2004 20:46:42 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: ada2.unipv.it Original-X-Trace: quimby.gnus.org 1082594155 20335 193.204.44.145 (22 Apr 2004 00:35:55 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Thu, 22 Apr 2004 00:35:55 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-Xref: shelby.stanford.edu gnu.emacs.help:122546 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list 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:17833 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17833 Elvin Peterson writes: > I have done that, although it only seems to make a difference for VMS. filename completion behavior under vms depends on emacs version. historically, that piece of code was developed apart from the unixoid filename completion code, the rationale probably being that less gray hairs would thus be produced. well, now we have all these colorful dyes[1] so it turns out the best hair to play w/ is the gray kind, i.e., the well-aged and better-maintained mainstream codebase. fwiw, for the work-in-progress emacs 21.x port[2], which re-integrates the filename completion implementations (albeit imperfectly due to axiomatic differences), i believe you can coax analogous behavior under both unix and vms for the non-nested RELDIR case by using the construct: (read-file-name PROMPT (expand-file-name RELDIR)) you can also try fiddling w/ the rest of the `read-file-name' args, to override the (heuristic, fallable, unix-assuming) defaults. thi _________________________________________________________ [1] such as handlers triggering on stylized filenames, filenames w/ non-ASCII chars, etc. [2] http://www.emacswiki.org/cgi-bin/wiki/EmacsOnVMS