From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#16667: Accented home dir stops ELPA package Date: Fri, 07 Feb 2014 18:13:24 +0200 Message-ID: <83iosqyk7v.fsf@gnu.org> References: <838utoz4tw.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1391789732 1547 80.91.229.3 (7 Feb 2014 16:15:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Feb 2014 16:15:32 +0000 (UTC) Cc: cedric.sauriol@umontreal.ca, 16667@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 07 17:15:38 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WBo5Z-0004TB-3F for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Feb 2014 17:15:37 +0100 Original-Received: from localhost ([::1]:42438 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBo5Y-0007jc-L0 for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Feb 2014 11:15:36 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBo49-0005TW-7b for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 11:14:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBo44-0003iC-47 for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 11:14:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41233) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBo44-0003i8-0J for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 11:14:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WBo42-0005Ok-RN for bug-gnu-emacs@gnu.org; Fri, 07 Feb 2014 11:14:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Feb 2014 16:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16667 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16667-submit@debbugs.gnu.org id=B16667.139178961320698 (code B ref 16667); Fri, 07 Feb 2014 16:14:02 +0000 Original-Received: (at 16667) by debbugs.gnu.org; 7 Feb 2014 16:13:33 +0000 Original-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 Original-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 Original-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) Original-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) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:84823 Archived-At: > 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.