From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 01 14:46:31 2016 Received: (at submit) by debbugs.gnu.org; 1 Mar 2016 19:46:31 +0000 Received: from localhost ([127.0.0.1]:56711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaqFb-0006KJ-2X for submit@debbugs.gnu.org; Tue, 01 Mar 2016 14:46:31 -0500 Received: from eggs.gnu.org ([208.118.235.92]:45792) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaq8A-00067M-H4 for submit@debbugs.gnu.org; Tue, 01 Mar 2016 14:38:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaq83-0002sF-Rs for submit@debbugs.gnu.org; Tue, 01 Mar 2016 14:38:45 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,HTML_MESSAGE autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:45439) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaq83-0002sA-PB for submit@debbugs.gnu.org; Tue, 01 Mar 2016 14:38:43 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36741) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaq82-0003a5-EX for bug-gnu-emacs@gnu.org; Tue, 01 Mar 2016 14:38:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaq7z-0002qw-Jp for bug-gnu-emacs@gnu.org; Tue, 01 Mar 2016 14:38:42 -0500 Received: from mx02.haw-landshut.de ([193.175.141.22]:46985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaq7z-0002pa-AA for bug-gnu-emacs@gnu.org; Tue, 01 Mar 2016 14:38:39 -0500 Received: from xmail.fh-landshut.de (dbs1.fhl-rz-win.fh-landshut.de [193.175.141.124]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.haw-landshut.de (Postfix) with ESMTPS id DD2C7603D3 for ; Tue, 1 Mar 2016 20:38:33 +0100 (CET) Received: from DBS0.fhl-rz-win.fh-landshut.de ([fe80::d80:4a5a:c00c:1ec5]) by dbs1.fhl-rz-win.fh-landshut.de ([fe80::1c5b:d271:d077:21df%14]) with mapi id 14.03.0279.002; Tue, 1 Mar 2016 20:38:19 +0100 From: Studt Reimer To: "bug-gnu-emacs@gnu.org" Subject: 24.5; HOME-variable not resolve in Win7 Thread-Topic: 24.5; HOME-variable not resolve in Win7 Thread-Index: AdFz8ZzCFjn+NZyXSU6oyFQvOBR1yw== Date: Tue, 1 Mar 2016 19:38:18 +0000 Message-ID: Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [193.175.141.111] Content-Type: multipart/alternative; boundary="_000_BD906646372EDB43B738A3C508EA29C87AF32F7Edbs0fhlrzwinfhl_" MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 01 Mar 2016 14:46:29 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --_000_BD906646372EDB43B738A3C508EA29C87AF32F7Edbs0fhlrzwinfhl_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On start-up of emacs, the .emacs file could not be loaded, because emacs resolved the Windows HOME variable to *exactly* how it was defined. That was the text %HOMEDRIVE%%HOMEPATH%. Emacs could not resolve these two variables. The workaround for me was to manually change the HOME variable to the absolute path (and to resolve the two variables %HOMEDRIVE%= and %HOMEPATH% and restart windows. In GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570 Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=3D/c/usr --host=3Di686-pc-mingw32' Important settings: value of $LANG: DEU locale-coding-system: cp1252 Major mode: Fundamental Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process w32notify w32 multi-tty emacs) Memory information: ((conses 8 75908 6759) (symbols 32 17433 0) (miscs 32 73 127) (strings 16 10713 4029) (string-bytes 1 279807) (vectors 8 8926) (vector-slots 4 382520 5128) (floats 8 56 203) (intervals 28 246 36) (buffers 508 13)) --_000_BD906646372EDB43B738A3C508EA29C87AF32F7Edbs0fhlrzwinfhl_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

 

On start-up of emacs, the .emacs file could not be l= oaded, because emacs

resolved the Windows HOME variable to *exactly* how = it was defined. That

was the text %HOMEDRIVE%%HOMEPATH%. Emacs could not = resolve these two

variables. The workaround for me was to manually cha= nge the HOME

variable to the absolute path (and to resolve the tw= o variables %HOMEDRIVE% and %HOMEPATH% and restart windows.

 

 

 

In GNU Emacs 24.5.1 (i686-pc-mingw32)

of 2015-04-11 on LEG570

Windowing system distributor `Microsoft Corp.', vers= ion 6.1.7601

Configured using:

`configure --prefix=3D/c/usr --host=3Di686-pc-mingw3= 2'

 

Important settings:

  value of $LANG: DEU

  locale-coding-system: cp1252

 

Major mode: Fundamental

 

Minor modes in effect:

  tooltip-mode: t

  electric-indent-mode: t

  mouse-wheel-mode: t

  tool-bar-mode: t

  menu-bar-mode: t

  file-name-shadow-mode: t

  global-font-lock-mode: t

  blink-cursor-mode: t

  auto-composition-mode: t

  auto-encryption-mode: t

  auto-compression-mode: t

  buffer-read-only: t

  line-number-mode: t

  transient-mark-mode: t

 

Recent messages:

For information about GNU Emacs and the GNU system, = type C-h C-a.

 

Load-path shadows:

None found.

 

Features:

(shadow sort gnus-util mail-extr emacsbug message fo= rmat-spec rfc822 mml

easymenu mml-sec mm-decode mm-bodies mm-encode mail-= parse rfc2231

mailabbrev gmm-utils mailheader sendmail rfc2047 rfc= 2045 ietf-drums

mm-util help-fns mail-prsvr mail-utils time-date too= ltip electric

uniquify ediff-hook vc-hooks lisp-float-type mwheel = dos-w32 ls-lisp

w32-common-fns disp-table w32-win w32-vars tool-bar = dnd fontset image

regexp-opt fringe tabulated-list newcomment lisp-mod= e prog-mode register

page menu-bar rfn-eshadow timer select scroll-bar mo= use jit-lock

font-lock syntax facemenu font-core frame cham georg= ian utf-8-lang

misc-lang vietnamese tibetan thai tai-viet lao korea= n japanese hebrew

greek romanian slovak czech european ethiopic indian= cyrillic chinese

case-table epa-hook jka-cmpr-hook help simple abbrev= minibuffer nadvice

loaddefs button faces cus-face macroexp files text-p= roperties overlay

sha1 md5 base64 format env code-pages mule custom wi= dget

hashtable-print-readable backquote make-network-proc= ess w32notify w32

multi-tty emacs)

 

Memory information:

((conses 8 75908 6759)

(symbols 32 17433 0)

(miscs 32 73 127)

(strings 16 10713 4029)

(string-bytes 1 279807)

(vectors 8 8926)

(vector-slots 4 382520 5128)

(floats 8 56 203)

(intervals 28 246 36)

(buffers 508 13))

--_000_BD906646372EDB43B738A3C508EA29C87AF32F7Edbs0fhlrzwinfhl_-- From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 01 15:22:37 2016 Received: (at 22875) by debbugs.gnu.org; 1 Mar 2016 20:22:37 +0000 Received: from localhost ([127.0.0.1]:56721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaqoT-0007F8-5L for submit@debbugs.gnu.org; Tue, 01 Mar 2016 15:22:37 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56354) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aaqoR-0007Eu-0N for 22875@debbugs.gnu.org; Tue, 01 Mar 2016 15:22:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaqoC-0005vO-4m for 22875@debbugs.gnu.org; Tue, 01 Mar 2016 15:22:25 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40368) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaqoC-0005vE-2Q; Tue, 01 Mar 2016 15:22:16 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2534 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aaqoB-0003kQ-8N; Tue, 01 Mar 2016 15:22:15 -0500 Date: Tue, 01 Mar 2016 22:22:05 +0200 Message-Id: <837fhm6j9u.fsf@gnu.org> From: Eli Zaretskii To: Studt Reimer In-reply-to: (message from Studt Reimer on Tue, 1 Mar 2016 19:38:18 +0000) Subject: Re: bug#22875: 24.5; HOME-variable not resolve in Win7 References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 22875 Cc: 22875@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Studt Reimer > Date: Tue, 1 Mar 2016 19:38:18 +0000 > > On start-up of emacs, the .emacs file could not be loaded, because emacs > resolved the Windows HOME variable to *exactly* how it was defined. That > was the text %HOMEDRIVE%%HOMEPATH%. Emacs could not resolve these two > variables. The feature you expected is not supported. Environment variables are only expanded at startup if they are found in the Registry, not in the shell's environment. How did you define such a value for an environment variable? If I try defining HOME=%HOMEDRIVE%%HOMEPATH% from the cmd prompt, cmd expands the 2 variables, and the same if I defined HOME from the Computer's Properties' "Advanced" tab. So I'm not sure how you get into this situation. Can you explain? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 07 15:39:57 2016 Received: (at 22875-done) by debbugs.gnu.org; 7 Dec 2016 20:39:57 +0000 Received: from localhost ([127.0.0.1]:60279 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEj0P-00043U-Id for submit@debbugs.gnu.org; Wed, 07 Dec 2016 15:39:57 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48246) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEj0O-00043H-C6 for 22875-done@debbugs.gnu.org; Wed, 07 Dec 2016 15:39:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cEj0I-0006Z0-Nk for 22875-done@debbugs.gnu.org; Wed, 07 Dec 2016 15:39:51 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56550) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEj0I-0006Yw-K7 for 22875-done@debbugs.gnu.org; Wed, 07 Dec 2016 15:39:50 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cEj0I-0004k7-6C; Wed, 07 Dec 2016 15:39:50 -0500 From: Glenn Morris To: 22875-done@debbugs.gnu.org Subject: Re: bug#22875: 24.5; HOME-variable not resolve in Win7 References: <837fhm6j9u.fsf@gnu.org> X-Spook: LLNL Contamination hackers Echelon Nationalist UNSCOM X-Ran: 5,1^'^_V|u8O`B%&Vs.RMG'%9YOPTikm'so{H#ugX[.V;.aDCf~D;2s![BB8YC65Z\,1%+ X-Hue: magenta X-Attribution: GM Date: Wed, 07 Dec 2016 15:39:50 -0500 In-Reply-To: <837fhm6j9u.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 01 Mar 2016 22:22:05 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.0 (--------) X-Debbugs-Envelope-To: 22875-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.0 (--------) Eli Zaretskii wrote: > The feature you expected is not supported. Environment variables are > only expanded at startup if they are found in the Registry, not in the > shell's environment. > > How did you define such a value for an environment variable? If I try > defining HOME=%HOMEDRIVE%%HOMEPATH% from the cmd prompt, cmd expands > the 2 variables, and the same if I defined HOME from the Computer's > Properties' "Advanced" tab. So I'm not sure how you get into this > situation. Can you explain? No response in months, closing. From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 07 15:40:07 2016 Received: (at control) by debbugs.gnu.org; 7 Dec 2016 20:40:07 +0000 Received: from localhost ([127.0.0.1]:60288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEj0Y-00044w-Np for submit@debbugs.gnu.org; Wed, 07 Dec 2016 15:40:06 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48253) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEj0X-00043d-Jo for control@debbugs.gnu.org; Wed, 07 Dec 2016 15:40:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cEj0R-0006ad-4N for control@debbugs.gnu.org; Wed, 07 Dec 2016 15:40:00 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56551) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cEj0R-0006aZ-1E for control@debbugs.gnu.org; Wed, 07 Dec 2016 15:39:59 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cEj0Q-0004kU-OA for control@debbugs.gnu.org; Wed, 07 Dec 2016 15:39:58 -0500 Subject: control message for bug 22875 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Wed, 07 Dec 2016 15:39:58 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.0 (--------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.0 (--------) tag 22875 + wontfix From unknown Fri Sep 19 08:37:10 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 05 Jan 2017 12:24:14 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator