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#44486: 27.1; C-@ chars corrupt elisp buffer Date: Sun, 15 Nov 2020 17:14:05 +0200 Message-ID: <83lff2tzya.fsf@gnu.org> References: <878sbeikpr.fsf@posteo.net> <87zh3u8pqn.fsf@igel.home> <83blga8pdp.fsf@gnu.org> <838sbe8nny.fsf@gnu.org> <83361m8d1t.fsf@gnu.org> <87blg6lem7.fsf@gnus.org> <83r1p24ieo.fsf@gnu.org> <83h7psug9r.fsf@gnu.org> <83eekvvruq.fsf@gnu.org> <83y2j3u7zv.fsf@gnu.org> <83wnynu7ol.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16907"; mail-complaints-to="usenet@ciao.gmane.io" Cc: thievol@posteo.net, larsi@gnus.org, schwab@linux-m68k.org, 44486@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 15 16:15:37 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 1keJkf-0004JC-1v for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Nov 2020 16:15:37 +0100 Original-Received: from localhost ([::1]:56378 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1keJke-0006XX-3C for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Nov 2020 10:15:36 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34710) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1keJk6-0006SU-N3 for bug-gnu-emacs@gnu.org; Sun, 15 Nov 2020 10:15:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42412) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1keJk6-0006OP-8u for bug-gnu-emacs@gnu.org; Sun, 15 Nov 2020 10:15:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1keJk6-0005N1-4k for bug-gnu-emacs@gnu.org; Sun, 15 Nov 2020 10:15: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: Sun, 15 Nov 2020 15:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44486 X-GNU-PR-Package: emacs Original-Received: via spool by 44486-submit@debbugs.gnu.org id=B44486.160545326820583 (code B ref 44486); Sun, 15 Nov 2020 15:15:02 +0000 Original-Received: (at 44486) by debbugs.gnu.org; 15 Nov 2020 15:14:28 +0000 Original-Received: from localhost ([127.0.0.1]:53958 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1keJjU-0005Lr-CD for submit@debbugs.gnu.org; Sun, 15 Nov 2020 10:14:28 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1keJjS-0005Ld-DZ for 44486@debbugs.gnu.org; Sun, 15 Nov 2020 10:14:23 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43469) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1keJjM-00069m-Lo; Sun, 15 Nov 2020 10:14:16 -0500 Original-Received: from [176.228.60.248] (port=1746 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1keJjM-00070n-3R; Sun, 15 Nov 2020 10:14:16 -0500 In-Reply-To: (message from Stefan Monnier on Sat, 14 Nov 2020 17:56:36 -0500) 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:193359 Archived-At: > From: Stefan Monnier > Cc: thievol@posteo.net, larsi@gnus.org, schwab@linux-m68k.org, > 44486@debbugs.gnu.org > Date: Sat, 14 Nov 2020 17:56:36 -0500 > > >> For .el files, we can always bind inhibit-null-byte-detection to t > >> when we load or visit such files. > > Alternatively, we could introduce a separate coding-system whose > > :inhibit-null-byte-detection property is t, and use that for *.el > > files. > > If you want to go that route, that's fine by me. I actually think that we don't need to do anything. We've lived for 7 years with a reality that is worse than what is now on master, and no one complained. But if you are very unhappy about this, we _could_ introduce a new coding-system for *.el files. > (especially since we don't have any evidence that potential other > users would favor the current behavior over the > inhibit-null-byte-detection one). The current behavior on master is to heed inhibit-null-byte-detection; the current behavior in Emacs 27 is to ignore it, and always consider a .el file with null bytes as binary. I hope you agree that the behavior on master is slightly better, at least in that it won't surprise users.