emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#27589: closed (Wrong documentation for .emacs look


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#27589: closed (Wrong documentation for .emacs lookup on Windows)
Date: Sat, 08 Jul 2017 06:48:01 +0000

Your message dated Sat, 08 Jul 2017 09:47:29 +0300
with message-id <address@hidden>
and subject line Re: bug#27589: Wrong documentation for .emacs lookup on Windows
has caused the debbugs.gnu.org bug report #27589,
regarding Wrong documentation for .emacs lookup on Windows
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
27589: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27589
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Wrong documentation for .emacs lookup on Windows Date: Wed, 5 Jul 2017 18:08:23 +0200
Information in these pages is incorrect:

https://www.gnu.org/software/emacs/manual/html_node/emacs/Windows-HOME.html
https://www.gnu.org/software/emacs/manual/html_node/efaq-w32/Location-of-init-file.html

In my case .emacs is at "C:\Users\bjorn\AppData\Roaming\.emacs" Emacs does not set the value of the HOME variable to that location:

(getenv "HOME")
"C:\\Users\\bjorn"

And "Within Emacs, <~> at the beginning of a file name is expanded to your HOME directory, so you can always find your .emacs file by typing the command C-x C-f ~/.emacs." is therefore not true:

(expand-file-name "~/.emacs")
"c:/Users/bjorn/.emacs"


--
mvh/best regards Björn Lindqvist

--- End Message ---
--- Begin Message --- Subject: Re: bug#27589: Wrong documentation for .emacs lookup on Windows Date: Sat, 08 Jul 2017 09:47:29 +0300
> From: Björn Lindqvist <address@hidden>
> Date: Sat, 8 Jul 2017 00:09:26 +0200
> Cc: address@hidden
> 
> Sorry, this was a PEBKAC. I had used (setenv "HOME" (concat (getenv 
> "HOMEDRIVE") (getenv
> "HOMEPATH"))) to set the HOME environment variable from within emacs which I 
> now understand is a
> terrible idea.

Thanks, I'm therefore closing the bug report.


--- End Message ---

reply via email to

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