From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Bj=C3=B6rn?= Lindqvist Newsgroups: gmane.emacs.bugs Subject: bug#27589: Wrong documentation for .emacs lookup on Windows Date: Wed, 5 Jul 2017 18:16:21 +0200 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c06e9682ae2520553945212" X-Trace: blaine.gmane.org 1499271434 2305 195.159.176.226 (5 Jul 2017 16:17:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 5 Jul 2017 16:17:14 +0000 (UTC) To: 27589@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 05 18:17:10 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 1dSmzD-0000Ca-4V for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Jul 2017 18:17:07 +0200 Original-Received: from localhost ([::1]:47036 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSmzI-0004aB-93 for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Jul 2017 12:17:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53669) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSmzC-0004ZI-9v for bug-gnu-emacs@gnu.org; Wed, 05 Jul 2017 12:17:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dSmz8-0001xe-CW for bug-gnu-emacs@gnu.org; Wed, 05 Jul 2017 12:17:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50932) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dSmz8-0001xF-7Q for bug-gnu-emacs@gnu.org; Wed, 05 Jul 2017 12:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dSmz7-0002Bn-Iy for bug-gnu-emacs@gnu.org; Wed, 05 Jul 2017 12:17:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Bj=C3=B6rn?= Lindqvist Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Jul 2017 16:17:01 +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.14992713908371 (code B ref 27589); Wed, 05 Jul 2017 16:17:01 +0000 Original-Received: (at 27589) by debbugs.gnu.org; 5 Jul 2017 16:16:30 +0000 Original-Received: from localhost ([127.0.0.1]:53609 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dSmyc-0002Ax-0v for submit@debbugs.gnu.org; Wed, 05 Jul 2017 12:16:30 -0400 Original-Received: from mail-qk0-f171.google.com ([209.85.220.171]:33601) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dSmya-0002Aj-5g for 27589@debbugs.gnu.org; Wed, 05 Jul 2017 12:16:28 -0400 Original-Received: by mail-qk0-f171.google.com with SMTP id v143so109685692qkb.0 for <27589@debbugs.gnu.org>; Wed, 05 Jul 2017 09:16:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=k0PAb4RZxXxN2WwMVK61mlRolPMU9WjgdU110CwpHxA=; b=UhdStOX81zmSje7tmsFbysyFRxWDpXHu27EKTD3+GgzxsFf6YJqa55/YsJXc/SFpQZ ZrjrpP9sZWgTAeCb/pjWMIywmvQ/M7ffkmw9Tof0lPuL7mwk/Niv5GYwkJ1ruRxnAxqz 6PUU0xK6Rey23WLd/2zbXl4ij2M1yUTrLJ19e8HIIM6n3micEZHE5rhlyy9cxjcjs8VL lPInmLjGCsmolub34cLiqkijmXXsOZc//lR+rZfEzBe1VD3Xp5CYKZN4HAJ6lI8ZTQbC EEa0a0xZu+uIsQJtD5ctk/OZ7wVyp3gv/oiqd3/6l2t4iTF9LB+LKmMEeavKUovLjXBp QcXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=k0PAb4RZxXxN2WwMVK61mlRolPMU9WjgdU110CwpHxA=; b=KEFUwwezzEr27R+3zWOEJBepHq6UY8p2txjSH59tP9IBJ9tmkVK1AOZNEOvhZWpTkV jqceI4qNoX9TSaJ/4hiaZiRpqK4MOk9xtdsmb22552Ud7NZ8XDwHgZNdhpZz+/hbK77D vdWRahzJXHavqK98KpVaMKL6u+buaMFDTEKimi1wSlsnkLX3wZu/IZxTeZmR0/Wbg8g1 Q+unBNJRKtdtxPUX3cLv6MKuMXdCfVa/iUA3QQENjZzMZ2l9Dpl9EuZlDc/VtHmd6Jyt LI+ZuAB/oIJCwwZotbJ9QQUa3KzUCAXf/nMTYSZuP7Y6uHpwjVBvTSND4ApXTdIzGCsY I+YA== X-Gm-Message-State: AKS2vOzkslS+JnKF34deH2ga5aNzXf68bQKKZw+h1KZYm8DNeshLXCPj 7ynYe9/l4UJboCvHsCtlAPRzOyuFIEyZ X-Received: by 10.55.181.71 with SMTP id e68mr52651229qkf.91.1499271382359; Wed, 05 Jul 2017 09:16:22 -0700 (PDT) Original-Received: by 10.200.49.57 with HTTP; Wed, 5 Jul 2017 09:16:21 -0700 (PDT) In-Reply-To: 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:134212 Archived-At: --94eb2c06e9682ae2520553945212 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=C3=B6rn Lindqvist : > 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 you= r > 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=C3=B6rn Lindqvist > --=20 mvh/best regards Bj=C3=B6rn Lindqvist --94eb2c06e9682ae2520553945212 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Oops, forgot to mention version 24.5.1. Also if I try to o= pen the file "c:/Users/bjorn/AppData/Roaming/.emacs" something we= ird happens and Emacs redirects me to the file "c:/Users/bjorn/.emacs&= quot; instead.

2017-07-05 18:08 GMT+02:00 Bj=C3=B6rn Lindqvist <bjourne@gmail.com&= gt;:
Information = in these pages is incorrect:


In my case .emacs is at &q= uot;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 fil= e name is expanded to your HOME directory, so you can always find your .ema= cs 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=C3=B6rn Lindqvist=



--
mvh/best regards Bj= =C3=B6rn Lindqvist
--94eb2c06e9682ae2520553945212--