help-gnu-emacs
[Top][All Lists]
Advanced

[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"




reply via email to

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