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#15260: cannot build in a directory with non-ascii characters Date: Sun, 27 Oct 2013 18:19:27 +0200 Message-ID: <83k3gyfzzk.fsf@gnu.org> References: <83y55ih6g3.fsf@gnu.org> <81ppqums9o.fsf@fencepost.gnu.org> <83hac5h1ha.fsf@gnu.org> <83bo2dgq36.fsf@gnu.org> <837gd1gpcz.fsf@gnu.org> <8361slgnhk.fsf@gnu.org> <83zjpwfp3l.fsf@gnu.org> <83txg3g5ni.fsf@gnu.org> <83ob6bfjsz.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1382890817 20966 80.91.229.3 (27 Oct 2013 16:20:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Oct 2013 16:20:17 +0000 (UTC) Cc: 15260@debbugs.gnu.org To: rgm@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 27 17:20:20 2013 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 1VaT4d-0002mn-FE for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Oct 2013 17:20:19 +0100 Original-Received: from localhost ([::1]:38273 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VaT4c-0001jr-QP for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Oct 2013 12:20:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35490) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VaT4T-0001jS-Qv for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2013 12:20:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VaT4N-0007Yn-VN for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2013 12:20:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33613) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VaT4N-0007XW-S8 for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2013 12:20:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VaT4M-00064u-OC for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2013 12:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Oct 2013 16:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15260 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15260-submit@debbugs.gnu.org id=B15260.138289078023318 (code B ref 15260); Sun, 27 Oct 2013 16:20:02 +0000 Original-Received: (at 15260) by debbugs.gnu.org; 27 Oct 2013 16:19:40 +0000 Original-Received: from localhost ([127.0.0.1]:47632 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VaT40-000642-4p for submit@debbugs.gnu.org; Sun, 27 Oct 2013 12:19:40 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:55471) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VaT3x-00063m-Ek for 15260@debbugs.gnu.org; Sun, 27 Oct 2013 12:19:38 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MVC007004X6HP00@a-mtaout21.012.net.il> for 15260@debbugs.gnu.org; Sun, 27 Oct 2013 18:19:31 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MVC007U35CICN70@a-mtaout21.012.net.il>; Sun, 27 Oct 2013 18:19:31 +0200 (IST) In-reply-to: <83ob6bfjsz.fsf@gnu.org> 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:79697 Archived-At: > Date: Sun, 27 Oct 2013 05:56:44 +0200 > From: Eli Zaretskii > Cc: 15260@debbugs.gnu.org > > > Date: Sat, 26 Oct 2013 23:04:49 +0300 > > From: Eli Zaretskii > > Cc: 15260@debbugs.gnu.org > > > > > If my testing was correct, the problem only occurs during > > > building, not after Emacs is installed (does that tally with what you > > > found?). > > > > It definitely happens when building. I didn't look deep enough to see > > what happens once Emacs is installed. The code is definitely wrong. > > Btw, are you sure the installed Emacs doesn't find the files under the > source tree? Did you try to remove or rename it after installing? Further testing indicates that it indeed works to install in a non-ASCII directory after building. But it only barely works, at least in my testing: the various files and directories in doc-directory, load-path, etc. are unibyte strings, so using them only works if they are passed to file primitives. If you try to invoke a program with one of these values as a command-line argument, the program will fail (unless your locale encoding is identical to file-name encoding). And even using the unibyte strings in conjunction with files is fragile, as, for example, 'equal' will not compare unibyte and multibyte strings of the same bytes as equal.