[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: open file listed in a text file

From: Andreas Politz
Subject: Re: open file listed in a text file
Date: Wed, 10 Feb 2010 12:03:56 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Chitlesh Goorah <address@hidden> writes:

> On Feb 9, 2:37 am, William Xu <address@hidden> wrote:
>> It seems that his file path includes an environment variable:
>>   $(SCRIPTS_HOME)/definitions.tcl
>> Vim is smart...  An elisp function may be needed to achieve that.  
> I have full control over the env variable. Imagine it is set with a
> sort of cshrc file.
> I just learnt that even nedit can open that file with Ctrl-Y. Surely
> emacs must have an equivalent.
> Chitlesh

Maybe you could use an before advice on the function
`substitute-in-file-name', that transforms the variables into a format
which the function understands.

%FOO%,$(FOO) -> ${FOO}


reply via email to

[Prev in Thread] Current Thread [Next in Thread]