From unknown Sat Jun 14 03:47:53 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#16667 <16667@debbugs.gnu.org> To: bug#16667 <16667@debbugs.gnu.org> Subject: Status: Accented home dir stops ELPA package Reply-To: bug#16667 <16667@debbugs.gnu.org> Date: Sat, 14 Jun 2025 10:47:53 +0000 retitle 16667 Accented home dir stops ELPA package reassign 16667 emacs submitter 16667 Stefan Monnier severity 16667 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 06 08:28:15 2014 Received: (at submit) by debbugs.gnu.org; 6 Feb 2014 13:28:15 +0000 Received: from localhost ([127.0.0.1]:52213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBP02-0002aU-Ek for submit@debbugs.gnu.org; Thu, 06 Feb 2014 08:28:15 -0500 Received: from eggs.gnu.org ([208.118.235.92]:45811) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBOzy-0002aL-VQ for submit@debbugs.gnu.org; Thu, 06 Feb 2014 08:28:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBOzs-00005d-Qd for submit@debbugs.gnu.org; Thu, 06 Feb 2014 08:28: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=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41472) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBOzs-00005Z-O2 for submit@debbugs.gnu.org; Thu, 06 Feb 2014 08:28:04 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBOzn-0000fq-4V for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2014 08:28:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBOzh-0008UR-IN for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2014 08:27:59 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:51893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBOzh-0008UL-DC for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2014 08:27:53 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjkIABK/CFFFpZBG/2dsb2JhbABErF0BikSHbBdzgnsTAUsPBCEBHA1Vh3OgC6EijR9EgycDiGGJegOES41RgV6DFYFICRcE X-IPAS-Result: AjkIABK/CFFFpZBG/2dsb2JhbABErF0BikSHbBdzgnsTAUsPBCEBHA1Vh3OgC6EijR9EgycDiGGJegOES41RgV6DFYFICRcE X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="46909005" Received: from 69-165-144-70.dsl.teksavvy.com (HELO pastel.home) ([69.165.144.70]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 06 Feb 2014 08:27:52 -0500 Received: by pastel.home (Postfix, from userid 20848) id 1A54060321; Thu, 6 Feb 2014 08:27:52 -0500 (EST) From: Stefan Monnier To: bug-gnu-emacs@gnu.org Subject: Accented home dir stops ELPA package X-debbugs-cc: cedric.sauriol@umontreal.ca Date: Thu, 06 Feb 2014 08:27:51 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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.15 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 (----) Package: Emacs Version: 24.3.50 A student of mine signals the following (with Emacs-24.3 under Windows): - start Emacs - M-x list-packages - install "lmc" - restart Emacs - open file foo.elmc - it's not in LMC-Asm mode as it should Apparently the problem is linked to the fact that his home directory has an accented letter. The ELPA installation produced the following messages: For information about GNU Emacs and the GNU system, type C-h C-a. Contacting host: elpa.gnu.org:80 Saving file c:/Users/Propri=E9taire.AlienwareCedric/AppData/Roaming/.ema= cs.d/elpa/archives/gnu/archive-contents... Wrote c:/Users/Propri=E9taire.AlienwareCedric/AppData/Roaming/.emacs.d/e= lpa/archives/gnu/archive-contents Contacting host: elpa.gnu.org:80 Saving file c:/Users/Propri=E9taire.AlienwareCedric/AppData/Roaming/.ema= cs.d/elpa/lmc-readme.txt... Wrote c:/Users/Propri=E9taire.AlienwareCedric/AppData/Roaming/.emacs.d/e= lpa/lmc-readme.txt Type C-x 1 to delete the help window, C-M-v to scroll help. Install package `lmc'? y Contacting host: elpa.gnu.org:80 Wrote c:/Users/Propri=E9taire.AlienwareCedric/AppData/Roaming/.emacs.d/e= lpa/lmc-1.3/lmc.el Wrote c:/Users/Propri=E9taire.AlienwareCedric/AppData/Roaming/.emacs.d/e= lpa/lmc-1.3/lmc-pkg.el Wrote c:/Users/Propri=E9taire.AlienwareCedric/AppData/Roaming/.emacs.d/e= lpa/lmc-1.3/lmc-autoloads.el Making version-control local to lmc-autoloads.el while let-bound! autoload-find-file: Opening input file: no such file or directory, c:/Us= ers/Propri=C3=A9taire.AlienwareCedric/AppData/Roaming/.emacs.d/elpa/lmc-1.3= /lmc-pkg.el we see the last line has an improperly (en/de)coded utf-8 sequence. Can someone reproduce this problem? Is it already fixed in trunk? Stefan In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.22) of 2014-02-02 on pastel Repository revision: monnier@iro.umontreal.ca-20140130214249-81biuubr7j6wwc= 30 Windowing system distributor `The X.Org Foundation', version 11.0.11405000 System Description: Debian GNU/Linux testing (jessie) Configured using: `configure -C --enable-checking --enable-check-lisp-object-type 'CFLAGS=3D-Wall -g3 -O0 -Wno-pointer-sign'' Important settings: value of $LANG: fr_CH.UTF-8 locale-coding-system: utf-8-unix Major mode: InactiveMinibuffer Minor modes in effect: diff-auto-refine-mode: t shell-dirtrack-mode: t electric-pair-mode: t url-handler-mode: t global-reveal-mode: t reveal-mode: t auto-insert-mode: t savehist-mode: t minibuffer-electric-default-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: SPC o r SPC f b o u n d . SPC ( b u g # =20 C-a C-x C-s =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 M-r C-x C-s=20 M-x c h - l - c l C-x C-s =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 C-x v=20 d =20 =20 m m =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 v =20 =20 =20 C-c C-c=20 =20 =20 C-e C-e =20 C-e M-x r e -=20 e m - b u Recent messages: Mark set Press C-c C-c when you are done editing. Enter a change comment. Type C-c C-c when done Checking in /home/monnier/src/emacs/trunk/lisp/ChangeLog /home/monnier/src/= emacs/trunk/lisp/emacs-lisp/lisp.el...done Error: (error "Running bzr status --no-classify lisp/ChangeLog...FAILED (st= atus 3)") Warnings in `bzr' output: bzr: ERROR: Could not acquire lock "/home/monnier= /src/emacs/trunk/.bzr/checkout/dirstate": [Errno 11] Resource temporarily u= navailable Error: (error "Running bzr status --no-classify lisp/emacs-lisp/lisp.el...F= AILED (status 3)") Warnings in `bzr' output: bzr: ERROR: Could not acquire lock "/home/monnier= /src/emacs/trunk/.bzr/checkout/dirstate": [Errno 11] Resource temporarily u= navailable Load-path shadows: /home/monnier/src/emacs/elpa/packages/company/.dir-locals hides /home/monni= er/src/emacs/elpa/packages/js2-mode/.dir-locals /home/monnier/src/emacs/elpa/packages/ada-mode/ada-mode hides /home/monnier= /src/emacs/work/lisp/progmodes/ada-mode /home/monnier/src/emacs/elpa/packages/company/.dir-locals hides /home/monni= er/src/emacs/work/lisp/gnus/.dir-locals Features: (sort mail-extr emacsbug log-edit message sendmail rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mail-utils mailheader pcvs-util vc-sccs vc-svn vc-cvs vc-rcs vc-dir smerge-mode bug-reference add-log whitespace diff-mode vc vc-dispatcher xscheme unsafep trace testcover shadow scheme re-builder profiler pcase inf-lisp ielm pp gmm-utils ert ewoc debug elp edebug cl-indent eieio-opt speedbar sb-image ezimage dframe completion autorevert filenotify bbdb-com mailabbrev bbdb timezone sgml-mode reftex-dcr reftex reftex-vars tex-mode compile shell latexenc org-protocol org-mouse org-mobile org-agenda org-indent org-feed org-crypt org-capture org-attach vc-git org-id cus-edit cus-start cus-load wid-edit org-element org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view jka-compr image-mode dired org-bibtex bibtex org-bbdb org-w3m org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func misearch multi-isearch executable copyright view cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs warnings cal-french vc-bzr filecache vlf diary-lib diary-loaddefs mule-util cal-move cal-menu calendar cal-loaddefs server noutline outline easy-mmode flyspell ispell eldoc checkdoc thingatpt help-mode elec-pair url-handlers url-parse auth-source eieio eieio-core gnus-util mm-util mail-prsvr password-cache url-vars reveal autoinsert proof-site proof-autoloads cl-macs gv cl pg-vars time-date savehist minibuf-eldef disp-table edmacro kmacro cl-loaddefs cl-lib info easymenu byte-opt bytecomp byte-compile cconv advice help-fns package bbdb-autoloads agda2 vm-autoloads tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 06 09:36:11 2014 Received: (at 16667) by debbugs.gnu.org; 6 Feb 2014 14:36:11 +0000 Received: from localhost ([127.0.0.1]:52257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBQ3g-0004Od-TQ for submit@debbugs.gnu.org; Thu, 06 Feb 2014 09:36:07 -0500 Received: from mtaout27.012.net.il ([80.179.55.183]:33887) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBQ3b-0004OB-1m for 16667@debbugs.gnu.org; Thu, 06 Feb 2014 09:36:00 -0500 Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0N0K00600WA4GE00@mtaout27.012.net.il> for 16667@debbugs.gnu.org; Thu, 06 Feb 2014 16:34:47 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N0K004AAWHYEB30@mtaout27.012.net.il>; Thu, 06 Feb 2014 16:34:47 +0200 (IST) Date: Thu, 06 Feb 2014 16:35:55 +0200 From: Eli Zaretskii Subject: Re: bug#16667: Accented home dir stops ELPA package In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <838utoz4tw.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT References: X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16667 Cc: cedric.sauriol@umontreal.ca, 16667@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii 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 (+) > From: Stefan Monnier > Date: Thu, 06 Feb 2014 08:27:51 -0500 > Cc: cedric.sauriol@umontreal.ca > > A student of mine signals the following (with Emacs-24.3 under Windows): > > - start Emacs > - M-x list-packages > - install "lmc" > - restart Emacs > - open file foo.elmc > - it's not in LMC-Asm mode as it should > > Apparently the problem is linked to the fact that his home directory has > an accented letter. Was that letter representable by the current Windows system codepage? If so, I don't think this is the problem. If it wasn't representable, such a directory cannot be used on Windows with Emacs 24.3. > The ELPA installation produced the following messages: > > For information about GNU Emacs and the GNU system, type C-h C-a. > Contacting host: elpa.gnu.org:80 > Saving file c:/Users/Propriétaire.AlienwareCedric/AppData/Roaming/.emacs.d/elpa/archives/gnu/archive-contents... > Wrote c:/Users/Propriétaire.AlienwareCedric/AppData/Roaming/.emacs.d/elpa/archives/gnu/archive-contents > Contacting host: elpa.gnu.org:80 > Saving file c:/Users/Propriétaire.AlienwareCedric/AppData/Roaming/.emacs.d/elpa/lmc-readme.txt... > Wrote c:/Users/Propriétaire.AlienwareCedric/AppData/Roaming/.emacs.d/elpa/lmc-readme.txt > Type C-x 1 to delete the help window, C-M-v to scroll help. > Install package `lmc'? y > Contacting host: elpa.gnu.org:80 > Wrote c:/Users/Propriétaire.AlienwareCedric/AppData/Roaming/.emacs.d/elpa/lmc-1.3/lmc.el > Wrote c:/Users/Propriétaire.AlienwareCedric/AppData/Roaming/.emacs.d/elpa/lmc-1.3/lmc-pkg.el > Wrote c:/Users/Propriétaire.AlienwareCedric/AppData/Roaming/.emacs.d/elpa/lmc-1.3/lmc-autoloads.el > Making version-control local to lmc-autoloads.el while let-bound! > autoload-find-file: Opening input file: no such file or directory, c:/Users/Propriétaire.AlienwareCedric/AppData/Roaming/.emacs.d/elpa/lmc-1.3/lmc-pkg.el > > we see the last line has an improperly (en/de)coded utf-8 sequence. Hmm... can you tell which code called autoload-find-file? > Is it already fixed in trunk? The trunk uses an entirely different machinery for non-ASCII file names on Windows, so it's hard to tell. But we did fix quite a few problems related to building and running Emacs from non-ASCII directories, so maybe this was one of them. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 07 08:50:31 2014 Received: (at 16667) by debbugs.gnu.org; 7 Feb 2014 13:50:31 +0000 Received: from localhost ([127.0.0.1]:54430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBlp8-0001NY-1O for submit@debbugs.gnu.org; Fri, 07 Feb 2014 08:50:30 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:44758) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBlp1-0001NF-IK for 16667@debbugs.gnu.org; Fri, 07 Feb 2014 08:50:28 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApwGABK/CFFFpZBG/2dsb2JhbABEvw4Xc2eBHRMHAQEEAVYjBQsLNBIUGA0QAROFXAeCOwayb4V9iEGGVIo2A4hhiXoDkhyBXoMV X-IPAS-Result: ApwGABK/CFFFpZBG/2dsb2JhbABEvw4Xc2eBHRMHAQEEAVYjBQsLNBIUGA0QAROFXAeCOwayb4V9iEGGVIo2A4hhiXoDkhyBXoMV X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="46997356" Received: from 69-165-144-70.dsl.teksavvy.com (HELO pastel.home) ([69.165.144.70]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 07 Feb 2014 08:50:22 -0500 Received: by pastel.home (Postfix, from userid 20848) id 6E8BD6054A; Fri, 7 Feb 2014 08:50:22 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#16667: Accented home dir stops ELPA package Message-ID: References: <838utoz4tw.fsf@gnu.org> Date: Fri, 07 Feb 2014 08:50:22 -0500 In-Reply-To: <838utoz4tw.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 06 Feb 2014 16:35:55 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 16667 Cc: cedric.sauriol@umontreal.ca, 16667@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.3 (/) > Was that letter representable by the current Windows system codepage? I assume so, since Emacs works at least to some extend and was able to access some of the files in that user's directory, as evidenced by the message-log I sent in my previous message. > If so, I don't think this is the problem. If it wasn't representable, > such a directory cannot be used on Windows with Emacs 24.3. He tested the same procedure after creating another user with home dir "/Users/LMC" and the problem disappeared, so the accent looks like a good explanation. >> we see the last line has an improperly (en/de)coded utf-8 sequence. > Hmm... can you tell which code called autoload-find-file? It's called from autoload-generate-file-autoloads itself called from package-generate-autoloads via update-directory-autoloads. A possible explanation is if the `directory-files' call in update-directory-autoloads (which requests full names, so the output file names include the "c:/Users/Propri=E9taire.AlienwareCedric/" prefix) returns mis-encoded names. E.g. prepends default-directory but marks the result as unibyte, or something. >> Is it already fixed in trunk? > The trunk uses an entirely different machinery for non-ASCII file > names on Windows, so it's hard to tell. Indeed, which is why I wonder if it might be fixed already. > But we did fix quite a few problems related to building and running > Emacs from non-ASCII directories, so maybe this was one of them. That's right. Could someone try to reproduce the problem in 24.3 and then see if it's fixed in trunk? Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 07 11:13:33 2014 Received: (at 16667) by debbugs.gnu.org; 7 Feb 2014 16:13:33 +0000 Received: from localhost ([127.0.0.1]:55252 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBo3Y-0005Ni-3s for submit@debbugs.gnu.org; Fri, 07 Feb 2014 11:13:32 -0500 Received: from mtaout25.012.net.il ([80.179.55.181]:60323) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBo3U-0005NX-Nu for 16667@debbugs.gnu.org; Fri, 07 Feb 2014 11:13:30 -0500 Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0N0M00A00VOK1400@mtaout25.012.net.il> for 16667@debbugs.gnu.org; Fri, 07 Feb 2014 18:12:39 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N0M000AHVP39090@mtaout25.012.net.il>; Fri, 07 Feb 2014 18:12:39 +0200 (IST) Date: Fri, 07 Feb 2014 18:13:24 +0200 From: Eli Zaretskii Subject: Re: bug#16667: Accented home dir stops ELPA package In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83iosqyk7v.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT References: <838utoz4tw.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 16667 Cc: cedric.sauriol@umontreal.ca, 16667@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii 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 (+) > From: Stefan Monnier > Cc: 16667@debbugs.gnu.org, cedric.sauriol@umontreal.ca > Date: Fri, 07 Feb 2014 08:50:22 -0500 > > > Hmm... can you tell which code called autoload-find-file? > > It's called from autoload-generate-file-autoloads itself called from > package-generate-autoloads via update-directory-autoloads. > > A possible explanation is if the `directory-files' call in > update-directory-autoloads (which requests full names, so the output > file names include the "c:/Users/Propriétaire.AlienwareCedric/" > prefix) returns mis-encoded names. E.g. prepends default-directory but > marks the result as unibyte, or something. Yes, but how would a unibyte string escape from C in the first place? Does any of the functions involved encode file names by hand? > > But we did fix quite a few problems related to building and running > > Emacs from non-ASCII directories, so maybe this was one of them. > > That's right. Could someone try to reproduce the problem in 24.3 and > then see if it's fixed in trunk? It's not easy to do, because this is the user's home directory, so you need to have a user with a non-ASCII character in her name. And the C:/Users directory is not generally writable, or at least it isn't supposed to be. Why don't you ask that guy to install a development snapshot? If the problem persists, we can help him then. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 07 23:56:56 2014 Received: (at 16667) by debbugs.gnu.org; 8 Feb 2014 04:56:56 +0000 Received: from localhost ([127.0.0.1]:56005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBzyJ-0007Ch-JK for submit@debbugs.gnu.org; Fri, 07 Feb 2014 23:56:55 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:49293) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBzyH-0007CY-2C for 16667@debbugs.gnu.org; Fri, 07 Feb 2014 23:56:53 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFpZBG/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOIYYl6A5IcgV6DFQ X-IPAS-Result: Av4EABK/CFFFpZBG/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLNBIUGA0kiB4GwS2RCgOIYYl6A5IcgV6DFQ X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="47067351" Received: from 69-165-144-70.dsl.teksavvy.com (HELO pastel.home) ([69.165.144.70]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 07 Feb 2014 23:56:51 -0500 Received: by pastel.home (Postfix, from userid 20848) id C8E7260617; Fri, 7 Feb 2014 23:56:51 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#16667: Accented home dir stops ELPA package Message-ID: References: <838utoz4tw.fsf@gnu.org> <83iosqyk7v.fsf@gnu.org> Date: Fri, 07 Feb 2014 23:56:51 -0500 In-Reply-To: <83iosqyk7v.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 07 Feb 2014 18:13:24 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 16667 Cc: cedric.sauriol@umontreal.ca, 16667@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.3 (/) > Yes, but how would a unibyte string escape from C in the first place? I suggested that directory-files might take the SDATA of the default-directory (i.e. its internal utf-8 representation), prepend it to the file name and mark the result as a unibyte string before returning it. I have no evidence saying it's what happens, but based on the message log something along these lines might be going on and could explain the behavior. > Does any of the functions involved encode file names by hand? You mean the functions in autoload.el or package.el? I don't think so. > Why don't you ask that guy to install a development snapshot? If the > problem persists, we can help him then. He's a student of mine, so use of Emacs is mostly imposed and I since he found a workaround (use that alternate user with all-ASCII name) I think he's happy enough to move on. Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 09 09:13:28 2016 Received: (at 16667) by debbugs.gnu.org; 9 Aug 2016 13:13:28 +0000 Received: from localhost ([127.0.0.1]:60822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bX6qW-00053A-4f for submit@debbugs.gnu.org; Tue, 09 Aug 2016 09:13:28 -0400 Received: from mail-oi0-f42.google.com ([209.85.218.42]:35247) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bX6qS-00052r-VB for 16667@debbugs.gnu.org; Tue, 09 Aug 2016 09:13:26 -0400 Received: by mail-oi0-f42.google.com with SMTP id 4so16754499oih.2 for <16667@debbugs.gnu.org>; Tue, 09 Aug 2016 06:13:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to :content-transfer-encoding; bh=cioeV14rfW/QnSdcGj0rUY3BfUTxy3RzaErxb4sQ9xQ=; b=WRrn7RoavtPiZEkQt7smEO3O1HJXtKPHQVP37vuLqHYjujd3DnQ+dF6HUwqludtpwJ UZZz9kCdzhitmjg+B3fQDUnN28yNulCJQlQ4qP5CQGDVbxS+30RHXuXoyR+IBzd6uVo/ kcn0ID+8PwHXUP2Ghtn1ZdqGYaqBoP2sXIqj0roKaIgYkNERRTdHx0O651DuO2zp6zO0 yVtRw6USrQ1O0qH5m2GissWfyoI1EL1engzXnnyjJs8DoT36JRYrTYQ1U435EpRpaIuc WrcTNtKHEw2NTQ5Vex/KzMPszEoo61AFmq3NS1XmTbemioZF9w+eUim0BisV426Iek7D KBbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to:content-transfer-encoding; bh=cioeV14rfW/QnSdcGj0rUY3BfUTxy3RzaErxb4sQ9xQ=; b=QV3xao+/qGVfzA1DRyzCSUK2Yqzj7u2u1Lxxycqr8lbFF6bG5Uace/GUkS2xEUF0B8 uGZUXZP5Kw0Yb7wRYU2tvGilFzvSIZ0juUHc7IyqS7f5YCL2Tpy/yqpOsJTg7I4N4Vjh Vq9ZCXtRbfmnXdwewwklnJKUfjC/BRdgFmkvqjtfPKc5ytL4lcYVaN1bO03e+r0kWOtZ rFmUwfZdcRNa9QROOXZ9XvIjrHYRKIWk8Sz8gYzog6iTXy1t035GbvWC+H7+XGwjjYg+ WRgWzj2WcXOYhiYiczDPGMQad6QNyeR3/HYMhw2CWXjg2pN1eU7xgZjOtUr1My37n0UB 640g== X-Gm-Message-State: AEkoouuPlfzZMcC26f7RAQKNZtFrC+uq210wWzSPJFe0A0UOet8ynQJvctd7g9DQfjphX1gx7OaYDcqZ78GkEw== X-Received: by 10.202.169.13 with SMTP id s13mr3915155oie.35.1470748399133; Tue, 09 Aug 2016 06:13:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.7.161 with HTTP; Tue, 9 Aug 2016 06:13:18 -0700 (PDT) From: Noam Postavsky Date: Tue, 9 Aug 2016 09:13:18 -0400 X-Google-Sender-Auth: RC66r-g1uD4JTHRAAQgBk7D8EaA Message-ID: Subject: #16667 Accented home dir stops ELPA package To: 16667@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 16667 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.7 (/) close 16667 24.5 quit > It's not easy to do, because this is the user's home directory, so > you need to have a user with a non-ASCII character in her name. And > the C:/Users directory is not generally writable, or at least it > isn't supposed to be. It's not that hard, just make a directory with non-ASCII name, and set HOME=3D to it. I confirmed it happens in 24.3, and works in 24.5 (24.4 crashed on startup with non-ASCII HOME). Contacting host: elpa.gnu.org:80 Making version-control local to lmc-autoloads.el while let-bound! Generating autoloads for lmc.el...done Saving file c:/Users/npostavs/tmp/Propri=C3=A9taire.AlienwareCedric/.emacs.= d/elpa/lmc-1.4/lmc-autoloads.el... Wrote c:/Users/npostavs/tmp/Propri=C3=A9taire.AlienwareCedric/.emacs.d/elpa= /lmc-1.4/lmc-autoloads.el (No changes need to be saved) (No files need saving) Checking c:/Users/npostavs/tmp/Propri=C3=A9taire.AlienwareCedric/.emacs.d/e= lpa/lmc-1.4... [2 times] Compiling c:/Users/npostavs/tmp/Propri=C3=A9taire.AlienwareCedric/.emacs.d/= elpa/lmc-1.4/lmc-pkg.el...done Wrote c:/Users/npostavs/tmp/Propri=C3=A9taire.AlienwareCedric/.emacs.d/elpa= /lmc-1.4/lmc-pkg.elc Checking c:/Users/npostavs/tmp/Propri=C3=A9taire.AlienwareCedric/.emacs.d/e= lpa/lmc-1.4... Compiling c:/Users/npostavs/tmp/Propri=C3=A9taire.AlienwareCedric/.emacs.d/= elpa/lmc-1.4/lmc.el...done Wrote c:/Users/npostavs/tmp/Propri=C3=A9taire.AlienwareCedric/.emacs.d/elpa= /lmc-1.4/lmc.elc Checking c:/Users/npostavs/tmp/Propri=C3=A9taire.AlienwareCedric/.emacs.d/e= lpa/lmc-1.4... Done (Total of 2 files compiled, 1 skipped) From unknown Sat Jun 14 03:47:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 07 Sep 2016 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator