From: "Björn Lindqvist" <bjourne@gmail.com>
To: 27589@debbugs.gnu.org
Subject: bug#27589: Wrong documentation for .emacs lookup on Windows
Date: Wed, 5 Jul 2017 18:16:21 +0200 [thread overview]
Message-ID: <CALG+76cUdVs6wi3wq2hFuCvQTTL7Dsn2bM9vr7Ub_yw2FQf3Ng@mail.gmail.com> (raw)
In-Reply-To: <CALG+76de-0BTLyzmNPhWT0hmPF0Se1MBesZmUhDf8YZmsET6Eg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1054 bytes --]
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@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
[-- Attachment #2: Type: text/html, Size: 2051 bytes --]
next prev parent reply other threads:[~2017-07-05 16:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2017-07-05 17:10 ` Eli Zaretskii
2017-07-07 22:09 ` Björn Lindqvist
2017-07-08 6:47 ` Eli Zaretskii
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=CALG+76cUdVs6wi3wq2hFuCvQTTL7Dsn2bM9vr7Ub_yw2FQf3Ng@mail.gmail.com \
--to=bjourne@gmail.com \
--cc=27589@debbugs.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).