From: Barry Margolin <barmar@alum.mit.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: About HOME in OS X
Date: Tue, 11 Jun 2013 13:20:54 -0400 [thread overview]
Message-ID: <barmar-5325F9.13205411062013@news.eternal-september.org> (raw)
In-Reply-To: mailman.1410.1370970844.22516.help-gnu-emacs@gnu.org
In article <mailman.1410.1370970844.22516.help-gnu-emacs@gnu.org>,
Peter Dyballa <Peter_Dyballa@Web.DE> wrote:
> Am 11.06.2013 um 18:45 schrieb Barry Margolin:
>
> > "$HOME/foo" is a relative path
>
> $HOME is a variable that holds an *absolute* path. (It starts with "/", the
> root of the file system.)
But you carefully snipped the part where I pointed out that
expand-file-name doesn't do variable substitution. So it's not a
variable, it's a relative pathname that begins with the literal string
"$HOME". That's why the result ends with "$HOME/foo" -- nothing was
substituted.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
next prev parent reply other threads:[~2013-06-11 17:20 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
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 [this message]
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=barmar-5325F9.13205411062013@news.eternal-september.org \
--to=barmar@alum.mit.edu \
--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).