From unknown Sun Jun 22 11:42:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30755: 25.3; Encoding of load-file-name wrong when path to working dir does not contain accented letter Resent-From: =?UTF-8?Q?M=C3=A1rton?= Marczell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Mar 2018 11:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 30755 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 30755@debbugs.gnu.org X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.152059454528718 (code B ref -1); Fri, 09 Mar 2018 11:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Mar 2018 11:22:25 +0000 Received: from localhost ([127.0.0.1]:51769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euG6S-0007T8-N2 for submit@debbugs.gnu.org; Fri, 09 Mar 2018 06:22:25 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euG6Q-0007Ss-L0 for submit@debbugs.gnu.org; Fri, 09 Mar 2018 06:22:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1euG6J-0001Qg-Ti for submit@debbugs.gnu.org; Fri, 09 Mar 2018 06:22:17 -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,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55078) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1euG6J-0001Qc-Ou for submit@debbugs.gnu.org; Fri, 09 Mar 2018 06:22:15 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47138) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1euG6H-0007MH-Tz for bug-gnu-emacs@gnu.org; Fri, 09 Mar 2018 06:22:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1euG6E-0001Ps-LM for bug-gnu-emacs@gnu.org; Fri, 09 Mar 2018 06:22:13 -0500 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]:38857) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1euG6E-0001PU-AD for bug-gnu-emacs@gnu.org; Fri, 09 Mar 2018 06:22:10 -0500 Received: by mail-wm0-x22e.google.com with SMTP id z9so3247362wmb.3 for ; Fri, 09 Mar 2018 03:22:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:mime-version:to:from:subject:date:importance; bh=IFHI7Le2NNY9LyOaa0CpgkQPqFeArnYUU/hkeaaIJAs=; b=A+OKa2HleBz/4q9+4zcekWZlK4KU4eR4Hzd6ZDXSYql6wjAyhled7L4i1qdyHQLRML 5Pm/4otq9Ql/o3SoHEQsbaKH2iz+3SsDFk49UPZJf266V2QXeLn1QBzHBQGD0tFJ19Qx 8Z4XgnQHg1mRtQadCgDZNNPYPAH+Crs2s2KRpNPJs06Nka9etiaDYQI0L/BFjsHW1Uo4 0ocCEVnNApgX1OMlZLgOTY6GcWEs+KpkGuuasr8ffnFvMuGTrOCm1P0osXGwEfJw9KPa Lc4xOdnpLAvvIriyMzthpaadvhSI5SVHemNs68lLo/z9KoWsBYDtWow62tNECpMPRqEQ kysQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version:to:from:subject:date :importance; bh=IFHI7Le2NNY9LyOaa0CpgkQPqFeArnYUU/hkeaaIJAs=; b=WsX76iUVy0W3BLvaQvYjcmXltsxwTYxzwrhXGnoLGekd+s5NtbTEdTaX4T4YCY945q atiIIEDpP9t+kP5u/8k6f4lNoWv+tuVINUqpm1q7unIidZDfBh98oBfsZJGzn6TyUgv1 cpl52og3n2XB+u1DIYSx1TXXAv7cBKpGhtREzA1NGyHp6IcRRma50iS5vzCa7HRVpJH4 doB7UzJYEwgh3Zqlku5Anzf+uJQgpAClNnJggvjHs+RuMCAjEIWECHqkO+gpdZZdnZW8 lgzE8uyWuqazAoVkxAOF5Hj1OX5wYIPxuLDG01uuJa/7pZvAOUefJ6yuDWC2PUvdydvw 7FYA== X-Gm-Message-State: AElRT7HWZOgyDf4hp5j24vPX7y1wlQzcWzNvYPfSspIEVEiFbeq0vgKK nA/i+mi5WNQDSVRQbIu0wB2lUAwv X-Google-Smtp-Source: AG47ELufRFBxTiGvIIIE42s+tnLodc5GVmPqJTfhZIUq1FbuE2gs2xPmMjpCed/IynMS6tUfzX55rA== X-Received: by 10.28.180.132 with SMTP id d126mr1865925wmf.93.1520594528363; Fri, 09 Mar 2018 03:22:08 -0800 (PST) Received: from ?IPv6:::ffff:192.168.2.4? (5E1BEE66.mobile.pool.telekom.hu. [94.27.238.102]) by smtp.gmail.com with ESMTPSA id p199sm1067071wmb.42.2018.03.09.03.22.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Mar 2018 03:22:07 -0800 (PST) Message-ID: <5aa26e5f.d05b1c0a.10214.5e41@mx.google.com> MIME-Version: 1.0 From: =?UTF-8?Q?M=C3=A1rton?= Marczell Date: Fri, 9 Mar 2018 12:22:05 +0100 Importance: normal X-Priority: 3 Content-Type: multipart/alternative; boundary="_B83777E9-1898-452F-B03C-EE5E30B5168E_" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) 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: -4.0 (----) --_B83777E9-1898-452F-B03C-EE5E30B5168E_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" My Windows username is M=C3=A1rton. In one of the files loaded by my .emacs (neotree.el), I added this line: (print load-file-name) 1. I start Emacs from the command line with no arguments. 2. I view the *Messages* buffer. If the directory from which I launched Emacs has an accent in its path, e.g. "D:\=C3=A1\", this is printed: "c:/Users/M=C3=A1rton/AppData/Roaming/.emacs.d/elpa/neotree-0.5.2/neotree.e= l" But if it doesn't, e.g. "D:\a\", this is printed: "c:/Users/M=C3=83=C2=A1rton/AppData/Roaming/.emacs.d/elpa/neotree-0.5.2/neo= tree.el" (This prevents the neotree package from loading images in the latter case.) Please see also bug#25038, which seems related. In GNU Emacs 25.3.1 (x86_64-w64-mingw32) of 2017-09-26 built on LAPHROAIG Windowing system distributor 'Microsoft Corp.', version 10.0.16299 Configured using: 'configure --without-dbus --without-compress-install 'CFLAGS=3D-O2 -static -g3' PKG_CONFIG_PATH=3D/mingw64/lib/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS Important settings: value of $LANG: HUN locale-coding-system: cp1250 Major mode: Messages Minor modes in effect: diff-auto-refine-mode: t shell-dirtrack-mode: t tooltip-mode: t global-eldoc-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 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: "TATTARAA TATTARAA TATTARAA" "c:/Users/M=C3=A1rton/AppData/Roaming/.emacs.d/elpa/neotree-0.5.2/neotree.e= l" "c:/Users/M=C3=A1rton/AppData/Roaming/.emacs.d/elpa/neotree-0.5.2/" Loading c:/Users/M=C3=A1rton/AppData/Roaming/.emacs.d/custom.el (source)...= done For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message idna rfc822 mml mml-sec epg mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils vc-git diff-mode easy-mmode cursor-sensor js2-mode etags xref project js sgml-mode cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs imenu dired neotree derived finder-inf package epg-config sql view thingatpt edmacro kmacro python tramp-sh tramp tramp-compat auth-source cl-seq eieio eieio-core cl-macs gnus-util mm-util help-fns mail-prsvr password-cache tramp-loaddefs trampver ucs-normalize shell pcomplete format-spec advice json map seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv comint ring cl-loaddefs pcase cl-lib ansi-color time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded 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 w32notify w32 multi-tty make-network-process emacs) Memory information: ((conses 16 370288 19749) (symbols 56 34419 0) (miscs 48 60 234) (strings 32 62682 11501) (string-bytes 1 1969857) (vectors 16 54523) (vector-slots 8 895948 6275) (floats 8 467 185) (intervals 56 909 73) (buffers 976 20)) --_B83777E9-1898-452F-B03C-EE5E30B5168E_ Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"

My Windows username is M=C3=A1rton.

In one of the files loaded b= y my .emacs (neotree.el), I added this line:

=C2=A0=C2=A0 (print load-file-name)

 

1. I start Emacs from the co= mmand line with no arguments.

2. I view the *Messages* buffer.

 

If the directory from which I launched Emacs ha= s an accent in its path,

e.g. "D:\=C3=A1\", this is printed:<= /p>

"c:/Users/M=C3=A1rton/AppDa= ta/Roaming/.emacs.d/elpa/neotree-0.5.2/neotree.el"

But if it doesn't, e.g. "D:\= a\", this is printed:

"c:/Users/M=C3=83=C2=A1rton/AppData/Roaming/.emacs.d/elpa= /neotree-0.5.2/neotree.el"

<= span lang=3DEN-US> 

(This prevents the neotree package from loading images in the la= tter case.)

Pl= ease see also bug#25038, which seems related.

 

 

<= span lang=3DEN-US> 

 

In GNU Emacs 25.3.1 (x86_64-w64-mingw32)

of 2017-09-26 built on LAPHROAIG

Windowing system distri= butor 'Microsoft Corp.', version 10.0.16299

Configured using:

'configure --without-dbus --without-co= mpress-install 'CFLAGS=3D-O2

-static -g3' PKG_CONFIG_PATH=3D/mingw64/lib/pkgconfig'=

 <= /span>

Configured features:=

XPM JPEG TIFF GIF = PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB

TOOLKIT_SCROLL_BARS

 

Important settings:

=C2=A0 value of $LANG: HUN=

=C2=A0 locale-coding-sys= tem: cp1250

 

Major mod= e: Messages

 

Minor mod= es in effect:

= =C2=A0 diff-auto-refine-mode: t

<= span lang=3DEN-US>=C2=A0 shell-dirtrack-mode: t

=C2=A0 tooltip-mode: t<= /p>

=C2=A0 global-eldoc-mode: t=

=C2=A0 electric-in= dent-mode: t

= =C2=A0 mouse-wheel-mode: t

=C2=A0 tool-bar-mode: t

=C2=A0 menu-bar-mode: t

=C2=A0 file-name-shadow-mode: t=

=C2=A0 global-font-lock-= mode: t

=C2=A0= font-lock-mode: t

=C2=A0 blink-cursor-mode: t

= =C2=A0 auto-composition-mode: t

=C2=A0 auto-encryption-mode: t

=C2=A0 auto-compressi= on-mode: t

=C2= =A0 buffer-read-only: t

=C2=A0 line-number-mode: t

=C2=A0 transient-mark-mode: t

<= p class=3DMsoNormal> 

Recent messages:

 

"TATTARAA TATTARAA TATTARAA"

 

"c:/Users/M=C3=A1rton/Ap= pData/Roaming/.emacs.d/elpa/neotree-0.5.2/neotree.el"

 

"c:/Users/M=C3=A1rton/AppData/Ro= aming/.emacs.d/elpa/neotree-0.5.2/"

 

Loading c:/Users/M=C3=A1rton/AppData/Roaming/.emacs.d/c= ustom.el (source)...done

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

Making compl= etion list...

=  

Load-pa= th shadows:

No= ne found.

 

Features:

(shadow sort ma= il-extr emacsbug message idna rfc822 mml mml-sec epg

<= p class=3DMsoNormal>mm-decode mm-bodies mm-encode mail-p= arse rfc2231 mailabbrev gmm-utils

mailheader sendmail rfc2047 rfc2045 ietf-drums mail-uti= ls vc-git

diff= -mode easy-mmode cursor-sensor js2-mode etags xref project js

sgml-mode cc-mode cc-fonts = cc-guess cc-menus cc-cmds cc-styles cc-align

cc-engine cc-vars cc-defs imenu dired neotr= ee derived finder-inf package

epg-config sql view thingatpt edmacro kmacro python tramp-s= h tramp

tramp-= compat auth-source cl-seq eieio eieio-core cl-macs gnus-util

mm-util help-fns mail-prsvr = password-cache tramp-loaddefs trampver

ucs-normalize shell pcomplete format-spec advice j= son map seq byte-opt

gv bytecomp byte-compile cl-extra help-mode easymenu cconv comint = ring

cl-loadde= fs pcase cl-lib ansi-color time-date mule-util tooltip eldoc

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

ls-lisp disp-table w32-win w32-vars term/common-= win tool-bar dnd fontset

image regexp-opt fringe tabulated-list newcomment elisp-mode lis= p-mode

prog-mo= de register page menu-bar rfn-eshadow timer select scroll-bar

mouse jit-lock font-lock sy= ntax facemenu font-core frame cl-generic cham

georgian utf-8-lang misc-lang vietnamese ti= betan thai tai-viet lao

korean japanese eucjp-ms cp51932 hebrew greek romanian slovak cze= ch

european et= hiopic indian cyrillic chinese charscript case-table epa-hook

jka-cmpr-hook help simple a= bbrev minibuffer cl-preloaded nadvice

loaddefs button faces cus-face macroexp files text-= properties overlay

sha1 md5 base64 format env code-pages mule custom widget

hashtable-print-readable ba= ckquote w32notify w32 multi-tty

<= span lang=3DEN-US>make-network-process emacs)

 

Memory information:

((conses 16 370288 19749)=

(symbols 56 34419 0)

(miscs 48 60 234)=

(strings 32 62682= 11501)

(stri= ng-bytes 1 1969857)

(vectors 16 54523)

(vector-slots 8 895948 6275)

(floats 8 467 185)

(intervals 56 909 73)<= /p>

(buffers 976 20))

= --_B83777E9-1898-452F-B03C-EE5E30B5168E_-- From unknown Sun Jun 22 11:42:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30755: 25.3; Encoding of load-file-name wrong when path to working dir does not contain accented letter Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Mar 2018 13:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30755 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?M=C3=A1rton?= Marczell Cc: 30755@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 30755-submit@debbugs.gnu.org id=B30755.152060317625926 (code B ref 30755); Fri, 09 Mar 2018 13:47:01 +0000 Received: (at 30755) by debbugs.gnu.org; 9 Mar 2018 13:46:16 +0000 Received: from localhost ([127.0.0.1]:51880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euILg-0006k6-I3 for submit@debbugs.gnu.org; Fri, 09 Mar 2018 08:46:16 -0500 Received: from eggs.gnu.org ([208.118.235.92]:60044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euILf-0006jt-8e for 30755@debbugs.gnu.org; Fri, 09 Mar 2018 08:46:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1euILW-00049k-Uu for 30755@debbugs.gnu.org; Fri, 09 Mar 2018 08:46:10 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35591) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1euILW-00049f-Qj; Fri, 09 Mar 2018 08:46:06 -0500 Received: from [176.228.60.248] (port=1382 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1euILW-0004n5-82; Fri, 09 Mar 2018 08:46:06 -0500 Date: Fri, 09 Mar 2018 15:46:03 +0200 Message-Id: <836065weec.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <5aa26e5f.d05b1c0a.10214.5e41@mx.google.com> (message from =?UTF-8?Q?M=C3=A1rton?= Marczell on Fri, 9 Mar 2018 12:22:05 +0100) References: <5aa26e5f.d05b1c0a.10214.5e41@mx.google.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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-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 (-----) > From: Márton Marczell > Date: Fri, 9 Mar 2018 12:22:05 +0100 > > My Windows username is Márton. > > In one of the files loaded by my .emacs (neotree.el), I added this line: > > (print load-file-name) > > 1. I start Emacs from the command line with no arguments. > 2. I view the *Messages* buffer. > > If the directory from which I launched Emacs has an accent in its path, > e.g. "D:\á\", this is printed: > "c:/Users/Márton/AppData/Roaming/.emacs.d/elpa/neotree-0.5.2/neotree.el" > But if it doesn't, e.g. "D:\a\", this is printed: > "c:/Users/Márton/AppData/Roaming/.emacs.d/elpa/neotree-0.5.2/neotree.el" > > (This prevents the neotree package from loading images in the latter case.) How is load-file-name of the package's .el file related to its inability to load images? Also, can you please provide a recipe that takes neotree.el out of the equation? AFAIU, it should be enough to have a .el file that is loaded in .emacs, and have the contents of that file be just (print load-file-name) Is that correct? > Please see also bug#25038, which seems related. But that bug was solved, so something else must be at work here. Thanks. From unknown Sun Jun 22 11:42:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30755: 25.3; Encoding of load-file-name wrong when path to working dir does not contain accented letter Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Mar 2018 16:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30755 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?M=C3=A1rton?= Marczell Cc: 30755@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 30755-submit@debbugs.gnu.org id=B30755.152078458420073 (code B ref 30755); Sun, 11 Mar 2018 16:10:01 +0000 Received: (at 30755) by debbugs.gnu.org; 11 Mar 2018 16:09:44 +0000 Received: from localhost ([127.0.0.1]:55602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ev3Xb-0005Dh-Tl for submit@debbugs.gnu.org; Sun, 11 Mar 2018 12:09:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ev3XZ-0005DN-D4 for 30755@debbugs.gnu.org; Sun, 11 Mar 2018 12:09:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ev3XQ-0001cI-W5 for 30755@debbugs.gnu.org; Sun, 11 Mar 2018 12:09:36 -0400 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,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42513) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ev3XQ-0001cE-S3; Sun, 11 Mar 2018 12:09:32 -0400 Received: from [176.228.60.248] (port=4941 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ev3XQ-0001Bk-Bt; Sun, 11 Mar 2018 12:09:32 -0400 Date: Sun, 11 Mar 2018 18:09:35 +0200 Message-Id: <83bmfutwzk.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <5aa2ff79.c786df0a.cebf4.23cd@mx.google.com> (message from =?UTF-8?Q?M=C3=A1rton?= Marczell on Fri, 9 Mar 2018 22:41:12 +0100) References: <5aa26e5f.d05b1c0a.10214.5e41@mx.google.com> <836065weec.fsf@gnu.org> <5aa2ff79.c786df0a.cebf4.23cd@mx.google.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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-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 (-----) > From: Márton Marczell > Date: Fri, 9 Mar 2018 22:41:12 +0100 > > > How is load-file-name of the package's .el file related to its inability to load images? > > It loads images like this: > > (defconst neo-dir > (expand-file-name (if load-file-name > (file-name-directory load-file-name) > default-directory))) > ;… > (defun neo-buffer--get-icon (name) > "Get image by NAME." > (let ((icon-path (neo-path--join neo-dir "icons")) > image) > (setq image (create-image > (neo-path--join icon-path (concat name ".xpm")) > 'xpm nil :ascent 'center :mask '(heuristic t))) > image)) > > So the (wrongly encoded) load-file-name path is used to build the path to the image assets. Which makes image loading fail with the error > Cannot find image file ‘c:/Users/M rton/AppData/Roaming/.emacs.d/elpa/neotree-0.5.2/icons/leaf.xpm’ > > > Also, can you please provide a recipe that takes neotree.el out of the > > equation? AFAIU, it should be enough to have a .el file that is > > loaded in .emacs, and have the contents of that file be just > > (print load-file-name) > > Is that correct? > > Yes that is correct. OK, thanks. I tried reproducing this problem, but failed. I guess there are still important details of the situation that are missing from the description. One detail that might be important is how exactly do you load neotree.el from your init file. In my reproduction attempt, I just created a .emacs file with only one line: (load "~/foo/foo.el") where foo.el had this single line: (print load-file-name) This produced the correct file name in the *Messages* buffer when Emacs was started from a directory that had no non-ASCII characters, while the home directory did include non-ASCII characters, which I believe is your case. Please provide a full description of how you load your file, and preferably also try reproducing the problem with a simple setup such as what I used above (modified to match the exact way you load neotree.el in the real-life use case), and see if you succeed reproducing it. Also, if you repeat your original use case, but before starting Emacs set HOME=c:\Users\Márton\AppData\Roaming in the environment of the shell from which you invoke Emacs, does the problem reproduce itself? (Btw, is the shell from which you start Emacs the stock Windows shell cmd.exe or something else?) And finally, please keep the bug address on the CC list of your responses, so that this discussion gets recorded by the bug tracker. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 16 20:05:21 2018 Received: (at control) by debbugs.gnu.org; 17 Mar 2018 00:05:21 +0000 Received: from localhost ([127.0.0.1]:37410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ewzLc-0006eL-QR for submit@debbugs.gnu.org; Fri, 16 Mar 2018 20:05:20 -0400 Received: from mail-it0-f46.google.com ([209.85.214.46]:35855) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ewzLb-0006e8-KX for control@debbugs.gnu.org; Fri, 16 Mar 2018 20:05:19 -0400 Received: by mail-it0-f46.google.com with SMTP id u5-v6so4066485itc.1 for ; Fri, 16 Mar 2018 17:05:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=WORlB89LafhI3VvURovz8WVVfTL/o8nSMB/Ss+as89Y=; b=rvMoF2mbWlLiq9qRoEDtPjFxCUWQsFLBuP7KpMfEh3h+KVVIP8StVnediENWgDYk6D Lz5cLruwIgYi2vbsOtsOIci5yBow+VXnkfmNGVMo8P36Rzumn+4j3FXW2nSY+N4bxq5y 7AjwtFkxo0j0So3rgR9p5zgbABjsqTDRMO5pXmTsD40E5vyACdYGUVD283mm0o0Ho2hz uEKkvN80UibwnxFQ1EoeWwtu45cM+cVO4JpCleEqGy9hjp+ZdrTfeqas7Ix0QBo/vj7r aGYVExFFOeSdjsdCiUgY74ySGNKU0UgVVaun7SQE3mABAKDdzhl5OjRJ0+tj2TIG7Q1+ b0Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=WORlB89LafhI3VvURovz8WVVfTL/o8nSMB/Ss+as89Y=; b=IMCQtDvwBjOytUKulhlZIieWnuXBWhi4Yj1f7B/6NrHhdDkJ5PmuPFWn9WMsHRGmZC hiS/RKwmsvwKZVvLQ2com4ZUAcgU9qn/TIhJbKgClFxOj36HS/yCsZi53BIO4/rdXFzt 5KzfVKGiJx1OmCrpRL18ZHbsX0S9uvCpF4ycwR2oGYPpDQhjW2Jvev1qmLkV2kZRQ+Mg zM+PYktx2TqLZmxyW0I1ffsfKpI2h8cp5cCo+3nyWkZQzC+/1Nq8xuobrmRdx3dT2rDW DtMlhdJcvKKKc/Ivp5SxD+FbyAYyhr37moLbW5CZwptt9IwaP4YegGHURpVwIYI8dIEK m/MA== X-Gm-Message-State: AElRT7E5ND6LgeYqzutKe0f4Od5fSaM2jkbCd/c4il/tG8/N1X6cfo8P Ds0XEUWLIIHhxCfkL8rpR4XPrw== X-Google-Smtp-Source: AG47ELusu9eMSSd+8AH2PGt0NhMzsYkJYENLv7/TMTAKfovlMVw/uBenc4egFsNrugf1K/VZhoZJMQ== X-Received: by 2002:a24:9285:: with SMTP id l127-v6mr4447289itd.40.1521245114084; Fri, 16 Mar 2018 17:05:14 -0700 (PDT) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id s128sm5359890itb.11.2018.03.16.17.05.13 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 16 Mar 2018 17:05:13 -0700 (PDT) From: Noam Postavsky To: control@debbugs.gnu.org Subject: control message for bug #30755 Date: Fri, 16 Mar 2018 20:05:12 -0400 Message-ID: <87r2ojva6f.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.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: -0.0 (/) tags 30755 + unreproducible moreinfo quit From unknown Sun Jun 22 11:42:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30755: 25.3; Encoding of load-file-name wrong when path toworking dir does not contain accented letter Resent-From: =?UTF-8?Q?M=C3=A1rton?= Marczell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Mar 2018 14:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30755 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible moreinfo To: Eli Zaretskii Cc: "30755@debbugs.gnu.org" <30755@debbugs.gnu.org> Received: via spool by 30755-submit@debbugs.gnu.org id=B30755.152129636230811 (code B ref 30755); Sat, 17 Mar 2018 14:20:02 +0000 Received: (at 30755) by debbugs.gnu.org; 17 Mar 2018 14:19:22 +0000 Received: from localhost ([127.0.0.1]:38545 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1exCg6-00080t-6B for submit@debbugs.gnu.org; Sat, 17 Mar 2018 10:19:22 -0400 Received: from mail-wm0-f53.google.com ([74.125.82.53]:38548) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1exCg4-00080h-Qx for 30755@debbugs.gnu.org; Sat, 17 Mar 2018 10:19:21 -0400 Received: by mail-wm0-f53.google.com with SMTP id q137so1701928wmd.3 for <30755@debbugs.gnu.org>; Sat, 17 Mar 2018 07:19:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:mime-version:to:cc:from:subject:date:importance :in-reply-to:references; bh=mb6cn3LM02hloae/+6d+EIo8GZ4/airRpEcEYZuIHSY=; b=WfNA7HN0QsZlfBSb5fqvEbTgDOp/LYogXRXW0VgPT4L+saqHBiFUOrp+TyairQ33jc Xn+UsmWOd0ILx7eUJ5GRYFYNoIVrotdAbipB1/MYSZ52uK8nfZE7f1plairl19t5ajWY FCfoqMKszvMNpnC8JRUzXhHcGI/mpB5509ar3KneIugMt4wQ/MX9sVykRTYkgmlBK9Lg Z4KDMAXHxgEj8O6mEhLor7cyQ4OuI9y4v8ULHvDxh/Q5I2S6ePC1vP2FfetyohfplwUW Lv4MoVMKt0MK2sz19Kja1Aj6iZFfpracliyzmZYaGmgn08sr9uyhlfcF6C2ME4Xb2UME PHQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version:to:cc:from:subject:date :importance:in-reply-to:references; bh=mb6cn3LM02hloae/+6d+EIo8GZ4/airRpEcEYZuIHSY=; b=S/IVmcGI9kVwLbDHmepvBrRXHITXAO2qhw1rlDMmtH6k9EShdv+XFlpbMEcrDZ9TWW NCLpOPPjYsd+XIMfsT1/Bvc27WCh0SDmzGKkqZWH+f1oP/MSTJyPtBRfPsdSxAaiAOoK 35g9qxHWj9FAsSkIIi80cXpdDiih5kz6dvP8UdB8DYIGa7Y3B0SsPw1Ir3AtZ/kc5v+R BdCsLsw9S2RIToSrym++ybsQC48xxVWoDc5g9wPJWy3ysjv/LS11TIMQG0uj8gwSjEyo 36I0VCYW9Hv4mL7bttjwNfFuZCOlwPfrDg+8muv00BAtatl8PkYiGxWSJl+kq01RGx5j Cd6g== X-Gm-Message-State: AElRT7F/h+eISBfhKR2no+NhS30MLuXgwQ/LraamPxcuMwkasdotZg6o 17Tkfljl4i9GHnao5qldPCE= X-Google-Smtp-Source: AG47ELt9/0Hb3P9/4NnxfQSKBaZBy7TZDEdhqtEqpr3+DdQSHJfZyBeJ81wH1+q1VJEXRiwwyMl49w== X-Received: by 10.28.157.68 with SMTP id g65mr4665393wme.31.1521296354853; Sat, 17 Mar 2018 07:19:14 -0700 (PDT) Received: from ?IPv6:::ffff:192.168.2.4? (5E1BF294.mobile.pool.telekom.hu. [94.27.242.148]) by smtp.gmail.com with ESMTPSA id m62sm9322368wmi.19.2018.03.17.07.19.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 17 Mar 2018 07:19:13 -0700 (PDT) Message-ID: <5aad23e1.c1471c0a.8eac2.b6fe@mx.google.com> MIME-Version: 1.0 From: =?UTF-8?Q?M=C3=A1rton?= Marczell Date: Sat, 17 Mar 2018 15:19:12 +0100 Importance: normal X-Priority: 3 In-Reply-To: <83bmfutwzk.fsf@gnu.org> References: <5aa26e5f.d05b1c0a.10214.5e41@mx.google.com> <836065weec.fsf@gnu.org> <5aa2ff79.c786df0a.cebf4.23cd@mx.google.com> <83bmfutwzk.fsf@gnu.org> Content-Type: multipart/alternative; boundary="_A1D54846-0D52-4338-9C0F-9CBEF655ACA1_" X-Spam-Score: -0.0 (/) 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: -0.0 (/) --_A1D54846-0D52-4338-9C0F-9CBEF655ACA1_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" During trying to determine the exact conditions of the error, I started ane= w with a fresh .emacs.d folder and reinstalled my packages, and the bug dis= appeared. I guess an earlier version of Emacs (in which that related bug wa= s not yet fixed) wrote something in .emacs.d that set the wrong encoding.=20 I still have the old .emacs.d if we want to investigate further. --_A1D54846-0D52-4338-9C0F-9CBEF655ACA1_ Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"

During trying to de= termine the exact conditions of the error, I started anew with a fresh .ema= cs.d folder and reinstalled my packages, and the bug disappeared. I guess a= n earlier version of Emacs (in which that related bug was not yet fixed) wr= ote something in .emacs.d that set the wrong encoding.

 

I still have the old .emacs.d if we want= to investigate further.

= --_A1D54846-0D52-4338-9C0F-9CBEF655ACA1_-- From unknown Sun Jun 22 11:42:38 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: =?UTF-8?Q?M=C3=A1rton?= Marczell Subject: bug#30755: closed (Re: bug#30755: 25.3; Encoding of load-file-name wrong when path toworking dir does not contain accented letter) Message-ID: References: <83efkipx3r.fsf@gnu.org> <5aa26e5f.d05b1c0a.10214.5e41@mx.google.com> X-Gnu-PR-Message: they-closed 30755 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: unreproducible moreinfo Reply-To: 30755@debbugs.gnu.org Date: Sat, 17 Mar 2018 14:59:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1521298742-2160-1" This is a multi-part message in MIME format... ------------=_1521298742-2160-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #30755: 25.3; Encoding of load-file-name wrong when path to working dir doe= s not contain accented letter which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 30755@debbugs.gnu.org. --=20 30755: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D30755 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1521298742-2160-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 30755-done) by debbugs.gnu.org; 17 Mar 2018 14:58:56 +0000 Received: from localhost ([127.0.0.1]:38569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1exDIN-0000YX-MQ for submit@debbugs.gnu.org; Sat, 17 Mar 2018 10:58:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38555) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1exDIL-0000YJ-Ip for 30755-done@debbugs.gnu.org; Sat, 17 Mar 2018 10:58:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1exDID-000777-Ea for 30755-done@debbugs.gnu.org; Sat, 17 Mar 2018 10:58:48 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1exDID-00076x-B5; Sat, 17 Mar 2018 10:58:45 -0400 Received: from [176.228.60.248] (port=2793 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1exDIC-0005di-O9; Sat, 17 Mar 2018 10:58:45 -0400 Date: Sat, 17 Mar 2018 16:58:48 +0200 Message-Id: <83efkipx3r.fsf@gnu.org> From: Eli Zaretskii To: =?utf-8?Q?M=C3=A1rton?= Marczell In-reply-to: <5aad23e1.c1471c0a.8eac2.b6fe@mx.google.com> (message from =?utf-8?Q?M=C3=A1rton?= Marczell on Sat, 17 Mar 2018 15:19:12 +0100) Subject: Re: bug#30755: 25.3; Encoding of load-file-name wrong when path toworking dir does not contain accented letter References: <5aa26e5f.d05b1c0a.10214.5e41@mx.google.com> <836065weec.fsf@gnu.org> <5aa2ff79.c786df0a.cebf4.23cd@mx.google.com> <83bmfutwzk.fsf@gnu.org> <5aad23e1.c1471c0a.8eac2.b6fe@mx.google.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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: 30755-done Cc: 30755-done@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 (-----) > Cc: "30755@debbugs.gnu.org" <30755@debbugs.gnu.org> > From: Márton Marczell > Date: Sat, 17 Mar 2018 15:19:12 +0100 > > During trying to determine the exact conditions of the error, I started anew with a fresh .emacs.d folder and > reinstalled my packages, and the bug disappeared. I guess an earlier version of Emacs (in which that related > bug was not yet fixed) wrote something in .emacs.d that set the wrong encoding. OK, thanks. I'm therefore closing this bug report. > I still have the old .emacs.d if we want to investigate further. I don't see the need. If the problem ever returns, please reopen this bug or file a new one. ------------=_1521298742-2160-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 9 Mar 2018 11:22:25 +0000 Received: from localhost ([127.0.0.1]:51769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euG6S-0007T8-N2 for submit@debbugs.gnu.org; Fri, 09 Mar 2018 06:22:25 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euG6Q-0007Ss-L0 for submit@debbugs.gnu.org; Fri, 09 Mar 2018 06:22:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1euG6J-0001Qg-Ti for submit@debbugs.gnu.org; Fri, 09 Mar 2018 06:22:17 -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,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55078) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1euG6J-0001Qc-Ou for submit@debbugs.gnu.org; Fri, 09 Mar 2018 06:22:15 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47138) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1euG6H-0007MH-Tz for bug-gnu-emacs@gnu.org; Fri, 09 Mar 2018 06:22:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1euG6E-0001Ps-LM for bug-gnu-emacs@gnu.org; Fri, 09 Mar 2018 06:22:13 -0500 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]:38857) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1euG6E-0001PU-AD for bug-gnu-emacs@gnu.org; Fri, 09 Mar 2018 06:22:10 -0500 Received: by mail-wm0-x22e.google.com with SMTP id z9so3247362wmb.3 for ; Fri, 09 Mar 2018 03:22:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:mime-version:to:from:subject:date:importance; bh=IFHI7Le2NNY9LyOaa0CpgkQPqFeArnYUU/hkeaaIJAs=; b=A+OKa2HleBz/4q9+4zcekWZlK4KU4eR4Hzd6ZDXSYql6wjAyhled7L4i1qdyHQLRML 5Pm/4otq9Ql/o3SoHEQsbaKH2iz+3SsDFk49UPZJf266V2QXeLn1QBzHBQGD0tFJ19Qx 8Z4XgnQHg1mRtQadCgDZNNPYPAH+Crs2s2KRpNPJs06Nka9etiaDYQI0L/BFjsHW1Uo4 0ocCEVnNApgX1OMlZLgOTY6GcWEs+KpkGuuasr8ffnFvMuGTrOCm1P0osXGwEfJw9KPa Lc4xOdnpLAvvIriyMzthpaadvhSI5SVHemNs68lLo/z9KoWsBYDtWow62tNECpMPRqEQ kysQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version:to:from:subject:date :importance; bh=IFHI7Le2NNY9LyOaa0CpgkQPqFeArnYUU/hkeaaIJAs=; b=WsX76iUVy0W3BLvaQvYjcmXltsxwTYxzwrhXGnoLGekd+s5NtbTEdTaX4T4YCY945q atiIIEDpP9t+kP5u/8k6f4lNoWv+tuVINUqpm1q7unIidZDfBh98oBfsZJGzn6TyUgv1 cpl52og3n2XB+u1DIYSx1TXXAv7cBKpGhtREzA1NGyHp6IcRRma50iS5vzCa7HRVpJH4 doB7UzJYEwgh3Zqlku5Anzf+uJQgpAClNnJggvjHs+RuMCAjEIWECHqkO+gpdZZdnZW8 lgzE8uyWuqazAoVkxAOF5Hj1OX5wYIPxuLDG01uuJa/7pZvAOUefJ6yuDWC2PUvdydvw 7FYA== X-Gm-Message-State: AElRT7HWZOgyDf4hp5j24vPX7y1wlQzcWzNvYPfSspIEVEiFbeq0vgKK nA/i+mi5WNQDSVRQbIu0wB2lUAwv X-Google-Smtp-Source: AG47ELufRFBxTiGvIIIE42s+tnLodc5GVmPqJTfhZIUq1FbuE2gs2xPmMjpCed/IynMS6tUfzX55rA== X-Received: by 10.28.180.132 with SMTP id d126mr1865925wmf.93.1520594528363; Fri, 09 Mar 2018 03:22:08 -0800 (PST) Received: from ?IPv6:::ffff:192.168.2.4? (5E1BEE66.mobile.pool.telekom.hu. [94.27.238.102]) by smtp.gmail.com with ESMTPSA id p199sm1067071wmb.42.2018.03.09.03.22.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Mar 2018 03:22:07 -0800 (PST) Message-ID: <5aa26e5f.d05b1c0a.10214.5e41@mx.google.com> MIME-Version: 1.0 To: "bug-gnu-emacs@gnu.org" From: =?utf-8?Q?M=C3=A1rton_Marczell?= Subject: 25.3; Encoding of load-file-name wrong when path to working dir does not contain accented letter Date: Fri, 9 Mar 2018 12:22:05 +0100 Importance: normal X-Priority: 3 Content-Type: multipart/alternative; boundary="_B83777E9-1898-452F-B03C-EE5E30B5168E_" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit 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: -4.0 (----) --_B83777E9-1898-452F-B03C-EE5E30B5168E_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" My Windows username is M=C3=A1rton. In one of the files loaded by my .emacs (neotree.el), I added this line: (print load-file-name) 1. I start Emacs from the command line with no arguments. 2. I view the *Messages* buffer. If the directory from which I launched Emacs has an accent in its path, e.g. "D:\=C3=A1\", this is printed: "c:/Users/M=C3=A1rton/AppData/Roaming/.emacs.d/elpa/neotree-0.5.2/neotree.e= l" But if it doesn't, e.g. "D:\a\", this is printed: "c:/Users/M=C3=83=C2=A1rton/AppData/Roaming/.emacs.d/elpa/neotree-0.5.2/neo= tree.el" (This prevents the neotree package from loading images in the latter case.) Please see also bug#25038, which seems related. In GNU Emacs 25.3.1 (x86_64-w64-mingw32) of 2017-09-26 built on LAPHROAIG Windowing system distributor 'Microsoft Corp.', version 10.0.16299 Configured using: 'configure --without-dbus --without-compress-install 'CFLAGS=3D-O2 -static -g3' PKG_CONFIG_PATH=3D/mingw64/lib/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS Important settings: value of $LANG: HUN locale-coding-system: cp1250 Major mode: Messages Minor modes in effect: diff-auto-refine-mode: t shell-dirtrack-mode: t tooltip-mode: t global-eldoc-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 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: "TATTARAA TATTARAA TATTARAA" "c:/Users/M=C3=A1rton/AppData/Roaming/.emacs.d/elpa/neotree-0.5.2/neotree.e= l" "c:/Users/M=C3=A1rton/AppData/Roaming/.emacs.d/elpa/neotree-0.5.2/" Loading c:/Users/M=C3=A1rton/AppData/Roaming/.emacs.d/custom.el (source)...= done For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message idna rfc822 mml mml-sec epg mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils vc-git diff-mode easy-mmode cursor-sensor js2-mode etags xref project js sgml-mode cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs imenu dired neotree derived finder-inf package epg-config sql view thingatpt edmacro kmacro python tramp-sh tramp tramp-compat auth-source cl-seq eieio eieio-core cl-macs gnus-util mm-util help-fns mail-prsvr password-cache tramp-loaddefs trampver ucs-normalize shell pcomplete format-spec advice json map seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv comint ring cl-loaddefs pcase cl-lib ansi-color time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded 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 w32notify w32 multi-tty make-network-process emacs) Memory information: ((conses 16 370288 19749) (symbols 56 34419 0) (miscs 48 60 234) (strings 32 62682 11501) (string-bytes 1 1969857) (vectors 16 54523) (vector-slots 8 895948 6275) (floats 8 467 185) (intervals 56 909 73) (buffers 976 20)) --_B83777E9-1898-452F-B03C-EE5E30B5168E_ Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"

My Windows username is M=C3=A1rton.

In one of the files loaded b= y my .emacs (neotree.el), I added this line:

=C2=A0=C2=A0 (print load-file-name)

 

1. I start Emacs from the co= mmand line with no arguments.

2. I view the *Messages* buffer.

 

If the directory from which I launched Emacs ha= s an accent in its path,

e.g. "D:\=C3=A1\", this is printed:<= /p>

"c:/Users/M=C3=A1rton/AppDa= ta/Roaming/.emacs.d/elpa/neotree-0.5.2/neotree.el"

But if it doesn't, e.g. "D:\= a\", this is printed:

"c:/Users/M=C3=83=C2=A1rton/AppData/Roaming/.emacs.d/elpa= /neotree-0.5.2/neotree.el"

<= span lang=3DEN-US> 

(This prevents the neotree package from loading images in the la= tter case.)

Pl= ease see also bug#25038, which seems related.

 

 

<= span lang=3DEN-US> 

 

In GNU Emacs 25.3.1 (x86_64-w64-mingw32)

of 2017-09-26 built on LAPHROAIG

Windowing system distri= butor 'Microsoft Corp.', version 10.0.16299

Configured using:

'configure --without-dbus --without-co= mpress-install 'CFLAGS=3D-O2

-static -g3' PKG_CONFIG_PATH=3D/mingw64/lib/pkgconfig'=

 <= /span>

Configured features:=

XPM JPEG TIFF GIF = PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB

TOOLKIT_SCROLL_BARS

 

Important settings:

=C2=A0 value of $LANG: HUN=

=C2=A0 locale-coding-sys= tem: cp1250

 

Major mod= e: Messages

 

Minor mod= es in effect:

= =C2=A0 diff-auto-refine-mode: t

<= span lang=3DEN-US>=C2=A0 shell-dirtrack-mode: t

=C2=A0 tooltip-mode: t<= /p>

=C2=A0 global-eldoc-mode: t=

=C2=A0 electric-in= dent-mode: t

= =C2=A0 mouse-wheel-mode: t

=C2=A0 tool-bar-mode: t

=C2=A0 menu-bar-mode: t

=C2=A0 file-name-shadow-mode: t=

=C2=A0 global-font-lock-= mode: t

=C2=A0= font-lock-mode: t

=C2=A0 blink-cursor-mode: t

= =C2=A0 auto-composition-mode: t

=C2=A0 auto-encryption-mode: t

=C2=A0 auto-compressi= on-mode: t

=C2= =A0 buffer-read-only: t

=C2=A0 line-number-mode: t

=C2=A0 transient-mark-mode: t

<= p class=3DMsoNormal> 

Recent messages:

 

"TATTARAA TATTARAA TATTARAA"

 

"c:/Users/M=C3=A1rton/Ap= pData/Roaming/.emacs.d/elpa/neotree-0.5.2/neotree.el"

 

"c:/Users/M=C3=A1rton/AppData/Ro= aming/.emacs.d/elpa/neotree-0.5.2/"

 

Loading c:/Users/M=C3=A1rton/AppData/Roaming/.emacs.d/c= ustom.el (source)...done

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

Making compl= etion list...

=  

Load-pa= th shadows:

No= ne found.

 

Features:

(shadow sort ma= il-extr emacsbug message idna rfc822 mml mml-sec epg

<= p class=3DMsoNormal>mm-decode mm-bodies mm-encode mail-p= arse rfc2231 mailabbrev gmm-utils

mailheader sendmail rfc2047 rfc2045 ietf-drums mail-uti= ls vc-git

diff= -mode easy-mmode cursor-sensor js2-mode etags xref project js

sgml-mode cc-mode cc-fonts = cc-guess cc-menus cc-cmds cc-styles cc-align

cc-engine cc-vars cc-defs imenu dired neotr= ee derived finder-inf package

epg-config sql view thingatpt edmacro kmacro python tramp-s= h tramp

tramp-= compat auth-source cl-seq eieio eieio-core cl-macs gnus-util

mm-util help-fns mail-prsvr = password-cache tramp-loaddefs trampver

ucs-normalize shell pcomplete format-spec advice j= son map seq byte-opt

gv bytecomp byte-compile cl-extra help-mode easymenu cconv comint = ring

cl-loadde= fs pcase cl-lib ansi-color time-date mule-util tooltip eldoc

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

ls-lisp disp-table w32-win w32-vars term/common-= win tool-bar dnd fontset

image regexp-opt fringe tabulated-list newcomment elisp-mode lis= p-mode

prog-mo= de register page menu-bar rfn-eshadow timer select scroll-bar

mouse jit-lock font-lock sy= ntax facemenu font-core frame cl-generic cham

georgian utf-8-lang misc-lang vietnamese ti= betan thai tai-viet lao

korean japanese eucjp-ms cp51932 hebrew greek romanian slovak cze= ch

european et= hiopic indian cyrillic chinese charscript case-table epa-hook

jka-cmpr-hook help simple a= bbrev minibuffer cl-preloaded nadvice

loaddefs button faces cus-face macroexp files text-= properties overlay

sha1 md5 base64 format env code-pages mule custom widget

hashtable-print-readable ba= ckquote w32notify w32 multi-tty

<= span lang=3DEN-US>make-network-process emacs)

 

Memory information:

((conses 16 370288 19749)=

(symbols 56 34419 0)

(miscs 48 60 234)=

(strings 32 62682= 11501)

(stri= ng-bytes 1 1969857)

(vectors 16 54523)

(vector-slots 8 895948 6275)

(floats 8 467 185)

(intervals 56 909 73)<= /p>

(buffers 976 20))

= --_B83777E9-1898-452F-B03C-EE5E30B5168E_-- ------------=_1521298742-2160-1-- From debbugs-submit-bounces@debbugs.gnu.org Wed May 09 05:04:41 2018 Received: (at control) by debbugs.gnu.org; 9 May 2018 09:04:41 +0000 Received: from localhost ([127.0.0.1]:54796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fGL1c-0002jw-S1 for submit@debbugs.gnu.org; Wed, 09 May 2018 05:04:41 -0400 Received: from mail-wm0-f43.google.com ([74.125.82.43]:55199) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fGL1b-0002jg-9n for control@debbugs.gnu.org; Wed, 09 May 2018 05:04:39 -0400 Received: by mail-wm0-f43.google.com with SMTP id f6so23232583wmc.4 for ; Wed, 09 May 2018 02:04:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=XJQYgYxxd0ntJV3nfEl6uoacw3e7PGwpOPvkBsv8ne4=; b=W4ngqBRJUCd4ucQYUmHfRIAgJmBzUnNHZhwgyJ2L0wp25N4d51JipLWgSlMibgSrJq xkyb32jn5QbEQB3ChuPbcHFyrpSKdhHVRmmrQ3IFAI0PDjJ7kZ4uyiTChj3E7T0sYJ6l 0U65KbPMN/nqJVRcu2DTjSHjmXsHfth5KjHtLBs3kmu+cwM6Y7XFuN6vdYwzXfgppuVT qrbUWxIazvB7z8Tf5ren9P1qWZXnLNzKR1G6dnGnKZSmy4Mogao8PWeiUpq7h2GTwuCi DqZittu8wDoODt40eV7dIdyL8Sb27PtoNqia7FcXYttNHkbyb2wd0A3zveRlCWA2Q7SO 4bvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=XJQYgYxxd0ntJV3nfEl6uoacw3e7PGwpOPvkBsv8ne4=; b=p0pGiiiwosr51VyXrMdpqB2Zr0dXiJXbRjmns7cvOpkvtVEzK70KdWORfLAnP3cmVo d0phGvVNSRamVn0bHphL2/K7aDsBhnRb6FFP/dKgfWO5OV0sCbA1xl+mUObY7sZ7jHe4 bbtaLrwTJeaVRV1ifmtZFhJceLcpr3sd6ozfBCg26BWBL+vbLaz/JPWVbaE4LJuqX2hT AQbLadsx6DFrrYMpYT8atgeC8NFF88xJ7TxJW6uGqQwmuPE8UKjaB2KlZjPN0o/kAD1i L5lI38XOL3CdS0IMkHeSvglk8Kox6iCTQNiSLJ6RoqM2f6nsmlQrcab0+Xh2qDWP102s zePw== X-Gm-Message-State: ALQs6tCYQ5KbyRTlIZH254RJJX2r5SkbDt5p0bosfN029HGXzNarBViv MJmZxotjowvpp9WQbTcephvyXXLWDnOifKSCkcE= X-Google-Smtp-Source: AB8JxZqwCdLhCYdhX4nYgBk644J73Ij80IbHjMnWW6BVadK3CCzgunbZBO+ZXqKv63RPsay/zLzLVHz6MZq76mLiHm4= X-Received: by 2002:a50:b266:: with SMTP id o93-v6mr58404111edd.47.1525856673608; Wed, 09 May 2018 02:04:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.179.231 with HTTP; Wed, 9 May 2018 02:04:33 -0700 (PDT) From: =?UTF-8?Q?M=C3=A1rton_Marczell?= Date: Wed, 9 May 2018 11:04:33 +0200 Message-ID: Subject: To: control@debbugs.gnu.org Content-Type: multipart/alternative; boundary="0000000000000238a2056bc23154" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: unarchive 30755 reopen 30755 unarchive 30755 reopen 30755 [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (dalokmarcinak[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 HTML_MESSAGE BODY: HTML included in message -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [74.125.82.43 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [74.125.82.43 listed in wl.mailspike.net] 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid 2.0 BLANK_SUBJECT Subject is present but empty -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 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: 1.0 (+) --0000000000000238a2056bc23154 Content-Type: text/plain; charset="UTF-8" unarchive 30755 reopen 30755 --0000000000000238a2056bc23154 Content-Type: text/html; charset="UTF-8"
unarchive 30755
reopen 30755
--0000000000000238a2056bc23154-- From unknown Sun Jun 22 11:42:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30755: 25.3; Encoding of load-file-name wrong when path toworking dir does not contain accented letter Resent-From: =?UTF-8?Q?M=C3=A1rton?= Marczell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 May 2018 09:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30755 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible moreinfo To: 30755@debbugs.gnu.org Received: via spool by 30755-submit@debbugs.gnu.org id=B30755.152585681610768 (code B ref 30755); Wed, 09 May 2018 09:07:01 +0000 Received: (at 30755) by debbugs.gnu.org; 9 May 2018 09:06:56 +0000 Received: from localhost ([127.0.0.1]:54802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fGL3o-0002nc-8n for submit@debbugs.gnu.org; Wed, 09 May 2018 05:06:56 -0400 Received: from mail-wm0-f47.google.com ([74.125.82.47]:35946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fGL3m-0002nN-97 for 30755@debbugs.gnu.org; Wed, 09 May 2018 05:06:54 -0400 Received: by mail-wm0-f47.google.com with SMTP id n10-v6so26187315wmc.1 for <30755@debbugs.gnu.org>; Wed, 09 May 2018 02:06:54 -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=9KFagyDnXDzenDtH054dzHB/myB3z8AuHCNsZDCYd6A=; b=sf3DpoQNx3evoCw/IUaW8XmZwbtR5qSTcbkEna1pXy+VY2Dj7NXKujv5R8POX89E42 rC1+gk5pztI64LckhrGEl0GhNSu8W0xpSVziSXXfVOFLCGwL+mwTvDlXFgg2sa7xhqi1 3q0s4GkkBiKwNmE1Auzrh9Pa5m8HpxLmxUbePR/K30vJTUPiQnPjtDWoXfhfO4N74QG5 cKD4MnCzLRTGthosLDWYwFirRL4nHclQgbw3tbUe8rqVrIlWOP9BNIMwUSPtAI7pqO6v kEb50EScUQFar5p/2NMvp9AiHgJrF34eR+CaDiXuIFjnApVmRC0B2VxPFvA1uCD9u0WW 4C/g== 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=9KFagyDnXDzenDtH054dzHB/myB3z8AuHCNsZDCYd6A=; b=J8Xd+VGBSVsDPc2p2P3gYrde+TFz6tRnBzJpE0CRRbdHrv/MOgNA5FD4ueAz821SCs diEgAgLWCKxXmnZ6h/AGKe2PQsxSK8O1T1MDHWURF3g5gU7c1nt62jtAkVAazIN51R5G G6gMuOf+WtBedtk4ychYuBa2UkFifZoozD6SAFH9Jk7LyZI+FalNSzDdeRdq9btJk9cI 44HlcwSzAei0ECB5rg1YM8G4sKCOHJlitv7Y3bTzRz6Svbuv23ptm/q7nDeArcIJPvd3 lTLiC+Jj1EnksSytvkrT71yCWRXLrNEfxIS1lbnKQtjz8AMSaRBCiEovSHlgBwFRDEcC CZjw== X-Gm-Message-State: ALQs6tA17B0YDXwYfnNuVnn7dS5sD7psGVXc1G1TD1s6VRm+NZcwmA9f 4yM6a053VTPw3u+I/9hLtucc0pomyhD26KGGVxW2Rw== X-Google-Smtp-Source: AB8JxZoZDbxLGrAOSUoDP7WNzMzStON/NFaR+8xDoYh7szKENkXYpFh3R2bQ2y+tHHYyvpQzVl3iwgPTYuR9Ugadscs= X-Received: by 2002:a50:b7ed:: with SMTP id i42-v6mr59205604ede.284.1525856808533; Wed, 09 May 2018 02:06:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.179.231 with HTTP; Wed, 9 May 2018 02:06:48 -0700 (PDT) In-Reply-To: References: <5aa26e5f.d05b1c0a.10214.5e41@mx.google.com> <836065weec.fsf@gnu.org> <5aa2ff79.c786df0a.cebf4.23cd@mx.google.com> <83bmfutwzk.fsf@gnu.org> <5aad23e1.c1471c0a.8eac2.b6fe@mx.google.com> <83efkipx3r.fsf@gnu.org> From: =?UTF-8?Q?M=C3=A1rton?= Marczell Date: Wed, 9 May 2018 11:06:48 +0200 Message-ID: Content-Type: multipart/alternative; boundary="0000000000000d0094056bc239ad" X-Spam-Score: -0.0 (/) 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: -1.0 (-) --0000000000000d0094056bc239ad Content-Type: text/plain; charset="UTF-8" This bug has reappeared and I have investigated its conditions further. The conditions appear to be the following: - Emacs is started with a working directory with only ASCII characters in the path (no accented letters) - There is at least one "multi-file package" in ~/.emacs.d/elpa/ This latter requirement is satisfied even with an empty package (only a "foo" folder with a foo-pkg.el containing only the necessary define-package and nothing else.) --0000000000000d0094056bc239ad Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This bug has reappeared and I hav= e investigated its conditions further. The conditions appear to be the foll= owing:
=C2=A0- Emacs is started with a working directory wit= h only ASCII characters in the path (no accented letters)
=C2=A0- = There is at least one "multi-file package" in ~/.emacs.d/elpa/
This latter requirement is satisfied even with an empty package (only a=20 "foo" folder with a foo-pkg.el containing only the necessary=20 define-package and nothing else.)
--0000000000000d0094056bc239ad-- From unknown Sun Jun 22 11:42:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30755: 25.3; Encoding of load-file-name wrong when path toworking dir does not contain accented letter Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 May 2018 17:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30755 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible moreinfo To: =?UTF-8?Q?M=C3=A1rton?= Marczell Cc: 30755@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 30755-submit@debbugs.gnu.org id=B30755.152588688911590 (code B ref 30755); Wed, 09 May 2018 17:29:01 +0000 Received: (at 30755) by debbugs.gnu.org; 9 May 2018 17:28:09 +0000 Received: from localhost ([127.0.0.1]:55530 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fGSsr-00030r-1X for submit@debbugs.gnu.org; Wed, 09 May 2018 13:28:09 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48645) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fGSsp-00030f-99 for 30755@debbugs.gnu.org; Wed, 09 May 2018 13:28:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fGSsg-0005WP-2f for 30755@debbugs.gnu.org; Wed, 09 May 2018 13:28:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44094) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGSsf-0005WE-VP; Wed, 09 May 2018 13:27:57 -0400 Received: from [176.228.60.248] (port=4334 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fGSsf-0000Zc-CF; Wed, 09 May 2018 13:27:57 -0400 Date: Wed, 09 May 2018 20:28:08 +0300 Message-Id: <83fu30pwlz.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from =?UTF-8?Q?M=C3=A1rton?= Marczell on Wed, 9 May 2018 11:01:26 +0200) References: <5aa26e5f.d05b1c0a.10214.5e41@mx.google.com> <836065weec.fsf@gnu.org> <5aa2ff79.c786df0a.cebf4.23cd@mx.google.com> <83bmfutwzk.fsf@gnu.org> <5aad23e1.c1471c0a.8eac2.b6fe@mx.google.com> <83efkipx3r.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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-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: -6.0 (------) > From: Márton Marczell > Date: Wed, 9 May 2018 11:01:26 +0200 > Cc: 30755-done@debbugs.gnu.org > > This bug has reappeared and I have investigated its conditions further. The conditions appear to be the > following: > - Emacs is started with a working directory with only ASCII characters in the path (no accented letters) > - There is at least one "multi-file package" in ~/.emacs.d/elpa/ > This latter requirement is satisfied even with an empty package (only a "foo" folder with a foo-pkg.el containing > only the necessary define-package and nothing else.) Can you provide all the necessary files and a procedure to reproduce this problem? Given that the problem is so elusive, I think having a recipe to reproduce exactly what you do and with the same data will allow us to investigate much more efficiently. Thanks. From unknown Sun Jun 22 11:42:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30755: 25.3; Encoding of load-file-name wrong when pathtoworking dir does not contain accented letter Resent-From: =?UTF-8?Q?M=C3=A1rton?= Marczell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 May 2018 22:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30755 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible moreinfo To: Eli Zaretskii Cc: "30755@debbugs.gnu.org" <30755@debbugs.gnu.org> Received: via spool by 30755-submit@debbugs.gnu.org id=B30755.152599100924975 (code B ref 30755); Thu, 10 May 2018 22:24:02 +0000 Received: (at 30755) by debbugs.gnu.org; 10 May 2018 22:23:29 +0000 Received: from localhost ([127.0.0.1]:56935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fGtyC-0006Uk-QN for submit@debbugs.gnu.org; Thu, 10 May 2018 18:23:28 -0400 Received: from mail-wr0-f178.google.com ([209.85.128.178]:43316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fGtyA-0006UX-Cm for 30755@debbugs.gnu.org; Thu, 10 May 2018 18:23:26 -0400 Received: by mail-wr0-f178.google.com with SMTP id v15-v6so3438505wrm.10 for <30755@debbugs.gnu.org>; Thu, 10 May 2018 15:23:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:mime-version:to:cc:from:subject:date:importance :in-reply-to:references; bh=fLqpyzQigmdJUlG+RhNcHpfBbug7/WNgC/qITBfuNcU=; b=mUrypsUDMt0CKaGE0U6cYdBj2/rCXe+mtBuE9Mafcq+mTdQ+Q5RTg/bUhnlFQwBgBQ 15MVnzbkghc66uFhL+NUEN4xdeReMSccQwYyL3LNoI34NAHmldSJDyKuEGkKK9ulDOoW 63zi9kiQbL6Um1Z6BrU08tGkfZmhtoTCqfgKvE/J48NFk/CmX0JRwB8b8rbhiNEeQjbu NVGoy90FCyZHDSSD+Eww9coBodDGwGKwPqjQXguFCX6t1RTMr38KLYuLwnGPeZT7F+Qa v8HbIvg2u/Y4+9x0BjZG16Z91ChlZ692zO2djNb3Wbq9zjWthWNEOv+WJIEgorVSocZB wttg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version:to:cc:from:subject:date :importance:in-reply-to:references; bh=fLqpyzQigmdJUlG+RhNcHpfBbug7/WNgC/qITBfuNcU=; b=aJyLWQAGD+sy/EoGNbIQeZfZ1HRu6fhMIdlrfbx0nVbxsCkY4g1OXuWQ5FI0ajdgLD uqGzPUnmB6BDFiuqoQEOt5VthlOvR/+McRkXHnOBljYNbLrW2kul80IBUXRn9WcQcj3Z JvKK62lMyX8UBIiibMlk9S1nUSQjd347nhmep+40/Uu32RPg1HazYGm6SB8FlQT7CdSc vMtVX31cn1qdCKJW8C1XFl0CS5vMixuxmsQFEkkmxTGvjCk4BTWNX+o1N1eZohR8M+LF IPSsQMAQEyPcekD0vmOBOym1Bj85kurGUYIilzbzS/0owaDvlym7x0jeAlAiImMAQzFW f7QA== X-Gm-Message-State: ALKqPwdZgwYaCNwqfBsHLK63LFWqiF+JuOKkPwKB2mFtGTTHfYD0nfrA FaJX+Tn7BfeOliRxUqxL5YciWYzK X-Google-Smtp-Source: AB8JxZo4S2AWkdD5GijT/X+jvLiXLZkGWgSmUBDM2pVet4MwR5QP6n9k2ZVejPEF40JCXM13IjED5g== X-Received: by 2002:adf:ba91:: with SMTP id p17-v6mr2479550wrg.125.1525991000687; Thu, 10 May 2018 15:23:20 -0700 (PDT) Received: from ?IPv6:::ffff:192.168.2.4? (5E1BAFC5.mobile.pool.telekom.hu. [94.27.175.197]) by smtp.gmail.com with ESMTPSA id 16-v6sm2671882wrt.20.2018.05.10.15.23.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 May 2018 15:23:19 -0700 (PDT) Message-ID: <5af4c657.1c69fb81.34361.19f1@mx.google.com> MIME-Version: 1.0 From: =?UTF-8?Q?M=C3=A1rton?= Marczell Date: Fri, 11 May 2018 00:23:18 +0200 Importance: normal X-Priority: 3 In-Reply-To: <83fu30pwlz.fsf@gnu.org> References: <5aa26e5f.d05b1c0a.10214.5e41@mx.google.com> <836065weec.fsf@gnu.org> <5aa2ff79.c786df0a.cebf4.23cd@mx.google.com> <83bmfutwzk.fsf@gnu.org> <5aad23e1.c1471c0a.8eac2.b6fe@mx.google.com> <83efkipx3r.fsf@gnu.org> <83fu30pwlz.fsf@gnu.org> Content-Type: multipart/alternative; boundary="_C35431AB-1D54-43F9-952C-AECEC552550B_" X-Spam-Score: 0.0 (/) 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: -1.0 (-) --_C35431AB-1D54-43F9-952C-AECEC552550B_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" > Can you provide all the necessary files and a procedure to reproduce > this problem? Given that the problem is so elusive, I think having a > recipe to reproduce exactly what you do and with the same data will > allow us to investigate much more efficiently. I=E2=80=99ve uploaded the repro files at http://users.itk.ppke.hu/~marma/downloads/emacsdebug.zip The procedure is: 1. Create a Windows user with an accented letter in its name (mine is =E2= =80=9CM=C3=A1rton=E2=80=9D) 2. Unzip the above files to %APPDATA% (C:\Users\M=C3=A1rton\AppData\Roaming= ) 3. Start Emacs so that the working directory has no accented letter in the = path 4. Notice how in the Messages buffer, the path name is wrongly encoded. --_C35431AB-1D54-43F9-952C-AECEC552550B_ Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"

> Can you provid= e all the necessary files and a procedure to reproduce

> this problem?=C2=A0 Given tha= t the problem is so elusive, I think having a

> recipe to reproduce exactly what you d= o and with the same data will

> allow us to investigate much more efficiently.

 

I=E2=80=99ve uploaded the re= pro files at

<= a href=3D"http://users.itk.ppke.hu/~marma/downloads/emacsdebug.zip">http://= users.itk.ppke.hu/~marma/downloads/emacsdebug.zip

=

 

The procedure is:

  • Create = a Windows user with an accented letter in its name (mine is =E2=80=9CM=C3= =A1rton=E2=80=9D)
  • Unzip the a= bove files to %APPDATA% (C:\Users\M=C3=A1rton\AppData\Roaming)
  • Start Emacs so that the working directory = has no accented letter in the path
  • Notice how in the Messages buffer, the path name is wrongly encoded.
  • &nbs= p;

     

    = --_C35431AB-1D54-43F9-952C-AECEC552550B_-- From unknown Sun Jun 22 11:42:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30755: 25.3; Encoding of load-file-name wrong when pathtoworking dir does not contain accented letter Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 May 2018 17:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30755 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible moreinfo To: =?UTF-8?Q?M=C3=A1rton?= Marczell Cc: 30755@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 30755-submit@debbugs.gnu.org id=B30755.152640495228044 (code B ref 30755); Tue, 15 May 2018 17:23:02 +0000 Received: (at 30755) by debbugs.gnu.org; 15 May 2018 17:22:32 +0000 Received: from localhost ([127.0.0.1]:35946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fIdei-0007IG-4p for submit@debbugs.gnu.org; Tue, 15 May 2018 13:22:32 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fIdeg-0007I2-PB for 30755@debbugs.gnu.org; Tue, 15 May 2018 13:22:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fIdeW-0002Lq-Tk for 30755@debbugs.gnu.org; Tue, 15 May 2018 13:22:25 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37376) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fIdeW-0002Ll-QN; Tue, 15 May 2018 13:22:20 -0400 Received: from [176.228.60.248] (port=2482 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fIdeW-0004jI-9c; Tue, 15 May 2018 13:22:20 -0400 Date: Tue, 15 May 2018 20:22:28 +0300 Message-Id: <83tvr8kf57.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <5af4c657.1c69fb81.34361.19f1@mx.google.com> (message from =?UTF-8?Q?M=C3=A1rton?= Marczell on Fri, 11 May 2018 00:23:18 +0200) References: <5aa26e5f.d05b1c0a.10214.5e41@mx.google.com> <836065weec.fsf@gnu.org> <5aa2ff79.c786df0a.cebf4.23cd@mx.google.com> <83bmfutwzk.fsf@gnu.org> <5aad23e1.c1471c0a.8eac2.b6fe@mx.google.com> <83efkipx3r.fsf@gnu.org> <83fu30pwlz.fsf@gnu.org> <5af4c657.1c69fb81.34361.19f1@mx.google.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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-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: -6.0 (------) > Cc: "30755@debbugs.gnu.org" <30755@debbugs.gnu.org> > From: Márton Marczell > Date: Fri, 11 May 2018 00:23:18 +0200 > > I’ve uploaded the repro files at > > http://users.itk.ppke.hu/~marma/downloads/emacsdebug.zip > > The procedure is: > > 1 Create a Windows user with an accented letter in its name (mine is “Márton”) > 2 Unzip the above files to %APPDATA% (C:\Users\Márton\AppData\Roaming) > 3 Start Emacs so that the working directory has no accented letter in the path > 4 Notice how in the Messages buffer, the path name is wrongly encoded. Thanks. Creating a new user is not really feasible for me, but I think I succeeded recreating this by setting HOME manually to point to a directory with a non-ASCII name. I see the problem, and I'm testing a provisional solution. Can you build your own Emacs from sources? If so, I'd like to ask you to test the solution I came up with. From unknown Sun Jun 22 11:42:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30755: 25.3; Encoding of load-file-name wrong whenpathtoworking dir does not contain accented letter Resent-From: =?UTF-8?Q?M=C3=A1rton?= Marczell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 May 2018 07:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30755 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible moreinfo To: Eli Zaretskii Cc: "30755@debbugs.gnu.org" <30755@debbugs.gnu.org> Received: via spool by 30755-submit@debbugs.gnu.org id=B30755.152645652930140 (code B ref 30755); Wed, 16 May 2018 07:43:02 +0000 Received: (at 30755) by debbugs.gnu.org; 16 May 2018 07:42:09 +0000 Received: from localhost ([127.0.0.1]:36289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fIr4b-0007q3-Er for submit@debbugs.gnu.org; Wed, 16 May 2018 03:42:09 -0400 Received: from mail-wm0-f41.google.com ([74.125.82.41]:51429) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fIr4a-0007pp-6i for 30755@debbugs.gnu.org; Wed, 16 May 2018 03:42:08 -0400 Received: by mail-wm0-f41.google.com with SMTP id j4-v6so5170128wme.1 for <30755@debbugs.gnu.org>; Wed, 16 May 2018 00:42:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:mime-version:to:cc:from:subject:date:importance :in-reply-to:references; bh=rXXjnFnrPuwaHjxkvxouDY+Nw+RmtC8DSHXTp2F3Xf8=; b=BGsmvMJTVJyTAAz+J04QkKajv7uWYRb0ie6XKyqy6ASYUHjwtkauf/oSgn4RzA913b fAf/UMSztzTVZJTNUe/6K3YYZJNdOeR1vJDMikfW0sIMI9JjPT8vEhOKodaBPfdaMef8 H7+W/ZpTxDoRJHhatZOMsCeHR5TQ9xbX2pbiI+EPWVeT0kHuJWI+SbGEb0FzGEJzLdOL EU3Romhfv1RWLDEMddh7DxQxCQ9NSRhYyQMeFbEfjIxBShx5zQ7HCwe94p5cbvf5zjYK X8B2od5UROSuDuiFhU2FtAlTBI+uor35XUDGN3DCH7C492s9ZP3UKD4M+jNjoLtHb7wZ pobg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version:to:cc:from:subject:date :importance:in-reply-to:references; bh=rXXjnFnrPuwaHjxkvxouDY+Nw+RmtC8DSHXTp2F3Xf8=; b=SEvTGME0rPjdwadxm6YVo0Nl9itiTrd7pjsO35tPVqziEYUKTC46y/WM5wT6AGZ9pq OEOCoelLIdODq75M0NGIK/zC4yAM+gA1wNtpfdrxgSwGNJ2S17E0ZYQBbI9g2e3sPUWR CuT04PUTQE7CMjYb1RCCxDWRL443g94Kcbfquko4Lm/Eet+wHqjLBvgEoa1VWsbCRtRO 9+P5W1ApRCNOkngVq2D6xcZ6LLj4mVCqLXawLf4EhF9adn6vCLDjJ/7XUNT+5lBdroNW EtogHZC9AR5JYlD2IB5COSsj5XBTmQ25bO9Kw1uxOZVqBwiPsCCQ5dJ8ElGKM5U8tknn VOtg== X-Gm-Message-State: ALKqPwemBLZ4pn7CHNOxF0ZDhp1G0uBc/Igh9Cryt6nmwLOLZbHs9ExX EzpJfmtNL/eR7GNv2c7krgQ= X-Google-Smtp-Source: AB8JxZo76ZQKNKWOYtl/QYaZ+I+J8zhDBpBiatiLUQf7vhK0MgeUCZrx6tUMbwZUz930uCj+S69uSg== X-Received: by 2002:a1c:b245:: with SMTP id b66-v6mr723429wmf.31.1526456522469; Wed, 16 May 2018 00:42:02 -0700 (PDT) Received: from ?IPv6:::ffff:192.168.2.4? (5E1BAFB4.mobile.pool.telekom.hu. [94.27.175.180]) by smtp.gmail.com with ESMTPSA id p189-v6sm2220240wmg.18.2018.05.16.00.42.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 May 2018 00:42:01 -0700 (PDT) Message-ID: <5afbe0c9.1c69fb81.2bfe1.d10b@mx.google.com> MIME-Version: 1.0 From: =?UTF-8?Q?M=C3=A1rton?= Marczell Date: Wed, 16 May 2018 09:42:00 +0200 Importance: normal X-Priority: 3 In-Reply-To: <83tvr8kf57.fsf@gnu.org> References: <5aa26e5f.d05b1c0a.10214.5e41@mx.google.com> <836065weec.fsf@gnu.org> <5aa2ff79.c786df0a.cebf4.23cd@mx.google.com> <83bmfutwzk.fsf@gnu.org> <5aad23e1.c1471c0a.8eac2.b6fe@mx.google.com> <83efkipx3r.fsf@gnu.org> <83fu30pwlz.fsf@gnu.org> <5af4c657.1c69fb81.34361.19f1@mx.google.com> <83tvr8kf57.fsf@gnu.org> Content-Type: multipart/alternative; boundary="_89C6D831-C592-48F3-832B-988369239C6B_" X-Spam-Score: -0.0 (/) 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: -1.0 (-) --_89C6D831-C592-48F3-832B-988369239C6B_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" I=E2=80=99ve never built Emacs, but if the instructions at https://gist.git= hub.com/nauhygon/f3b44f51b34e89bc54f8 are not wildly incorrect or out-of-da= te then I think I can do it. Do I get the code with git? What=E2=80=99s the= repo/branch URL I should use? --_89C6D831-C592-48F3-832B-988369239C6B_ Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"

    I=E2=80=99ve never = built Emacs, but if the instructions at https://gist.github.com/nauhygon/f3b44f51b34= e89bc54f8 are not wildly incorrect or out-of-date then I think I can do= it. Do I get the code with git? What=E2=80=99s the repo/branch URL I shoul= d use?

    =  

    = --_89C6D831-C592-48F3-832B-988369239C6B_-- From unknown Sun Jun 22 11:42:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30755: 25.3; Encoding of load-file-name wrong whenpathtoworking dir does not contain accented letter Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 May 2018 08:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30755 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible moreinfo To: =?UTF-8?Q?M=C3=A1rton?= Marczell Cc: "30755@debbugs.gnu.org" <30755@debbugs.gnu.org> Received: via spool by 30755-submit@debbugs.gnu.org id=B30755.152645808932564 (code B ref 30755); Wed, 16 May 2018 08:09:01 +0000 Received: (at 30755) by debbugs.gnu.org; 16 May 2018 08:08:09 +0000 Received: from localhost ([127.0.0.1]:36315 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fIrTl-0008TA-0N for submit@debbugs.gnu.org; Wed, 16 May 2018 04:08:09 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40069) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fIrTi-0008Sh-Ke for 30755@debbugs.gnu.org; Wed, 16 May 2018 04:08:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fIrTc-0001OZ-IC for 30755@debbugs.gnu.org; Wed, 16 May 2018 04:08:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fIrTS-0001MA-6k; Wed, 16 May 2018 04:07:50 -0400 Received: from [176.13.233.216] (port=16271 helo=[10.130.175.155]) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1fIrTR-0008EU-KA; Wed, 16 May 2018 04:07:50 -0400 Date: Wed, 16 May 2018 11:07:46 +0300 User-Agent: K-9 Mail for Android In-Reply-To: <5afbe0c9.1c69fb81.2bfe1.d10b@mx.google.com> References: <5aa26e5f.d05b1c0a.10214.5e41@mx.google.com> <836065weec.fsf@gnu.org> <5aa2ff79.c786df0a.cebf4.23cd@mx.google.com> <83bmfutwzk.fsf@gnu.org> <5aad23e1.c1471c0a.8eac2.b6fe@mx.google.com> <83efkipx3r.fsf@gnu.org> <83fu30pwlz.fsf@gnu.org> <5af4c657.1c69fb81.34361.19f1@mx.google.com> <83tvr8kf57.fsf@gnu.org> <5afbe0c9.1c69fb81.2bfe1.d10b@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Eli Zaretskii Message-ID: <04AF7956-7A0E-4D3B-BCAD-E2C0C4EE685D@gnu.org> 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-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: -6.0 (------) On May 16, 2018 10:42:00 AM GMT+03:00, "M=C3=A1rton Marczell" wrote: > I=E2=80=99ve never built Emacs, but if the instructions at > https://gist=2Egithub=2Ecom/nauhygon/f3b44f51b34e89bc54f8 are not wildly > incorrect or out-of-date then I think I can do it=2E Do I get the code > with git? What=E2=80=99s the repo/branch URL I should use? Please use the master branch of the Emacs Git repository, and I'd prefer if you used the instructions in the file nt/INSTALL=2EW64 that you find in the repository=2E From unknown Sun Jun 22 11:42:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30755: 25.3; Encoding of load-file-name wrongwhenpathtoworking dir does not contain accented letter Resent-From: =?UTF-8?Q?M=C3=A1rton?= Marczell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 May 2018 14:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30755 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible moreinfo To: Eli Zaretskii Cc: "30755@debbugs.gnu.org" <30755@debbugs.gnu.org> Received: via spool by 30755-submit@debbugs.gnu.org id=B30755.15265689292246 (code B ref 30755); Thu, 17 May 2018 14:56:01 +0000 Received: (at 30755) by debbugs.gnu.org; 17 May 2018 14:55:29 +0000 Received: from localhost ([127.0.0.1]:38702 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fJKJV-0000aA-Fj for submit@debbugs.gnu.org; Thu, 17 May 2018 10:55:29 -0400 Received: from mail-wm0-f46.google.com ([74.125.82.46]:53083) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fJKJT-0000Zy-IK for 30755@debbugs.gnu.org; Thu, 17 May 2018 10:55:27 -0400 Received: by mail-wm0-f46.google.com with SMTP id w194-v6so8935488wmf.2 for <30755@debbugs.gnu.org>; Thu, 17 May 2018 07:55:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:mime-version:to:cc:from:subject:date:importance :in-reply-to:references; bh=BPOtVFx5R+dywsy9+fUo7/9lI27Szwd+MVrCqyrpj0I=; b=mJXbD2PXc3P3nFlu1npav7D164o9imC7HPuOgdr+Q0qQufaY/y9ddVv1Cb6Xi04TvU QleLNauPDIVdbWFpYg80p9qzIHwYBslGUv0NO374dtNPde15j2aXTv6pTGswpk1VrpeJ Wa8sltk/DMeaPMV9f6vSOAk/2Z81LCpHFWtbDpk39YkTEvXYdPCSjj5I8V2KAmUPpFKn YywSl79GBPppv/K0xmbmvspBigcWAQCYKK9uY25Ve4h0dMZwzBlielrujCKkJWeAxLLj 5w/vlXCYjVBQ/tdOQInOLk8qZGgQgL7Q6cQWq7+PTu3W708S1XkUiAHm+il7GcACX12+ 5gyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version:to:cc:from:subject:date :importance:in-reply-to:references; bh=BPOtVFx5R+dywsy9+fUo7/9lI27Szwd+MVrCqyrpj0I=; b=QiJMjjwAzWKroiJnFp2ME29Ov7uvQzwW7FHztIatj8x83JMVdh+stdqtbgV7lzTvqJ UUWnbnwWudUz6fQ8OvEMSQPNEajhRw5vmJoai5mj3yzWAOQBTL0lPC5qmQcJMH34s2Tc RlQ0XKhTHnwKtMluwwwFq48JhlcyuCtWQnTeODMD+rON6kcbKcF7Obwif9v3o9CDoPPy s8TDTAbVqpQYl6wp56cHLh9LwE5B6Gvw8Epj0us1CxP3LPUlbdJlbgWEyqQQjacjnib8 0rv/7xTIPMK/rtPw787GeuI28YApwG/U5Z2cCML/ZK5AvqsSKr9CB01gOF5YptmMBplt 5D9w== X-Gm-Message-State: ALKqPwcBg2J0uifhGi9RHN/DjC7XUqQRtPrFL+8cwTtejieTFippkjLu 5zE3DVEG50ml6M1EZjnQVj14q7DI X-Google-Smtp-Source: AB8JxZrKzFj5o07CLKiMuD+tlTGMUkIsyE4yTBrmdZBer7gcsbF4HLF+gzJl1VV0NzFFrVaEhcdIMg== X-Received: by 2002:a1c:9015:: with SMTP id s21-v6mr1973580wmd.75.1526568899891; Thu, 17 May 2018 07:54:59 -0700 (PDT) Received: from ?IPv6:::ffff:192.168.2.4? (5E1BE27A.mobile.pool.telekom.hu. [94.27.226.122]) by smtp.gmail.com with ESMTPSA id a129-v6sm5112166wme.34.2018.05.17.07.54.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 May 2018 07:54:58 -0700 (PDT) Message-ID: <5afd97c2.1c69fb81.53c57.01cf@mx.google.com> MIME-Version: 1.0 From: =?UTF-8?Q?M=C3=A1rton?= Marczell Date: Thu, 17 May 2018 16:54:56 +0200 Importance: normal X-Priority: 3 In-Reply-To: <04AF7956-7A0E-4D3B-BCAD-E2C0C4EE685D@gnu.org> References: <5aa26e5f.d05b1c0a.10214.5e41@mx.google.com> <836065weec.fsf@gnu.org> <5aa2ff79.c786df0a.cebf4.23cd@mx.google.com> <83bmfutwzk.fsf@gnu.org> <5aad23e1.c1471c0a.8eac2.b6fe@mx.google.com> <83efkipx3r.fsf@gnu.org> <83fu30pwlz.fsf@gnu.org> <5af4c657.1c69fb81.34361.19f1@mx.google.com> <83tvr8kf57.fsf@gnu.org> <5afbe0c9.1c69fb81.2bfe1.d10b@mx.google.com> <04AF7956-7A0E-4D3B-BCAD-E2C0C4EE685D@gnu.org> Content-Type: multipart/alternative; boundary="_9D290FE7-73B6-4486-AEEE-7F100FDE079D_" X-Spam-Score: -0.0 (/) 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: -1.0 (-) --_9D290FE7-73B6-4486-AEEE-7F100FDE079D_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" I cloned git.savannah.gnu.org/r/emacs.git and built emacs. I set the HOME e= nvvar to =E2=80=98D:\Marci\Programoz=C3=A1s\emacsdebug=E2=80=99 which conta= ined the repro case from above. I still get wrong output when the load path= is printed: Loading d:/Marci/Programoz s/emacsdebug/foo.el (source)... "d:/Marci/Programoz=C3=83=C2=A1s/emacsdebug/foo.el" --_9D290FE7-73B6-4486-AEEE-7F100FDE079D_ Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"

    I cloned git.savannah.gnu.org/r/emacs.git and built emacs. I set the= HOME envvar to =E2=80=98D:\Marci\Programoz=C3=A1s\emacsdebug=E2=80=99 whic= h contained the repro case from above. I still get wrong output when the lo= ad path is printed:

     

    Loading d:/Marci/Programoz=C2=A0 s/emacsdebug/foo.el (source)...

    &nb= sp;

    "d:= /Marci/Programoz=C3=83=C2=A1s/emacsdebug/foo.el"=

    = --_9D290FE7-73B6-4486-AEEE-7F100FDE079D_-- From unknown Sun Jun 22 11:42:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30755: 25.3; Encoding of load-file-name wrongwhenpathtoworking dir does not contain accented letter Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 May 2018 15:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30755 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible moreinfo To: =?UTF-8?Q?M=C3=A1rton?= Marczell Cc: 30755@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 30755-submit@debbugs.gnu.org id=B30755.15265703554490 (code B ref 30755); Thu, 17 May 2018 15:20:01 +0000 Received: (at 30755) by debbugs.gnu.org; 17 May 2018 15:19:15 +0000 Received: from localhost ([127.0.0.1]:38732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fJKgT-0001AK-RQ for submit@debbugs.gnu.org; Thu, 17 May 2018 11:19:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53981) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fJKgS-0001A8-7y for 30755@debbugs.gnu.org; Thu, 17 May 2018 11:19:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJKgJ-0005wm-Ui for 30755@debbugs.gnu.org; Thu, 17 May 2018 11:19:07 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50416) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJKgJ-0005wX-Rf; Thu, 17 May 2018 11:19:03 -0400 Received: from [176.228.60.248] (port=2442 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fJKgJ-0006s7-6w; Thu, 17 May 2018 11:19:03 -0400 Date: Thu, 17 May 2018 18:19:16 +0300 Message-Id: <83tvr6ia2z.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <5afd97c2.1c69fb81.53c57.01cf@mx.google.com> (message from =?UTF-8?Q?M=C3=A1rton?= Marczell on Thu, 17 May 2018 16:54:56 +0200) References: <5aa26e5f.d05b1c0a.10214.5e41@mx.google.com> <836065weec.fsf@gnu.org> <5aa2ff79.c786df0a.cebf4.23cd@mx.google.com> <83bmfutwzk.fsf@gnu.org> <5aad23e1.c1471c0a.8eac2.b6fe@mx.google.com> <83efkipx3r.fsf@gnu.org> <83fu30pwlz.fsf@gnu.org> <5af4c657.1c69fb81.34361.19f1@mx.google.com> <83tvr8kf57.fsf@gnu.org> <5afbe0c9.1c69fb81.2bfe1.d10b@mx.google.com> <04AF7956-7A0E-4D3B-BCAD-E2C0C4EE685D@gnu.org> <5afd97c2.1c69fb81.53c57.01cf@mx.google.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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-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: -6.0 (------) > Cc: "30755@debbugs.gnu.org" <30755@debbugs.gnu.org> > From: Márton Marczell > Date: Thu, 17 May 2018 16:54:56 +0200 > > I cloned git.savannah.gnu.org/r/emacs.git and built emacs. I set the HOME envvar to > ‘D:\Marci\Programozás\emacsdebug’ which contained the repro case from above. I still get wrong output > when the load path is printed: I didn't yet commit my changes, so the fact you still see the problem is expected. Please apply the patch below, rebuild Emacs (by typing "make" at the shell prompt in the top-level directory of the Emacs tree), and see if the problem goes away. Thanks. --- src/fileio.c~0 2018-02-12 12:40:44.000000000 +0200 +++ src/fileio.c 2018-05-15 18:13:28.240161500 +0300 @@ -865,33 +865,71 @@ the root directory. */) } } multibyte = STRING_MULTIBYTE (name); - if (multibyte != STRING_MULTIBYTE (default_directory)) + bool defdir_multibyte = STRING_MULTIBYTE (default_directory); + if (multibyte != defdir_multibyte) { + /* We want to make both NAME and DEFAULT_DIRECTORY have the same + multibyteness. Strategy: + . If either NAME or DEFAULT_DIRECTORY is pure-ASCII, they + can be converted to the multibyteness of the other one + while keeping the same byte sequence. + . If both are non-ASCII, the only safe conversion is to + convert the multibyte one to be unibyte, because the + reverse conversion potentially adds bytes while raw bytes + are converted to their multibyte forms, which we will be + unable to account for, since the information about the + original multibyteness is lost. If those additional bytes + later leak to system APIs because they are not encoded or + because they are converted to unibyte strings by keeping + the data, file APIs will fail. */ if (multibyte) { - unsigned char *p = SDATA (name); + bool name_ascii_p = SCHARS (name) == SBYTES (name); + unsigned char *p = SDATA (default_directory); - while (*p && ASCII_CHAR_P (*p)) - p++; - if (*p == '\0') + if (!name_ascii_p) + while (*p && ASCII_CHAR_P (*p)) + p++; + if (name_ascii_p || *p != '\0') { - /* NAME is a pure ASCII string, and DEFAULT_DIRECTORY is - unibyte. Do not convert DEFAULT_DIRECTORY to - multibyte; instead, convert NAME to a unibyte string, - so that the result of this function is also a unibyte - string. This is needed during bootstrapping and - dumping, when Emacs cannot decode file names, because - the locale environment is not set up. */ + /* DEFAULT_DIRECTORY is unibyte and possibly non-ASCII. + Make a unibyte string out of NAME, and arrange for + the result of this function to be a unibyte string. + This is needed during bootstrapping and dumping, when + Emacs cannot decode file names, because the locale + environment is not set up. */ name = make_unibyte_string (SSDATA (name), SBYTES (name)); multibyte = 0; } else - default_directory = string_to_multibyte (default_directory); + { + /* NAME is non-ASCII and multibyte, and + DEFAULT_DIRECTORY is unibyte and pure-ASCII: make a + multibyte string out of DEFAULT_DIRECTORY's data. */ + default_directory = + make_multibyte_string (SSDATA (default_directory), + SCHARS (default_directory), + SCHARS (default_directory)); + } } else { - name = string_to_multibyte (name); - multibyte = 1; + unsigned char *p = SDATA (name); + + while (*p && ASCII_CHAR_P (*p)) + p++; + if (*p == '\0') + { + /* DEFAULT_DIRECTORY is multibyte and NAME is unibyte + and pure-ASCII. Make a multibyte string out of + NAME's data. */ + name = make_multibyte_string (SSDATA (name), + SCHARS (name), SCHARS (name)); + multibyte = 1; + } + else + default_directory = make_unibyte_string (SSDATA (default_directory), + SBYTES (default_directory)); } } --- lisp/startup.el~0 2018-03-14 06:40:04.000000000 +0200 +++ lisp/startup.el 2018-05-16 18:48:50.597482900 +0300 @@ -560,9 +560,17 @@ (if default-directory (setq default-directory (if (eq system-type 'windows-nt) - ;; Convert backslashes to forward slashes. - (expand-file-name - (decode-coding-string default-directory coding t)) + ;; We pass the decoded default-directory as + ;; the 2nd arg to make sure expand-file-name + ;; sees a multibyte string as the default + ;; directory; this avoids the side effect of + ;; returning a unibyte string from + ;; expand-file-name because it still sees + ;; the undecoded value of default-directory. + (let ((defdir (decode-coding-string default-directory + coding t))) + ;; Convert backslashes to forward slashes. + (expand-file-name defdir defdir)) (decode-coding-string default-directory coding t)))))) ;; Decode all the important variables and directory lists, now From unknown Sun Jun 22 11:42:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30755: 25.3; Encoding of load-file-name wrongwhenpathtoworking dir does not contain accented letter Resent-From: =?UTF-8?Q?M=C3=A1rton?= Marczell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 May 2018 13:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30755 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible moreinfo To: Eli Zaretskii Cc: 30755@debbugs.gnu.org Received: via spool by 30755-submit@debbugs.gnu.org id=B30755.15266487886744 (code B ref 30755); Fri, 18 May 2018 13:07:02 +0000 Received: (at 30755) by debbugs.gnu.org; 18 May 2018 13:06:28 +0000 Received: from localhost ([127.0.0.1]:39280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fJf5Y-0001ki-BI for submit@debbugs.gnu.org; Fri, 18 May 2018 09:06:28 -0400 Received: from mail-wm0-f49.google.com ([74.125.82.49]:53034) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fJf5W-0001kU-C3 for 30755@debbugs.gnu.org; Fri, 18 May 2018 09:06:26 -0400 Received: by mail-wm0-f49.google.com with SMTP id w194-v6so13959748wmf.2 for <30755@debbugs.gnu.org>; Fri, 18 May 2018 06:06:26 -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 :cc; bh=cQuzxP5x9vQDXUAwJP9zej93wwS1irFgqQkBb+j8dvM=; b=pFxmmUQ8KpFppBLwch4WJXPH8HFqoscyLxuj9Xe+M6j4ykjm5e88YBhNZ73MGwb+Jb +276fTAisOF6gYleJ+rBzA3djtAt8GuhT3zj21/W9ZjTzXfgEEL3I0dsaFjEKUQKK2/N nY7K3f5IvbiUC0v8LHJ/lThElqPaH5fB5fYm+9RhTKhjFokxViN4qRo/Uwj27c26yke8 IqnNFREStaBiWyzlIf8gtV+e8TDpwqdAVxy1fwR+IQZAvTd4/LlJbi/ELVQJtRaN4tlH CqVI8d/X+l8x8uabHtYoDNs2HohGcj2/5SnkdIoC/GAG75gLR4xBcShfGGUj9VAiNuqA WGmg== 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:cc; bh=cQuzxP5x9vQDXUAwJP9zej93wwS1irFgqQkBb+j8dvM=; b=VYYFk9tz7SBCdrTJWPZKkMIch+9z2+XrqcO8QhjWuWtl8v/zS1g86OjbfeQM2FtGMx PjxlqyMltS1ndXQwH7kiMXyi3WMnRe9txMZc0x08PzCEepzmvmYMrj85io/FeJ2ycKnX iZ2IZ+y1oE6cR9+PNni7dLKjZuTHW9M1rslOlRwwV1/uwTFS1EjgvcEYluvusUn+C6xZ DB0xd0I/oSYBIZdQpVjmgcn90nRehEQodWKe2qGLjRROyROmYFy3peBgljE5pRacw1O0 up0U3Kymh7gqlW6kqWoySlB15I9Qrb74XuPD8Bc959jrSvBxMSfMheWCooQsis7YJ568 yFwA== X-Gm-Message-State: ALKqPwe82WmogIbddF/FKv4F5pKkT4aMWuZ1NkyFigYiT2HJQqIey/Af O/Wo+xn3yOfPvHnUPu2M3Y2tH0/FpvSuMPzzVpQ= X-Google-Smtp-Source: AB8JxZoTdQWpBBgfxmwi+aFLi1BFkYr/hkKPEkt4kTVK3MTenzWbpmKWFoyoKHPKPN2YXoYcooKriSIIWL5raQ4NSJQ= X-Received: by 2002:a50:d514:: with SMTP id u20-v6mr11746479edi.73.1526648780617; Fri, 18 May 2018 06:06:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.179.231 with HTTP; Fri, 18 May 2018 06:06:20 -0700 (PDT) In-Reply-To: <83tvr6ia2z.fsf@gnu.org> References: <5aa26e5f.d05b1c0a.10214.5e41@mx.google.com> <836065weec.fsf@gnu.org> <5aa2ff79.c786df0a.cebf4.23cd@mx.google.com> <83bmfutwzk.fsf@gnu.org> <5aad23e1.c1471c0a.8eac2.b6fe@mx.google.com> <83efkipx3r.fsf@gnu.org> <83fu30pwlz.fsf@gnu.org> <5af4c657.1c69fb81.34361.19f1@mx.google.com> <83tvr8kf57.fsf@gnu.org> <5afbe0c9.1c69fb81.2bfe1.d10b@mx.google.com> <04AF7956-7A0E-4D3B-BCAD-E2C0C4EE685D@gnu.org> <5afd97c2.1c69fb81.53c57.01cf@mx.google.com> <83tvr6ia2z.fsf@gnu.org> From: =?UTF-8?Q?M=C3=A1rton?= Marczell Date: Fri, 18 May 2018 15:06:20 +0200 Message-ID: Content-Type: multipart/alternative; boundary="00000000000043fb64056c7a9ed0" X-Spam-Score: -0.0 (/) 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: -1.0 (-) --00000000000043fb64056c7a9ed0 Content-Type: text/plain; charset="UTF-8" The patch fixed the problem for me. --00000000000043fb64056c7a9ed0 Content-Type: text/html; charset="UTF-8"
    The patch fixed the problem for me.
    --00000000000043fb64056c7a9ed0-- From unknown Sun Jun 22 11:42:38 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: =?UTF-8?Q?M=C3=A1rton?= Marczell Subject: bug#30755: closed (Re: bug#30755: 25.3; Encoding of load-file-name wrongwhenpathtoworking dir does not contain accented letter) Message-ID: References: <83a7sxhymz.fsf@gnu.org> <5aa26e5f.d05b1c0a.10214.5e41@mx.google.com> X-Gnu-PR-Message: they-closed 30755 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: unreproducible moreinfo Reply-To: 30755@debbugs.gnu.org Date: Fri, 18 May 2018 13:39:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1526650743-9633-1" This is a multi-part message in MIME format... ------------=_1526650743-9633-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #30755: 25.3; Encoding of load-file-name wrong when path to working dir doe= s not contain accented letter which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 30755@debbugs.gnu.org. --=20 30755: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D30755 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1526650743-9633-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 30755-done) by debbugs.gnu.org; 18 May 2018 13:39:01 +0000 Received: from localhost ([127.0.0.1]:39318 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fJfb3-0002V4-DQ for submit@debbugs.gnu.org; Fri, 18 May 2018 09:39:01 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fJfb0-0002Us-RI for 30755-done@debbugs.gnu.org; Fri, 18 May 2018 09:38:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJfas-0000Bz-BK for 30755-done@debbugs.gnu.org; Fri, 18 May 2018 09:38:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52596) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJfas-0000Bt-8b; Fri, 18 May 2018 09:38:50 -0400 Received: from [176.228.60.248] (port=4652 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fJfar-0001VY-7s; Fri, 18 May 2018 09:38:50 -0400 Date: Fri, 18 May 2018 16:38:44 +0300 Message-Id: <83a7sxhymz.fsf@gnu.org> From: Eli Zaretskii To: =?utf-8?Q?M=C3=A1rton?= Marczell In-reply-to: (message from =?utf-8?Q?M=C3=A1rton?= Marczell on Fri, 18 May 2018 15:06:20 +0200) Subject: Re: bug#30755: 25.3; Encoding of load-file-name wrongwhenpathtoworking dir does not contain accented letter References: <5aa26e5f.d05b1c0a.10214.5e41@mx.google.com> <836065weec.fsf@gnu.org> <5aa2ff79.c786df0a.cebf4.23cd@mx.google.com> <83bmfutwzk.fsf@gnu.org> <5aad23e1.c1471c0a.8eac2.b6fe@mx.google.com> <83efkipx3r.fsf@gnu.org> <83fu30pwlz.fsf@gnu.org> <5af4c657.1c69fb81.34361.19f1@mx.google.com> <83tvr8kf57.fsf@gnu.org> <5afbe0c9.1c69fb81.2bfe1.d10b@mx.google.com> <04AF7956-7A0E-4D3B-BCAD-E2C0C4EE685D@gnu.org> <5afd97c2.1c69fb81.53c57.01cf@mx.google.com> <83tvr6ia2z.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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: 30755-done Cc: 30755-done@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: -6.0 (------) > From: Márton Marczell > Date: Fri, 18 May 2018 15:06:20 +0200 > Cc: 30755@debbugs.gnu.org > > The patch fixed the problem for me. Thanks, I therefore pushed the patch to the master branch. It is too late to make such changes on the release branch for Emacs 26.1, but if there going to be Emacs 26.2, I will backport the change to it after Emacs 26.1 is released. Thank you for all your help in tracking down this elusive problem. I'm closing the bug. ------------=_1526650743-9633-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 9 Mar 2018 11:22:25 +0000 Received: from localhost ([127.0.0.1]:51769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euG6S-0007T8-N2 for submit@debbugs.gnu.org; Fri, 09 Mar 2018 06:22:25 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euG6Q-0007Ss-L0 for submit@debbugs.gnu.org; Fri, 09 Mar 2018 06:22:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1euG6J-0001Qg-Ti for submit@debbugs.gnu.org; Fri, 09 Mar 2018 06:22:17 -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,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55078) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1euG6J-0001Qc-Ou for submit@debbugs.gnu.org; Fri, 09 Mar 2018 06:22:15 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47138) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1euG6H-0007MH-Tz for bug-gnu-emacs@gnu.org; Fri, 09 Mar 2018 06:22:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1euG6E-0001Ps-LM for bug-gnu-emacs@gnu.org; Fri, 09 Mar 2018 06:22:13 -0500 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]:38857) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1euG6E-0001PU-AD for bug-gnu-emacs@gnu.org; Fri, 09 Mar 2018 06:22:10 -0500 Received: by mail-wm0-x22e.google.com with SMTP id z9so3247362wmb.3 for ; Fri, 09 Mar 2018 03:22:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:mime-version:to:from:subject:date:importance; bh=IFHI7Le2NNY9LyOaa0CpgkQPqFeArnYUU/hkeaaIJAs=; b=A+OKa2HleBz/4q9+4zcekWZlK4KU4eR4Hzd6ZDXSYql6wjAyhled7L4i1qdyHQLRML 5Pm/4otq9Ql/o3SoHEQsbaKH2iz+3SsDFk49UPZJf266V2QXeLn1QBzHBQGD0tFJ19Qx 8Z4XgnQHg1mRtQadCgDZNNPYPAH+Crs2s2KRpNPJs06Nka9etiaDYQI0L/BFjsHW1Uo4 0ocCEVnNApgX1OMlZLgOTY6GcWEs+KpkGuuasr8ffnFvMuGTrOCm1P0osXGwEfJw9KPa Lc4xOdnpLAvvIriyMzthpaadvhSI5SVHemNs68lLo/z9KoWsBYDtWow62tNECpMPRqEQ kysQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version:to:from:subject:date :importance; bh=IFHI7Le2NNY9LyOaa0CpgkQPqFeArnYUU/hkeaaIJAs=; b=WsX76iUVy0W3BLvaQvYjcmXltsxwTYxzwrhXGnoLGekd+s5NtbTEdTaX4T4YCY945q atiIIEDpP9t+kP5u/8k6f4lNoWv+tuVINUqpm1q7unIidZDfBh98oBfsZJGzn6TyUgv1 cpl52og3n2XB+u1DIYSx1TXXAv7cBKpGhtREzA1NGyHp6IcRRma50iS5vzCa7HRVpJH4 doB7UzJYEwgh3Zqlku5Anzf+uJQgpAClNnJggvjHs+RuMCAjEIWECHqkO+gpdZZdnZW8 lgzE8uyWuqazAoVkxAOF5Hj1OX5wYIPxuLDG01uuJa/7pZvAOUefJ6yuDWC2PUvdydvw 7FYA== X-Gm-Message-State: AElRT7HWZOgyDf4hp5j24vPX7y1wlQzcWzNvYPfSspIEVEiFbeq0vgKK nA/i+mi5WNQDSVRQbIu0wB2lUAwv X-Google-Smtp-Source: AG47ELufRFBxTiGvIIIE42s+tnLodc5GVmPqJTfhZIUq1FbuE2gs2xPmMjpCed/IynMS6tUfzX55rA== X-Received: by 10.28.180.132 with SMTP id d126mr1865925wmf.93.1520594528363; Fri, 09 Mar 2018 03:22:08 -0800 (PST) Received: from ?IPv6:::ffff:192.168.2.4? (5E1BEE66.mobile.pool.telekom.hu. [94.27.238.102]) by smtp.gmail.com with ESMTPSA id p199sm1067071wmb.42.2018.03.09.03.22.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Mar 2018 03:22:07 -0800 (PST) Message-ID: <5aa26e5f.d05b1c0a.10214.5e41@mx.google.com> MIME-Version: 1.0 To: "bug-gnu-emacs@gnu.org" From: =?utf-8?Q?M=C3=A1rton_Marczell?= Subject: 25.3; Encoding of load-file-name wrong when path to working dir does not contain accented letter Date: Fri, 9 Mar 2018 12:22:05 +0100 Importance: normal X-Priority: 3 Content-Type: multipart/alternative; boundary="_B83777E9-1898-452F-B03C-EE5E30B5168E_" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit 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: -4.0 (----) --_B83777E9-1898-452F-B03C-EE5E30B5168E_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" My Windows username is M=C3=A1rton. In one of the files loaded by my .emacs (neotree.el), I added this line: (print load-file-name) 1. I start Emacs from the command line with no arguments. 2. I view the *Messages* buffer. If the directory from which I launched Emacs has an accent in its path, e.g. "D:\=C3=A1\", this is printed: "c:/Users/M=C3=A1rton/AppData/Roaming/.emacs.d/elpa/neotree-0.5.2/neotree.e= l" But if it doesn't, e.g. "D:\a\", this is printed: "c:/Users/M=C3=83=C2=A1rton/AppData/Roaming/.emacs.d/elpa/neotree-0.5.2/neo= tree.el" (This prevents the neotree package from loading images in the latter case.) Please see also bug#25038, which seems related. In GNU Emacs 25.3.1 (x86_64-w64-mingw32) of 2017-09-26 built on LAPHROAIG Windowing system distributor 'Microsoft Corp.', version 10.0.16299 Configured using: 'configure --without-dbus --without-compress-install 'CFLAGS=3D-O2 -static -g3' PKG_CONFIG_PATH=3D/mingw64/lib/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS Important settings: value of $LANG: HUN locale-coding-system: cp1250 Major mode: Messages Minor modes in effect: diff-auto-refine-mode: t shell-dirtrack-mode: t tooltip-mode: t global-eldoc-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 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: "TATTARAA TATTARAA TATTARAA" "c:/Users/M=C3=A1rton/AppData/Roaming/.emacs.d/elpa/neotree-0.5.2/neotree.e= l" "c:/Users/M=C3=A1rton/AppData/Roaming/.emacs.d/elpa/neotree-0.5.2/" Loading c:/Users/M=C3=A1rton/AppData/Roaming/.emacs.d/custom.el (source)...= done For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message idna rfc822 mml mml-sec epg mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils vc-git diff-mode easy-mmode cursor-sensor js2-mode etags xref project js sgml-mode cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs imenu dired neotree derived finder-inf package epg-config sql view thingatpt edmacro kmacro python tramp-sh tramp tramp-compat auth-source cl-seq eieio eieio-core cl-macs gnus-util mm-util help-fns mail-prsvr password-cache tramp-loaddefs trampver ucs-normalize shell pcomplete format-spec advice json map seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv comint ring cl-loaddefs pcase cl-lib ansi-color time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded 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 w32notify w32 multi-tty make-network-process emacs) Memory information: ((conses 16 370288 19749) (symbols 56 34419 0) (miscs 48 60 234) (strings 32 62682 11501) (string-bytes 1 1969857) (vectors 16 54523) (vector-slots 8 895948 6275) (floats 8 467 185) (intervals 56 909 73) (buffers 976 20)) --_B83777E9-1898-452F-B03C-EE5E30B5168E_ Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"

    My Windows username is M=C3=A1rton.

    In one of the files loaded b= y my .emacs (neotree.el), I added this line:

    =C2=A0=C2=A0 (print load-file-name)

     

    1. I start Emacs from the co= mmand line with no arguments.

    2. I view the *Messages* buffer.

     

    If the directory from which I launched Emacs ha= s an accent in its path,

    e.g. "D:\=C3=A1\", this is printed:<= /p>

    "c:/Users/M=C3=A1rton/AppDa= ta/Roaming/.emacs.d/elpa/neotree-0.5.2/neotree.el"

    But if it doesn't, e.g. "D:\= a\", this is printed:

    "c:/Users/M=C3=83=C2=A1rton/AppData/Roaming/.emacs.d/elpa= /neotree-0.5.2/neotree.el"

    <= span lang=3DEN-US> 

    (This prevents the neotree package from loading images in the la= tter case.)

    Pl= ease see also bug#25038, which seems related.

     

     

    <= span lang=3DEN-US> 

     

    In GNU Emacs 25.3.1 (x86_64-w64-mingw32)

    of 2017-09-26 built on LAPHROAIG

    Windowing system distri= butor 'Microsoft Corp.', version 10.0.16299

    Configured using:

    'configure --without-dbus --without-co= mpress-install 'CFLAGS=3D-O2

    -static -g3' PKG_CONFIG_PATH=3D/mingw64/lib/pkgconfig'=

     <= /span>

    Configured features:=

    XPM JPEG TIFF GIF = PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB

    TOOLKIT_SCROLL_BARS

     

    Important settings:

    =C2=A0 value of $LANG: HUN=

    =C2=A0 locale-coding-sys= tem: cp1250

     

    Major mod= e: Messages

     

    Minor mod= es in effect:

    = =C2=A0 diff-auto-refine-mode: t

    <= span lang=3DEN-US>=C2=A0 shell-dirtrack-mode: t

    =C2=A0 tooltip-mode: t<= /p>

    =C2=A0 global-eldoc-mode: t=

    =C2=A0 electric-in= dent-mode: t

    = =C2=A0 mouse-wheel-mode: t

    =C2=A0 tool-bar-mode: t

    =C2=A0 menu-bar-mode: t

    =C2=A0 file-name-shadow-mode: t=

    =C2=A0 global-font-lock-= mode: t

    =C2=A0= font-lock-mode: t

    =C2=A0 blink-cursor-mode: t

    = =C2=A0 auto-composition-mode: t

    =C2=A0 auto-encryption-mode: t

    =C2=A0 auto-compressi= on-mode: t

    =C2= =A0 buffer-read-only: t

    =C2=A0 line-number-mode: t

    =C2=A0 transient-mark-mode: t

    <= p class=3DMsoNormal> 

    Recent messages:

     

    "TATTARAA TATTARAA TATTARAA"

     

    "c:/Users/M=C3=A1rton/Ap= pData/Roaming/.emacs.d/elpa/neotree-0.5.2/neotree.el"

     

    "c:/Users/M=C3=A1rton/AppData/Ro= aming/.emacs.d/elpa/neotree-0.5.2/"

     

    Loading c:/Users/M=C3=A1rton/AppData/Roaming/.emacs.d/c= ustom.el (source)...done

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

    Making compl= etion list...

    =  

    Load-pa= th shadows:

    No= ne found.

     

    Features:

    (shadow sort ma= il-extr emacsbug message idna rfc822 mml mml-sec epg

    <= p class=3DMsoNormal>mm-decode mm-bodies mm-encode mail-p= arse rfc2231 mailabbrev gmm-utils

    mailheader sendmail rfc2047 rfc2045 ietf-drums mail-uti= ls vc-git

    diff= -mode easy-mmode cursor-sensor js2-mode etags xref project js

    sgml-mode cc-mode cc-fonts = cc-guess cc-menus cc-cmds cc-styles cc-align

    cc-engine cc-vars cc-defs imenu dired neotr= ee derived finder-inf package

    epg-config sql view thingatpt edmacro kmacro python tramp-s= h tramp

    tramp-= compat auth-source cl-seq eieio eieio-core cl-macs gnus-util

    mm-util help-fns mail-prsvr = password-cache tramp-loaddefs trampver

    ucs-normalize shell pcomplete format-spec advice j= son map seq byte-opt

    gv bytecomp byte-compile cl-extra help-mode easymenu cconv comint = ring

    cl-loadde= fs pcase cl-lib ansi-color time-date mule-util tooltip eldoc

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

    ls-lisp disp-table w32-win w32-vars term/common-= win tool-bar dnd fontset

    image regexp-opt fringe tabulated-list newcomment elisp-mode lis= p-mode

    prog-mo= de register page menu-bar rfn-eshadow timer select scroll-bar

    mouse jit-lock font-lock sy= ntax facemenu font-core frame cl-generic cham

    georgian utf-8-lang misc-lang vietnamese ti= betan thai tai-viet lao

    korean japanese eucjp-ms cp51932 hebrew greek romanian slovak cze= ch

    european et= hiopic indian cyrillic chinese charscript case-table epa-hook

    jka-cmpr-hook help simple a= bbrev minibuffer cl-preloaded nadvice

    loaddefs button faces cus-face macroexp files text-= properties overlay

    sha1 md5 base64 format env code-pages mule custom widget

    hashtable-print-readable ba= ckquote w32notify w32 multi-tty

    <= span lang=3DEN-US>make-network-process emacs)

     

    Memory information:

    ((conses 16 370288 19749)=

    (symbols 56 34419 0)

    (miscs 48 60 234)=

    (strings 32 62682= 11501)

    (stri= ng-bytes 1 1969857)

    (vectors 16 54523)

    (vector-slots 8 895948 6275)

    (floats 8 467 185)

    (intervals 56 909 73)<= /p>

    (buffers 976 20))

    = --_B83777E9-1898-452F-B03C-EE5E30B5168E_-- ------------=_1526650743-9633-1--