GNU bug report logs - #5981
24.0.50; Attempt to set a constant symbol: enable-multibyte-characters

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Tue, 20 Apr 2010 08:49:02 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 5981-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#5981: 24.0.50;
	Attempt to set a constant symbol: enable-multibyte-characters
Date: Tue, 20 Apr 2010 10:50:14 -0400
> With today's trunk, trying to display the HELLO file, like this:

>   emacs -Q
>   C-h H

> Causes Emacs to signal an error:

>    Attempt to set a constant symbol: enable-multibyte-characters

Fixed.
The problem was that view-hello-file did
(setq-default 'enable-multibyte-characters) so as to "DTRT" in
a unibyte session.  The previous code had a bug which made it allow this
even though enable-multibyte-characters is read-only.  I've fixed this
bug in the new variable code, which is why you now saw this error.

Since unibyte sessions are deprecated, I just removed the code (the
alternative would have been to revert to using
default-enable-multibyte-characters, since this variable has the curious
property of being real-only except when accessed via its
default-enable-multibyte-characters alias: another good reason to
dislike it).


        Stefan




This bug report was last modified 15 years and 33 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.