GNU bug report logs - #27589
Wrong documentation for .emacs lookup on Windows

Previous Next

Package: emacs;

Reported by: Björn Lindqvist <bjourne <at> gmail.com>

Date: Wed, 5 Jul 2017 16:09:01 UTC

Severity: minor

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 27589 <at> debbugs.gnu.org (full text, mbox):

From: Björn Lindqvist <bjourne <at> gmail.com>
To: 27589 <at> debbugs.gnu.org
Subject: Re: bug#27589: Wrong documentation for .emacs lookup on Windows
Date: Wed, 5 Jul 2017 18:16:21 +0200
[Message part 1 (text/plain, inline)]
Oops, forgot to mention version 24.5.1. Also if I try to open the file
"c:/Users/bjorn/AppData/Roaming/.emacs" something weird happens and Emacs
redirects me to the file "c:/Users/bjorn/.emacs" instead.

2017-07-05 18:08 GMT+02:00 Björn Lindqvist <bjourne <at> gmail.com>:

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



-- 
mvh/best regards Björn Lindqvist
[Message part 2 (text/html, inline)]

This bug report was last modified 8 years and 13 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.