From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#15803: default-file-name-coding-system: utf-8 better than latin-1 these days? Date: Thu, 10 Sep 2020 17:39:37 +0300 Message-ID: <835z8lk85y.fsf@gnu.org> References: <708ten8bam.fsf@fencepost.gnu.org> <83shcu3mtf.fsf@gnu.org> <83y3mdwo0a.fsf@gnu.org> <87imcn9jmq.fsf@gnus.org> <835z8nknar.fsf@gnu.org> <87r1r97pbz.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4311"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rgm@gnu.org, 15803@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 10 16:40:41 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kGNkd-0000yM-Rr for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Sep 2020 16:40:39 +0200 Original-Received: from localhost ([::1]:46432 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kGNkc-0007Iy-TO for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 10 Sep 2020 10:40:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGNk2-0006qk-9m for bug-gnu-emacs@gnu.org; Thu, 10 Sep 2020 10:40:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57576) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kGNk1-0000qu-Ul for bug-gnu-emacs@gnu.org; Thu, 10 Sep 2020 10:40:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kGNk1-0005Ns-S1 for bug-gnu-emacs@gnu.org; Thu, 10 Sep 2020 10:40:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Sep 2020 14:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15803 X-GNU-PR-Package: emacs Original-Received: via spool by 15803-submit@debbugs.gnu.org id=B15803.159974878220667 (code B ref 15803); Thu, 10 Sep 2020 14:40:01 +0000 Original-Received: (at 15803) by debbugs.gnu.org; 10 Sep 2020 14:39:42 +0000 Original-Received: from localhost ([127.0.0.1]:40889 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGNji-0005NG-1T for submit@debbugs.gnu.org; Thu, 10 Sep 2020 10:39:42 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52480) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGNjg-0005N3-99 for 15803@debbugs.gnu.org; Thu, 10 Sep 2020 10:39:40 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59922) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kGNja-0000oY-Uj; Thu, 10 Sep 2020 10:39:34 -0400 Original-Received: from [176.228.60.248] (port=4392 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kGNjY-0005SI-QX; Thu, 10 Sep 2020 10:39:33 -0400 In-Reply-To: <87r1r97pbz.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 10 Sep 2020 15:07:12 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:187737 Archived-At: > From: Lars Ingebrigtsen > Cc: rgm@gnu.org, 15803@debbugs.gnu.org > Date: Thu, 10 Sep 2020 15:07:12 +0200 > > > Please try building Emacs from a pristine tarball or a clean > > repository in a directory with non-ASCII characters, under a > > non-UTF-8, non-C locale. If that works, I think this is good to go. > > All the tools under Linux are so utf-8-focused these days... let's > see... I first, under a utf-8 locale created the directory "émacs", > then converted it to 8859-1: No, please create the directory with non-ASCII name _after_ switching the locale to Latin-1. > And then I build Emacs there, and it seems to work fine. Then I apply > the patch and say "make: > > Loading /home/larsi/src/emacs/�*macs/lisp/subdirs.el (source)... > >>Error occurred processing ../lisp/international/mule-cmds.el: File is missing (("Opening input file" "No such file or directory" "/home/larsi/src/emacs/�*macs/lisp/international/mule-cmds.el")) > make[2]: *** [Makefile:279: ../lisp/international/mule-cmds.elc] Error 1 > make[1]: *** [Makefile:784: ../lisp/international/mule-cmds.elc] Error 2 > make[1]: Leaving directory '/home/larsi/src/emacs/�*macs/src' > > So that fails pretty much immediately... > > OK, let's try a make bootstrap... > > And now building Emacs works fine. So it seems like a make bootstrap is > necessary after applying the patch. > > And starting Emacs works fine. > > But "make check" fails miserably: > > make[3]: *** [Makefile:165: src/eval-tests.elc] Error 1 > ELC src/font-tests.elc > >>Error occurred processing src/fileio-tests.el: File is missing (("Doing chmod" "No such file or directory" "/home/larsi/src/emacs/\301\203*macs/test/src/fileio-tests.elc7HRcu0")) > > So... This all happens because the directory name doesn't correspond to the locale. You need to create the directory in the 8859-1 locale.