From: Andreas Politz <politza@fh-trier.de>
To: help-gnu-emacs@gnu.org
Subject: Re: open file listed in a text file
Date: Wed, 10 Feb 2010 12:03:56 +0100 [thread overview]
Message-ID: <876365qrmr.fsf@fh-trier.de> (raw)
In-Reply-To: 81f0a13d-d1b7-418e-95c4-51462b45fb69@f8g2000yqn.googlegroups.com
Chitlesh Goorah <chitlesh@gmail.com> writes:
> On Feb 9, 2:37 am, William Xu <william....@gmail.com> 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}
-ap
next prev parent reply other threads:[~2010-02-10 11:03 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-07 13:34 open file listed in a text file Chitlesh Goorah
2010-02-07 14:38 ` José A. Romero L.
2010-02-07 22:09 ` Chitlesh Goorah
2010-02-08 2:57 ` Barry Margolin
2010-02-08 12:22 ` Jorgen Grahn
2010-02-09 1:37 ` William Xu
2010-02-09 2:08 ` William Xu
2010-02-09 2:26 ` Lennart Borgman
2010-02-09 4:09 ` Eli Zaretskii
2010-02-09 5:35 ` William Xu
2010-02-09 18:19 ` Eli Zaretskii
[not found] ` <mailman.889.1265679652.14305.help-gnu-emacs@gnu.org>
2010-02-09 21:02 ` Chitlesh Goorah
2010-02-09 23:01 ` Suvayu Ali
2010-02-10 11:03 ` Andreas Politz [this message]
[not found] ` <mailman.959.1265756505.14305.help-gnu-emacs@gnu.org>
2010-02-11 8:04 ` Chitlesh Goorah
2010-02-11 9:21 ` Suvayu Ali
2010-02-11 9:31 ` Suvayu Ali
2010-02-11 16:09 ` Drew Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=876365qrmr.fsf@fh-trier.de \
--to=politza@fh-trier.de \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.