From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-15?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.devel Subject: Re: exec-path "/:" prefix; file-name-handler-*; start-process Date: Tue, 20 Aug 2002 10:55:00 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1029833781 19887 127.0.0.1 (20 Aug 2002 08:56:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 20 Aug 2002 08:56:21 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17h4oF-0005AY-00 for ; Tue, 20 Aug 2002 10:56:19 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17h5G5-00068g-00 for ; Tue, 20 Aug 2002 11:25:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17h4pK-0001qP-00; Tue, 20 Aug 2002 04:57:26 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17h4nB-0001nA-00 for emacs-devel@gnu.org; Tue, 20 Aug 2002 04:55:13 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17h4n8-0001ms-00 for emacs-devel@gnu.org; Tue, 20 Aug 2002 04:55:12 -0400 Original-Received: from waldorf.cs.uni-dortmund.de ([129.217.4.42]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17h4n8-0001mJ-00 for emacs-devel@gnu.org; Tue, 20 Aug 2002 04:55:10 -0400 Original-Received: from lothlorien.cs.uni-dortmund.de (lothlorien [129.217.19.67]) by waldorf.cs.uni-dortmund.de with ESMTP id g7K8t6b21913; Tue, 20 Aug 2002 10:55:06 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.19.80]) by lothlorien.cs.uni-dortmund.de id KAA11456; Tue, 20 Aug 2002 10:55:00 +0200 (MET DST) Original-Received: by lucy.cs.uni-dortmund.de (Postfix, from userid 6104) id 826583B1C6; Tue, 20 Aug 2002 10:55:00 +0200 (CEST) Original-To: Karl Chen In-Reply-To: (Karl Chen's message of "Tue, 20 Aug 2002 01:28:04 -0700 (PDT)") Original-Lines: 31 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:6672 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6672 Karl Chen writes: > Why does initializing `exec-path' need to prepend a "/:" to paths that > "would otherwise be treated as magic" ? > [emacs.c : decode_env_path (): > ... > tem = Ffind_file_name_handler (element, Qt); > if (! NILP (tem)) > element = concat2 (build_string ("/:"), element); > ... > ] > > All single-directory (single slash) paths in PATH such as /bin turn > into /:/bin. This may be the fault of sloppy regexes in > ange-ftp. Seems like a dirty hack, having to say "this is a normal > path." Just a random thought on this: it's clearly useful that Ange-FTP grabs filenames like these -- this enables user/host name completion. But now, Tramp takes over those files, and so in principle, one could require the user to use "/ftp:foo" filenames when user/host name completion is desired, so it might not be necessary anymore to have Ange-FTP (or Tramp) grab filenames like "/foo". I'm not sure what to do, though. kai -- A large number of young women don't trust men with beards. (BFBS Radio)