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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About HOME in OS X


From: Barry Margolin
Subject: Re: About HOME in OS X
Date: Tue, 11 Jun 2013 13:20:54 -0400
User-agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)

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 ***


reply via email to

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