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#29422: 27.0.50; Symbol enable-multibyte-characters may not be buffer-local Date: Sat, 25 Nov 2017 09:53:33 +0200 Message-ID: <83h8ti94le.fsf@gnu.org> References: <87vai0w1mt.fsf@web.de> <87y3mvxibw.fsf@web.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1511596455 16110 195.159.176.226 (25 Nov 2017 07:54:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 25 Nov 2017 07:54:15 +0000 (UTC) Cc: 29422@debbugs.gnu.org To: Michael Heerdegen , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 25 08:54:08 2017 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 1eIVHp-0003PA-8Q for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Nov 2017 08:54:05 +0100 Original-Received: from localhost ([::1]:52314 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eIVHv-0002ga-5h for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Nov 2017 02:54:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eIVHo-0002fA-PQ for bug-gnu-emacs@gnu.org; Sat, 25 Nov 2017 02:54:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eIVHm-0006OF-8m for bug-gnu-emacs@gnu.org; Sat, 25 Nov 2017 02:54:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48011) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eIVHm-0006Nm-4x for bug-gnu-emacs@gnu.org; Sat, 25 Nov 2017 02:54:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eIVHl-0005Ep-Sx for bug-gnu-emacs@gnu.org; Sat, 25 Nov 2017 02:54:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Nov 2017 07:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29422 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29422-submit@debbugs.gnu.org id=B29422.151159644020128 (code B ref 29422); Sat, 25 Nov 2017 07:54:01 +0000 Original-Received: (at 29422) by debbugs.gnu.org; 25 Nov 2017 07:54:00 +0000 Original-Received: from localhost ([127.0.0.1]:56692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIVHk-0005Ea-Cn for submit@debbugs.gnu.org; Sat, 25 Nov 2017 02:54:00 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:57820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eIVHi-0005EM-SC for 29422@debbugs.gnu.org; Sat, 25 Nov 2017 02:53:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eIVHa-0006BO-Kq for 29422@debbugs.gnu.org; Sat, 25 Nov 2017 02:53:53 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54579) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eIVHa-0006BI-H9; Sat, 25 Nov 2017 02:53:50 -0500 Original-Received: from [176.228.60.248] (port=3744 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eIVHZ-0001cl-VT; Sat, 25 Nov 2017 02:53:50 -0500 In-reply-to: <87y3mvxibw.fsf@web.de> (message from Michael Heerdegen on Sat, 25 Nov 2017 02:22:59 +0100) 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:140349 Archived-At: > From: Michael Heerdegen > Date: Sat, 25 Nov 2017 02:22:59 +0100 > Cc: Stefan Monnier > > Michael Heerdegen writes: > > > Debugger entered--Lisp error: (error "Symbol enable-multibyte-characters may not be buffer-local") > > Apparently has been fixed with d1000fb. Yes, but signaling "Setting constant" when we actually mean a read-only symbol is sub-optimal, IMO. That error is for setting stuff like nil and t, which enable-multibyte-characters isn't. It will confuse users to see this error in that case, I think. And the ELisp manual clearly states that this error is for "symbols that evaluate to themselves": nil, t, and keyword symbols. So now the implementation contradicts the documentation. How about inventing a new error symbol for these cases?