GNU bug report logs -
#5981
24.0.50; Attempt to set a constant symbol: enable-multibyte-characters
Previous Next
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 #22 received at 5981 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
>This bug persists for me with the current 100012 bzr Emacs
>trunk. Problems arise in Gnus.
>When trying to `S o m' forward a mail, it reports:
>Attempt to set a constant symbol: enable-multibyte-characters
Here is a patch to fix this error on the latest GNU Emacs bzr trunk:
[mm-util.el-multibyte.patch (text/x-patch, inline)]
--- trunk/lisp/gnus/mm-util.el 2010-04-24 18:49:21.189375459 +0200
+++ trunk-patched/lisp/gnus/mm-util.el 2010-04-24 18:50:30.610376339 +0200
@@ -1248,13 +1248,15 @@
(let ((,multibyte enable-multibyte-characters)
(,buffer (current-buffer)))
(unwind-protect
- (letf (((default-value 'enable-multibyte-characters) nil))
+ (letf ()
(set-buffer-multibyte nil)
,@forms)
(set-buffer ,buffer)
(set-buffer-multibyte ,multibyte)))
- (letf (((default-value 'enable-multibyte-characters) nil))
- ,@forms))))
+ (letf ()
+ (set-buffer-multibyte nil)
+ ,@forms
+ (set-buffer-multibyte ,multibyte)))))
(put 'mm-with-unibyte-current-buffer 'lisp-indent-function 0)
(put 'mm-with-unibyte-current-buffer 'edebug-form-spec '(body))
[Message part 3 (text/plain, inline)]
--
JJ
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.