--- Begin Message ---
Subject: |
24.0.50; Attempt to set a constant symbol: enable-multibyte-characters |
Date: |
Tue, 20 Apr 2010 11:48:08 +0300 |
This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.
Your bug report will be posted to the address@hidden mailing list,
and to the gnu.emacs.bug news group.
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug. If you can, give
a recipe starting from `emacs -Q':
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
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
d:/gnu/bzr/emacs/trunk/etc/DEBUG.
In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
of 2010-04-20 on HOME-C4E4A596F7
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: ENU
value of $XMODIFIERS: nil
locale-coding-system: cp1255
default enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> C-h
H <up> <down> M-x r e p o r t - e m a <tab> <retur
n>
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
byte-code: Attempt to set a constant symbol: enable-multibyte-characters
Load-path shadows:
None found.
Features:
(shadow sort gnus-util mail-extr message rfc822 mml easymenu mml-sec
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader
emacsbug tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32
disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe
lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev button minibuffer faces cus-face files text-properties overlay
md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process multi-tty emacs)
--- End Message ---
--- Begin Message ---
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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> 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
--- End Message ---