[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: exec-path "/:" prefix; file-name-handler-*; start-process
From: |
Kai Großjohann |
Subject: |
Re: exec-path "/:" prefix; file-name-handler-*; start-process |
Date: |
Tue, 20 Aug 2002 10:55:00 +0200 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) |
Karl Chen <address@hidden> 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)