From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#15803: default-file-name-coding-system: utf-8 better than latin-1 these days? Date: Fri, 11 Sep 2020 12:55:55 +0200 Message-ID: <87imck1t1g.fsf@gnus.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> <835z8lk85y.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28904"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: rgm@gnu.org, 15803@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 11 12:57:10 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 1kGgjt-0007OX-KG for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 11 Sep 2020 12:57:09 +0200 Original-Received: from localhost ([::1]:55950 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kGgjs-0007N5-MC for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 11 Sep 2020 06:57:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGgjm-0007My-PF for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2020 06:57:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59285) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kGgjm-0004Zk-Fx for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2020 06:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kGgjm-00080P-Dg for bug-gnu-emacs@gnu.org; Fri, 11 Sep 2020 06:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Sep 2020 10:57:02 +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.159982177130704 (code B ref 15803); Fri, 11 Sep 2020 10:57:02 +0000 Original-Received: (at 15803) by debbugs.gnu.org; 11 Sep 2020 10:56:11 +0000 Original-Received: from localhost ([127.0.0.1]:42598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGgiw-0007z9-Tp for submit@debbugs.gnu.org; Fri, 11 Sep 2020 06:56:11 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:49898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kGgiv-0007yq-8B for 15803@debbugs.gnu.org; Fri, 11 Sep 2020 06:56:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=H8TITfVO6uWu4EYNigKXiu3AnHveZL6kHuIBTy6YMF4=; b=Y2w+nt/LSvXqmX9izzji4SW5iR 1kgESycSdOo0o4EFyisMTJpi0oc2eVCXESJNqZZKe4YoDD3NjDbC4jG8cotx58kawfN9ZhOHAYTDo sxFFpZTEwkeuZR7L/W5jHINqPNwT3EsJe3zrZ85g071tKC/AfuV8xCtIWPbt8m73B9Js=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kGgii-000146-NK; Fri, 11 Sep 2020 12:56:02 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEUZFRcrJimFe35c VFiaj5D///8ztEFsAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+QJCwoXOyIP/iAAAAGkSURBVDjLfZSB 0dsgDIUhXgCiLoDQAEZigQL7z1QZMMb/tdVd4oQv0pP0HBvjvHXGWd/DuX4xV9gwLvodMPgNyAJC dWS6fpL+D65PTMWZBQ5ZQDIOYN7AQK767m4QHsAXMHdXS8MctAPjF7BURoP7gKMtFL9+ap+uPIhE rWzfGjqbaLD7CaAD5PMGs5SF5CUKYZjguJcIQQFSWWCuPeUqjNRqsGbXsImrKlCJYqzbBjwSVC+I mubsuWlcAKRgBQW7H0f6VoBCmnFOo8ICmkQYJU0gSzwBUkQRGA7CzMg1fSMhpglWKYq6EUJKLCMj PUD7FYzM52aLgiCeO8Bz07AXSIyJI5fzNQd1CbVqgjV58brEglqqjYxR6pOqOptY24q0l/rIb4EI jCg1n3u7EkDXyBi95JeGBOGie1eDZ6k4AGsJXcgDjgkkxdwi0wVeDn5jyuprDnCXmhq/9LChTpLu UhNwBGpNb5M14A1CB60AduBvP3R9pbXS6hdfGZ/oswJFRO21dvHUelSE/faxAG1GfT8AQK5DfMDz f1ph/hV/gz1D9PUHSRlZMz3LMQMAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjAtMDktMTFUMTA6MjM6 NTkrMDA6MDAIPQn+AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIwLTA5LTExVDEwOjIzOjU5KzAwOjAw eWCxQgAAAABJRU5ErkJggg== X-Now-Playing: Rema Rema's _Fond Reflections (1): Demos and Demolitions_: "Gallery-Oh Rock 'n' Roll" In-Reply-To: <835z8lk85y.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 10 Sep 2020 17:39:37 +0300") 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:187811 Archived-At: Eli Zaretskii writes: >> 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 "=C3=A9macs", >> then converted it to 8859-1: > > No, please create the directory with non-ASCII name _after_ switching > the locale to Latin-1. Shouldn't the result be the same? I.e., a name with iso-8859-1 name? The reason I did it this convoluted name was just that I couldn't convince my system to make a 8859 name even after changing the locale. That is, when I typed Alt-gr ' e, my terminal still sent over two bytes (i.e., in utf-8) instead of a single-byte =C3=A9. But I think I know why "make check" was failing: [larsi@stories ~/src/emacs/trunk]$ echo $LANG sv_SE.ISO-8859-1 [larsi@stories ~/src/emacs/trunk]$ echo $LANG en_US.UTF-8 The tests that were failing all talked about "chmod" and stuff, so I'm guessing they were from a sub shell, and my system is apparently forcing all new shells to use UTF-8... And that was because I set the variables in .bashrc. I've now made them be 8859 also in sub-shells, but unfortunately that doesn't help (it was a long shot, anyway -- these aren't interactive shells, so .bashrc shouldn't be consulted). make check: >>Error occurred processing lisp/eshell/eshell-tests.el: File is missing ((= "Doing chmod" "No such file or directory" "/home/larsi/src/emacs/f\303\263o= /test/lisp/eshell/eshell-tests.elcgtybBC")) This time over, the directory is "f=C3=B3o" (in latin-1), and that looks li= ke Emacs is trying to find the utf-8 version of the file name. So it looks like the patch set has problems, and needs further fixes. (Or "make check" has some problems here, since Emacs otherwise seems to work fine.) --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no