From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?M=C3=A1rton?= Marczell Newsgroups: gmane.emacs.bugs Subject: bug#30755: 25.3; Encoding of load-file-name wrong when pathtoworking dir does not contain accented letter Date: Fri, 11 May 2018 00:23:18 +0200 Message-ID: <5af4c657.1c69fb81.34361.19f1@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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_C35431AB-1D54-43F9-952C-AECEC552550B_" X-Trace: blaine.gmane.org 1525990924 7956 195.159.176.226 (10 May 2018 22:22:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 10 May 2018 22:22:04 +0000 (UTC) Cc: "30755@debbugs.gnu.org" <30755@debbugs.gnu.org> To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 11 00:22:00 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fGtwm-0001wQ-7t for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 May 2018 00:22:00 +0200 Original-Received: from localhost ([::1]:35812 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGtyt-0002v5-8t for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 May 2018 18:24:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44490) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fGtyn-0002uw-LF for bug-gnu-emacs@gnu.org; Thu, 10 May 2018 18:24:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fGtyk-0006lI-H1 for bug-gnu-emacs@gnu.org; Thu, 10 May 2018 18:24:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49039) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fGtyk-0006lC-EL for bug-gnu-emacs@gnu.org; Thu, 10 May 2018 18:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fGtyk-0006Vc-7l for bug-gnu-emacs@gnu.org; Thu, 10 May 2018 18:24:02 -0400 X-Loop: help-debbugs@gnu.org 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 Original-Received: via spool by 30755-submit@debbugs.gnu.org id=B30755.152599100924975 (code B ref 30755); Thu, 10 May 2018 22:24:02 +0000 Original-Received: (at 30755) by debbugs.gnu.org; 10 May 2018 22:23:29 +0000 Original-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 Original-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 Original-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) Original-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) Importance: normal X-Priority: 3 In-Reply-To: <83fu30pwlz.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:146116 Archived-At: --_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_--