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: Mon, 09 Nov 2020 18:57:07 +0200 Message-ID: <83imae4gf0.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> <875z6ejy1x.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12750"; mail-complaints-to="usenet@ciao.gmane.io" Cc: thievol@posteo.net, schwab@linux-m68k.org, 44486@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 09 17:58:11 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 1kcAUc-00039Q-VR for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 Nov 2020 17:58:10 +0100 Original-Received: from localhost ([::1]:42548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcAUc-0007j0-0L for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 Nov 2020 11:58:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57414) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcAUU-0007i1-Mp for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2020 11:58:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52170) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kcAUU-0003er-Cz for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2020 11:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kcAUU-0007hV-Bu for bug-gnu-emacs@gnu.org; Mon, 09 Nov 2020 11:58: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: Mon, 09 Nov 2020 16:58: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.160494102929539 (code B ref 44486); Mon, 09 Nov 2020 16:58:02 +0000 Original-Received: (at 44486) by debbugs.gnu.org; 9 Nov 2020 16:57:09 +0000 Original-Received: from localhost ([127.0.0.1]:35483 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcATc-0007gM-Kv for submit@debbugs.gnu.org; Mon, 09 Nov 2020 11:57:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57124) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcATb-0007g8-GV for 44486@debbugs.gnu.org; Mon, 09 Nov 2020 11:57:07 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47122) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcATV-0003KA-D1; Mon, 09 Nov 2020 11:57:01 -0500 Original-Received: from [176.228.60.248] (port=4284 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kcATU-0008Jy-Rd; Mon, 09 Nov 2020 11:57:01 -0500 In-Reply-To: <875z6ejy1x.fsf@gnus.org> (message from Lars Ingebrigtsen on Mon, 09 Nov 2020 17:27:06 +0100) 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:192964 Archived-At: > From: Lars Ingebrigtsen > Cc: handa@gnu.org, thievol@posteo.net, schwab@linux-m68k.org, > 44486@debbugs.gnu.org > Date: Mon, 09 Nov 2020 17:27:06 +0100 > > Eli Zaretskii writes: > > > 0 is different: it says to obey the value of > > inhibit-null-byte-detection resp. inhibit-iso-escape-detection. t > > means inhibit the detection unconditionally, which is not what we > > want. > > > > (We could use any non-nil, non-t value, of course; I've chosen to use > > zero for consistency with what we do for 'undecided', see coding.c.) > > I see. Perhaps the difference between the various non-nil values should > be mentioned in the doc strings of the two variables? They only mention > nil/non-nil now, as far as I can see. The _variables_ are simple booleans; it's the value of the :inhibit-null-byte-detection _property_ of a coding-system that is a tri-state. And that fact is documented in the doc string of define-coding-system.