From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: open file listed in a text file Date: Tue, 09 Feb 2010 20:19:05 +0200 Message-ID: <837hqme0h2.fsf@gnu.org> References: <800bd9a9-0a03-4fc9-b395-328fbd835c93@l26g2000yqd.googlegroups.com> <21glsk9brxy5.fsf@gmail.com> <21glocjzrwii.fsf@gmail.com> <83aavjdp8o.fsf@gnu.org> <21glaavjdl9p.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1265739688 11713 80.91.229.12 (9 Feb 2010 18:21:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Feb 2010 18:21:28 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 09 19:21:26 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NeuiD-0004bj-Ct for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Feb 2010 19:21:26 +0100 Original-Received: from localhost ([127.0.0.1]:49210 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NeugG-0008Sg-VR for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Feb 2010 13:19:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Neufw-0008Rv-GF for help-gnu-emacs@gnu.org; Tue, 09 Feb 2010 13:19:04 -0500 Original-Received: from [199.232.76.173] (port=44568 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Neufw-0008Rn-6S for help-gnu-emacs@gnu.org; Tue, 09 Feb 2010 13:19:04 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Neufu-0002Z0-T9 for help-gnu-emacs@gnu.org; Tue, 09 Feb 2010 13:19:04 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:49388) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Neuft-0002Yq-Vx for help-gnu-emacs@gnu.org; Tue, 09 Feb 2010 13:19:02 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0KXL00F006T9TG00@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Tue, 09 Feb 2010 20:19:00 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.70.67.249]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KXL00DF66VLY860@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Tue, 09 Feb 2010 20:18:58 +0200 (IST) In-reply-to: <21glaavjdl9p.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:71769 Archived-At: > From: William Xu > Date: Tue, 09 Feb 2010 13:35:14 +0800 > > Eli Zaretskii writes: > > >> From: William Xu > >> 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"