* bug#6121: 24.0.50; setting-constant enable-multibyte-characters
@ 2010-05-07 9:16 Jim Meyering
2010-05-08 14:24 ` Jim Meyering
0 siblings, 1 reply; 3+ messages in thread
From: Jim Meyering @ 2010-05-07 9:16 UTC (permalink / raw)
To: bug-gnu-emacs, Emacs development discussions
FYI, I've encountered exactly the same problem as described here:
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6121
It happens nearly any time I try to forward a message from gnus.
I am using the latest built from git.
BTW, I noticed that today it fails to build:
Loading bindings (source)...
Loading /mirror/d/emacs/lisp/files.el (source)...
Symbol's function definition is void: define-minor-mode
make[2]: *** [bootstrap-emacs] Error 255
make[2]: Leaving directory `/tmp/jt-ltHmbB/emacs/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/tmp/jt-ltHmbB/emacs'
make: *** [bootstrap] Error 2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: bug#6121: 24.0.50; setting-constant enable-multibyte-characters
2010-05-07 9:16 bug#6121: 24.0.50; setting-constant enable-multibyte-characters Jim Meyering
@ 2010-05-08 14:24 ` Jim Meyering
2010-05-08 15:31 ` Jim Meyering
0 siblings, 1 reply; 3+ messages in thread
From: Jim Meyering @ 2010-05-08 14:24 UTC (permalink / raw)
To: bug-gnu-emacs; +Cc: Emacs development discussions
Jim Meyering wrote:
> FYI, I've encountered exactly the same problem as described here:
>
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6121
>
> It happens nearly any time I try to forward a message from gnus.
> I am using the latest built from git.
>
> BTW, I noticed that today it fails to build:
>
> Loading bindings (source)...
> Loading /mirror/d/emacs/lisp/files.el (source)...
> Symbol's function definition is void: define-minor-mode
> make[2]: *** [bootstrap-emacs] Error 255
> make[2]: Leaving directory `/tmp/jt-ltHmbB/emacs/src'
> make[1]: *** [src] Error 2
> make[1]: Leaving directory `/tmp/jt-ltHmbB/emacs'
> make: *** [bootstrap] Error 2
FYI,
I found that reverting the most recent changes to the offending code
solved that problem:
I reverted part of a55d3b41c25a83197bc02a6a790c6f927088e08f
locally, and can now use GNUS' forwarding once again:
http://repo.or.cz/w/emacs.git/commitdiff/a55d3b41c25a8319
Synch with Gnus trunk.
...
* mm-util.el (mm-enable-multibyte, mm-disable-multibyte): Use (featurep
'xemacs) instead of mm-emacs-mule to switch function definitions.
(mm-with-unibyte-current-buffer): Make it a progn macro for XEmacs.
From 18adba8bf6d112828cce71ddb606027e4ca9ef4b Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Sat, 8 May 2010 15:23:46 +0200
Subject: [PATCH] fix gnus fwding: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6121
---
lisp/gnus/mm-util.el | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/lisp/gnus/mm-util.el b/lisp/gnus/mm-util.el
index a288b8b..c8952e0 100644
--- a/lisp/gnus/mm-util.el
+++ b/lisp/gnus/mm-util.el
@@ -908,20 +908,20 @@ mail with multiple parts is preferred to sending a Unicode one.")
(fboundp 'set-buffer-multibyte))
"True in Emacs with Mule.")
- (if (featurep 'xemacs)
- (defalias 'mm-enable-multibyte 'ignore)
- (defun mm-enable-multibyte ()
- "Set the multibyte flag of the current buffer.
+ (if mm-emacs-mule
+ (defun mm-enable-multibyte ()
+ "Set the multibyte flag of the current buffer.
Only do this if the default value of `enable-multibyte-characters' is
non-nil. This is a no-op in XEmacs."
- (set-buffer-multibyte t)))
+ (set-buffer-multibyte 'to))
+ (defalias 'mm-enable-multibyte 'ignore))
- (if (featurep 'xemacs)
- (defalias 'mm-disable-multibyte 'ignore)
- (defun mm-disable-multibyte ()
- "Unset the multibyte flag of in the current buffer.
+ (if mm-emacs-mule
+ (defun mm-disable-multibyte ()
+ "Unset the multibyte flag of in the current buffer.
This is a no-op in XEmacs."
- (set-buffer-multibyte nil))))
+ (set-buffer-multibyte nil))
+ (defalias 'mm-disable-multibyte 'ignore)))
(defun mm-preferred-coding-system (charset)
;; A typo in some Emacs versions.
--
1.7.1.166.gf2086
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: bug#6121: 24.0.50; setting-constant enable-multibyte-characters
2010-05-08 14:24 ` Jim Meyering
@ 2010-05-08 15:31 ` Jim Meyering
0 siblings, 0 replies; 3+ messages in thread
From: Jim Meyering @ 2010-05-08 15:31 UTC (permalink / raw)
To: bug-gnu-emacs; +Cc: Emacs development discussions
Jim Meyering wrote:
> Jim Meyering wrote:
>> FYI, I've encountered exactly the same problem as described here:
>>
>> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6121
>>
>> It happens nearly any time I try to forward a message from gnus.
>> I am using the latest built from git.
>>
>> BTW, I noticed that today it fails to build:
>>
>> Loading bindings (source)...
>> Loading /mirror/d/emacs/lisp/files.el (source)...
>> Symbol's function definition is void: define-minor-mode
>> make[2]: *** [bootstrap-emacs] Error 255
>> make[2]: Leaving directory `/tmp/jt-ltHmbB/emacs/src'
>> make[1]: *** [src] Error 2
>> make[1]: Leaving directory `/tmp/jt-ltHmbB/emacs'
>> make: *** [bootstrap] Error 2
>
> FYI,
>
> I found that reverting the most recent changes to the offending code
> solved that problem:
>
> I reverted part of a55d3b41c25a83197bc02a6a790c6f927088e08f
> locally, and can now use GNUS' forwarding once again:
> http://repo.or.cz/w/emacs.git/commitdiff/a55d3b41c25a8319
>
> Synch with Gnus trunk.
> ...
> * mm-util.el (mm-enable-multibyte, mm-disable-multibyte): Use (featurep
> 'xemacs) instead of mm-emacs-mule to switch function definitions.
> (mm-with-unibyte-current-buffer): Make it a progn macro for XEmacs.
Humph. That was not the cause/fix at all.
I tested the wrong version.
Sorry about that.
That'll teach me not to try to fix things blindly.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-05-08 15:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-07 9:16 bug#6121: 24.0.50; setting-constant enable-multibyte-characters Jim Meyering
2010-05-08 14:24 ` Jim Meyering
2010-05-08 15:31 ` Jim Meyering
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).