From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#27589: Wrong documentation for .emacs lookup on Windows Date: Wed, 05 Jul 2017 20:10:06 +0300 Message-ID: <83zicin72p.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1499274674 12724 195.159.176.226 (5 Jul 2017 17:11:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 5 Jul 2017 17:11:14 +0000 (UTC) Cc: 27589@debbugs.gnu.org To: =?UTF-8?Q?Bj=C3=B6rn?= Lindqvist Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 05 19:11:09 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dSnpU-00031O-El for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Jul 2017 19:11:08 +0200 Original-Received: from localhost ([::1]:47255 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSnpZ-0002Ie-VQ for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Jul 2017 13:11:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40135) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSnpT-0002IN-RA for bug-gnu-emacs@gnu.org; Wed, 05 Jul 2017 13:11:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dSnpO-0001JR-Gs for bug-gnu-emacs@gnu.org; Wed, 05 Jul 2017 13:11:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50975) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dSnpO-0001JH-DA for bug-gnu-emacs@gnu.org; Wed, 05 Jul 2017 13:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dSnpO-0005G0-88 for bug-gnu-emacs@gnu.org; Wed, 05 Jul 2017 13:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Jul 2017 17:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27589 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27589-submit@debbugs.gnu.org id=B27589.149927463420171 (code B ref 27589); Wed, 05 Jul 2017 17:11:02 +0000 Original-Received: (at 27589) by debbugs.gnu.org; 5 Jul 2017 17:10:34 +0000 Original-Received: from localhost ([127.0.0.1]:53652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dSnow-0005FG-8w for submit@debbugs.gnu.org; Wed, 05 Jul 2017 13:10:34 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48999) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dSnou-0005F4-Pp for 27589@debbugs.gnu.org; Wed, 05 Jul 2017 13:10:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dSnok-0000kZ-Q2 for 27589@debbugs.gnu.org; Wed, 05 Jul 2017 13:10:27 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36806) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSnok-0000kU-Nb; Wed, 05 Jul 2017 13:10:22 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2853 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dSnok-0007P5-1L; Wed, 05 Jul 2017 13:10:22 -0400 In-reply-to: (message from =?UTF-8?Q?Bj=C3=B6rn?= Lindqvist on Wed, 5 Jul 2017 18:08:23 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:134213 Archived-At: > From: Björn Lindqvist > 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?