all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: open file listed in a text file
Date: Tue, 09 Feb 2010 20:19:05 +0200	[thread overview]
Message-ID: <837hqme0h2.fsf@gnu.org> (raw)
In-Reply-To: <21glaavjdl9p.fsf@gmail.com>

> 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	other threads:[~2010-02-09 18:19 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 [this message]
     [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
     [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=837hqme0h2.fsf@gnu.org \
    --to=eliz@gnu.org \
    --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.