From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: substitute-in-file-name and "$" Date: 07 Jul 2003 01:46:42 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <5xd6gnxlp9.fsf@kfs2.cua.dk> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1057528234 6532 80.91.224.249 (6 Jul 2003 21:50:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 6 Jul 2003 21:50:34 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Jul 06 23:50:33 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19ZHOz-0001hC-00 for ; Sun, 06 Jul 2003 23:50:33 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19ZHYX-0001sj-00 for ; Mon, 07 Jul 2003 00:00:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19ZHO6-0006Y9-0h for emacs-devel@quimby.gnus.org; Sun, 06 Jul 2003 17:49:38 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19ZHNi-0006M1-W2 for emacs-devel@gnu.org; Sun, 06 Jul 2003 17:49:14 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19ZHNM-0005kC-B6 for emacs-devel@gnu.org; Sun, 06 Jul 2003 17:48:53 -0400 Original-Received: from pfepb.post.tele.dk ([193.162.153.3]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19ZHNJ-0005c5-MC; Sun, 06 Jul 2003 17:48:49 -0400 Original-Received: from kfs2.cua.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepb.post.tele.dk (Postfix) with SMTP id E17B15EE1C1; Sun, 6 Jul 2003 23:48:44 +0200 (CEST) Original-To: rms@gnu.org In-Reply-To: Original-Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-cc: Michael Albinus X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15432 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15432 Richard Stallman writes: > What I'ld like to know: Is it a general rule, that > substitute-in-file-name can be called only once for a given file name? > > Yes, I think that is the idea. I will document that. > > Then it should be documented in the Elisp manual, and it is a bug in > PC-do-completion. Or is it a more general design problem? > > I think this is a bug in PC-do-completion. Would someone like > to fix it? I think ido could have similar problems related to completion (it must expand things like $DIR to be able to present the user with the possible completions in that directory). How do you suggest it is fixed? I see only one possibility -- perform the substitution to make the completion list, but don't substitute it in the actual file-name read (as it does now). Is that the correct approach? -- Kim F. Storm http://www.cua.dk