From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#33796: 27.0.50; Use utf-8 is all our Elisp files Date: Tue, 18 Dec 2018 21:22:02 +0200 Message-ID: <83sgyud4it.fsf@gnu.org> References: NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1545160880 1605 195.159.176.226 (18 Dec 2018 19:21:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 18 Dec 2018 19:21:20 +0000 (UTC) Cc: 33796@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 18 20:21:16 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 1gZKvX-0000F6-Ov for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Dec 2018 20:21:11 +0100 Original-Received: from localhost ([::1]:55986 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZKxe-0000a7-If for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Dec 2018 14:23:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZKxS-0000YU-9D for bug-gnu-emacs@gnu.org; Tue, 18 Dec 2018 14:23:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZKxL-0001oV-7A for bug-gnu-emacs@gnu.org; Tue, 18 Dec 2018 14:23:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49460) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gZKxL-0001oC-2f for bug-gnu-emacs@gnu.org; Tue, 18 Dec 2018 14:23:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gZKxK-0000lU-UP for bug-gnu-emacs@gnu.org; Tue, 18 Dec 2018 14:23:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Dec 2018 19:23:02 +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.15451609262840 (code B ref 33796); Tue, 18 Dec 2018 19:23:02 +0000 Original-Received: (at 33796) by debbugs.gnu.org; 18 Dec 2018 19:22:06 +0000 Original-Received: from localhost ([127.0.0.1]:53714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gZKwP-0000jk-UE for submit@debbugs.gnu.org; Tue, 18 Dec 2018 14:22:06 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gZKwO-0000jF-3g for 33796@debbugs.gnu.org; Tue, 18 Dec 2018 14:22:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZKwE-0006FB-1N for 33796@debbugs.gnu.org; Tue, 18 Dec 2018 14:21:58 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41070) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZKwD-0006EW-TR; Tue, 18 Dec 2018 14:21:53 -0500 Original-Received: from [176.228.60.248] (port=2363 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gZKwD-0002dN-Gx; Tue, 18 Dec 2018 14:21:53 -0500 In-reply-to: (message from Stefan Monnier on Tue, 18 Dec 2018 13:46:45 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:153568 Archived-At: > From: Stefan Monnier > Date: Tue, 18 Dec 2018 13:46:45 -0500 > > Since Emacs-25, UTF-8 is the standard/default encoding for Elisp files. > The attached patch changes the few non-utf-8 Elisp files to use utf-8. > > AFAICT, this patch is safe in the sense that the resulting .elc files > are identical (except for titdic-cnv.elc obviously, since I not only > changed the encoding but also the code, but I also checked that the > change of encoding itself does not affect the resulting .elc file). 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.) 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. And I'm not really sure who to ask about this.