all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#27589: Wrong documentation for .emacs lookup on Windows
@ 2017-07-05 16:08 Björn Lindqvist
  2017-07-05 16:16 ` Björn Lindqvist
  2017-07-05 17:10 ` Eli Zaretskii
  0 siblings, 2 replies; 5+ messages in thread
From: Björn Lindqvist @ 2017-07-05 16:08 UTC (permalink / raw
  To: 27589

[-- Attachment #1: Type: text/plain, Size: 687 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-07-08  6:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-05 16:08 bug#27589: Wrong documentation for .emacs lookup on Windows Björn Lindqvist
2017-07-05 16:16 ` Björn Lindqvist
2017-07-05 17:10 ` Eli Zaretskii
2017-07-07 22:09   ` Björn Lindqvist
2017-07-08  6:47     ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.