[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: open file listed in a text file
From: |
Eli Zaretskii |
Subject: |
Re: open file listed in a text file |
Date: |
Tue, 09 Feb 2010 20:19:05 +0200 |
> From: William Xu <william.xwl@gmail.com>
> Date: Tue, 09 Feb 2010 13:35:14 +0800
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> From: William Xu <william.xwl@gmail.com>
> >> Date: Tue, 09 Feb 2010 10:08:37 +0800
> >>
> >> Except both emacs & vim don't recognize environment variable on
> >> Windows XP.
> >
> > How do you see that?
>
> On Windows XP, I tried `ffap' with:
> %HOME%/.emacs.d
>
> which i assume is similar to: (in GNU/Linux)
> $HOME/.emacs.d
>
> ffap could open the path successfully on GNU/Linux.
>
> While it looks like on Windows XP, ffap also understands $HOME, but not
> %HOME%.
That's by design: Emacs supports the $FOO notation on all platforms,
and does not support DOS/Windows-specific %FOO% syntax. Here's an
example:
(substitute-in-file-name "$ComSpec") => "C:\\WINDOWS\\system32\\cmd.exe"
- open file listed in a text file, Chitlesh Goorah, 2010/02/08
- Re: open file listed in a text file, José A . Romero L ., 2010/02/07
- Re: open file listed in a text file, Chitlesh Goorah, 2010/02/08
- Re: open file listed in a text file, Barry Margolin, 2010/02/07
- Re: open file listed in a text file, William Xu, 2010/02/08
- Re: open file listed in a text file, William Xu, 2010/02/08
- Re: open file listed in a text file, Lennart Borgman, 2010/02/08
- Re: open file listed in a text file, Eli Zaretskii, 2010/02/08
- Re: open file listed in a text file, William Xu, 2010/02/09
- Re: open file listed in a text file,
Eli Zaretskii <=
- Re: open file listed in a text file, Jorgen Grahn, 2010/02/09
- Message not available
- Re: open file listed in a text file, Chitlesh Goorah, 2010/02/09
- Re: open file listed in a text file, Suvayu Ali, 2010/02/09
- Re: open file listed in a text file, Andreas Politz, 2010/02/10
- Message not available
- Re: open file listed in a text file, Chitlesh Goorah, 2010/02/11
- Re: open file listed in a text file, Suvayu Ali, 2010/02/11
- Re: open file listed in a text file, Suvayu Ali, 2010/02/11
- RE: open file listed in a text file, Drew Adams, 2010/02/11