[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: file-name-shadow-mode
From: |
David Kastrup |
Subject: |
Re: file-name-shadow-mode |
Date: |
Sun, 20 Mar 2005 19:47:30 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Luc Teirlinck <address@hidden> writes:
> Richard Stallman wrote:
>
> [I think it's probably possible to fix this -- e.g., by generating a
> regexp of all non-absolute environment variables and glomming it onto
> the rexexp used for filenames. But my basic point is that it scarcely
> matters.]
>
> Could you try fixing it that way?
>
> It would probably be a lot better to do the complement: look for all
> environment variables whose value starts with / or ~. Emacs
> supports file names that start with $ if the $ is not followed by an
> environment variable, or if the $ is doubled up. I may be
> overlooking something obvious, but is therE a reason not to use
> `getenv'?
The more robust solution would probably be to see what happens when
using substitute-in-file-name on the substring starting with $, and
see whether the result is an absolute file name.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- Re: file-name-shadow-mode, (continued)
- Re: file-name-shadow-mode, Luc Teirlinck, 2005/03/20
- Re: file-name-shadow-mode, Luc Teirlinck, 2005/03/20
- Re: file-name-shadow-mode, Luc Teirlinck, 2005/03/19
- Re: file-name-shadow-mode, Miles Bader, 2005/03/19
- Re: file-name-shadow-mode, David Kastrup, 2005/03/19
- Re: file-name-shadow-mode, Luc Teirlinck, 2005/03/20
- Re: file-name-shadow-mode, David Kastrup, 2005/03/20
- Re: file-name-shadow-mode, Richard Stallman, 2005/03/20
- Re: file-name-shadow-mode, Richard Stallman, 2005/03/20
- Re: file-name-shadow-mode, Luc Teirlinck, 2005/03/20
- Re: file-name-shadow-mode,
David Kastrup <=
- Re: file-name-shadow-mode, Luc Teirlinck, 2005/03/20
- Re: file-name-shadow-mode, Luc Teirlinck, 2005/03/20
- Re: file-name-shadow-mode, Stefan Monnier, 2005/03/21
- Re: file-name-shadow-mode, Luc Teirlinck, 2005/03/21
- Re: file-name-shadow-mode, Stefan Monnier, 2005/03/21
- Re: file-name-shadow-mode, Richard Stallman, 2005/03/22
- Re: file-name-shadow-mode, Stefan Monnier, 2005/03/28
- Re: file-name-shadow-mode, Stefan Monnier, 2005/03/21
- Re: file-name-shadow-mode, David Kastrup, 2005/03/21
- Re: file-name-shadow-mode, Stefan Monnier, 2005/03/21