all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Björn Lindqvist" <bjourne@gmail.com>
Cc: 27589@debbugs.gnu.org
Subject: bug#27589: Wrong documentation for .emacs lookup on Windows
Date: Wed, 05 Jul 2017 20:10:06 +0300	[thread overview]
Message-ID: <83zicin72p.fsf@gnu.org> (raw)
In-Reply-To: <CALG+76de-0BTLyzmNPhWT0hmPF0Se1MBesZmUhDf8YZmsET6Eg@mail.gmail.com> (message from Björn Lindqvist on Wed, 5 Jul 2017 18:08:23 +0200)

> From: Björn Lindqvist <bjourne@gmail.com>
> 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"

The information in the manual is correct, I just verified it both in
Emacs 24.5 and 25.  The problems that you see are most probably due to
some local issue on your system, like ownership of directories or some
environment variable.

And btw, what version of Windows is that?  And how are you invoking
Emacs? from some shell prompt, from a desktop shortcut, from a
task-bar shortcut, or some other way?





  parent reply	other threads:[~2017-07-05 17:10 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
2017-07-05 17:10 ` Eli Zaretskii [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83zicin72p.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=27589@debbugs.gnu.org \
    --cc=bjourne@gmail.com \
    /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 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.