From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#33796: 27.0.50; Use utf-8 is all our Elisp files Date: Tue, 18 Dec 2018 14:46:17 -0500 Message-ID: References: <83sgyud4it.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1545162316 15748 195.159.176.226 (18 Dec 2018 19:45:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 18 Dec 2018 19:45:16 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 33796@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 18 20:45:12 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gZLIl-0003zC-TZ for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Dec 2018 20:45:12 +0100 Original-Received: from localhost ([::1]:56073 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZLKr-00015e-Sj for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Dec 2018 14:47:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZLKb-00012I-TA for bug-gnu-emacs@gnu.org; Tue, 18 Dec 2018 14:47:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZLKY-0006Ok-7s for bug-gnu-emacs@gnu.org; Tue, 18 Dec 2018 14:47:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49477) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gZLKY-0006OF-3P for bug-gnu-emacs@gnu.org; Tue, 18 Dec 2018 14:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gZLKY-0001L3-08 for bug-gnu-emacs@gnu.org; Tue, 18 Dec 2018 14:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Dec 2018 19:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33796 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33796-submit@debbugs.gnu.org id=B33796.15451623875104 (code B ref 33796); Tue, 18 Dec 2018 19:47:01 +0000 Original-Received: (at 33796) by debbugs.gnu.org; 18 Dec 2018 19:46:27 +0000 Original-Received: from localhost ([127.0.0.1]:53735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gZLJz-0001KF-FQ for submit@debbugs.gnu.org; Tue, 18 Dec 2018 14:46:27 -0500 Original-Received: from alt32.smtp-out.videotron.ca ([24.53.0.21]:38693) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gZLJw-0001K1-Ae for 33796@debbugs.gnu.org; Tue, 18 Dec 2018 14:46:25 -0500 Original-Received: from fmsmemgm.homelinux.net ([23.233.195.134]) by Videotron with SMTP id ZLJpgc2dLcWUZZLJqgd4B1; Tue, 18 Dec 2018 14:46:18 -0500 X-Authority-Analysis: v=2.3 cv=VtMN/d+n c=1 sm=1 tr=0 a=xXJ578j8WyTliCxld3/pTA==:117 a=xXJ578j8WyTliCxld3/pTA==:17 a=2ur7OfE09M0A:10 a=kbUPmIcPg5ZeGJcTfy0A:9 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 8FAC2AEA23; Tue, 18 Dec 2018 14:46:17 -0500 (EST) In-Reply-To: <83sgyud4it.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 18 Dec 2018 21:22:02 +0200") X-CMAE-Envelope: MS4wfNkFL+uudUFGIWe8md+D7D4mJ/Yj9xnjQ/Rysr1tDl09vXvscDQiqG8Sax7QFVxZKYcIbreSD/qTD2xJ8/dbBdF0cbKXsrQkBf+t0nbktZfolPaVJjcd hdwvq7AV+NrkXgevdcBv/evW72ft9/r6vcZp3LZdnvjBcMQxjN7rtM6avJownW573OEq5qL7N/GOtYgDkNke+nI3Bg245y5YNv+d7i5VBMAP4yk5ftiedBe3 VTJql3UVRPhCdBo+ure6Ic4xVvtHY0K4bF0XZp3Th2w= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:153572 Archived-At: > The .elc files are identical, but visiting the .el files will (or > might) use different fonts, because the charset information is lost. > (You will see that I jumped through some hoops to do something similar > with etc/HELLO.) That's indeed what I understand of the situation. But I don't think it's a good reason to keep supporting non-utf-8 encoding for ever (many/most programming languages only support a single encoding, typically ASCII or utf-8 nowadays). Part of the purpose of this bug-report is to try and come up with a plan ;-) Hence, there are some questions: - Do those people who edit those files really care about the difference? After all, IIUC utf-8 is becoming standard even in the CJK world so maybe the change is not that terrible (or at least, users have gotten used to lowering their expectations in this respect). - If the change is indeed problematic, can we adjust it by using a file-global language tag? - If that's not sufficient, can we use a scheme like that of etc/HELLO but to keep the files directly usable as Elisp (so as to have our cake and eat it too)? > So I don't think we should make this change without considering > whether the charset information is as important nowadays as it was > back then. How 'bout installing the titdic-cnv.el part which changes the coding system used for the generated quail files (being auto-generated their rending as source files shouldn't matter nearly as much since noone should edit them)? > And I'm not really sure who to ask about this. I added Handa in the Cc, since I had forgotten to add him to the X-Debbugs-Cc. Stefan