From: Xue Fuqiao <xfq.free@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: About HOME in OS X
Date: Tue, 11 Jun 2013 19:27:46 +0800 [thread overview]
Message-ID: <CAAF+z6FzfzzfgYCksSB2kybPE1fx+8Mr8Jn5GrbBOEkjExH=9g@mail.gmail.com> (raw)
In-Reply-To: <CAAF+z6EszkKYP5oUtjbFCV9tK+wTTgc+h=sTRYYggVXzkedeiA@mail.gmail.com>
On Tue, Jun 11, 2013 at 7:22 PM, Xue Fuqiao <xfq.free@gmail.com> wrote:
> Hi list,
>
> On my system (OS X 10.8.4):
>
> ELISP> (getenv "HOME")
> "/Users/xfq"
> ELISP> (expand-file-name "$HOME/foo")
> "/Users/xfq/emacs-repo/bzr/trunk/nextstep/Emacs.app/Contents/MacOS/$HOME/foo"
>
> I'm confused here. Why don't the result of two evaluations be the same?
Hmm... The following expression works properly:
(expand-file-name (substitute-in-file-name "$HOME/foo"))
--
Best regards, Xue Fuqiao.
next prev parent reply other threads:[~2013-06-11 11:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-11 11:22 About HOME in OS X Xue Fuqiao
2013-06-11 11:27 ` Xue Fuqiao [this message]
2013-06-11 15:53 ` Eli Zaretskii
[not found] ` <mailman.1403.1370966034.22516.help-gnu-emacs@gnu.org>
2013-06-11 16:45 ` Barry Margolin
2013-06-11 17:05 ` Peter Dyballa
[not found] ` <mailman.1410.1370970844.22516.help-gnu-emacs@gnu.org>
2013-06-11 17:20 ` Barry Margolin
2013-06-11 21:38 ` Peter Dyballa
2013-06-11 20:25 ` Thien-Thi Nguyen
2013-06-11 11:30 ` Kevin Montuori
2013-06-11 15:13 ` Peter Dyballa
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAAF+z6FzfzzfgYCksSB2kybPE1fx+8Mr8Jn5GrbBOEkjExH=9g@mail.gmail.com' \
--to=xfq.free@gmail.com \
--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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).