From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jim Meyering Newsgroups: gmane.emacs.devel,gmane.emacs.bugs Subject: Re: bug#6121: 24.0.50; setting-constant enable-multibyte-characters Date: Sat, 08 May 2010 16:24:55 +0200 Message-ID: <87ljbuqxmw.fsf@meyering.net> References: <87y6fwf4w8.fsf@meyering.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1273329308 27490 80.91.229.12 (8 May 2010 14:35:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 8 May 2010 14:35:08 +0000 (UTC) Cc: Emacs development discussions To: bug-gnu-emacs@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 08 16:35:05 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OAl7P-0001SQ-DB for ged-emacs-devel@m.gmane.org; Sat, 08 May 2010 16:35:03 +0200 Original-Received: from localhost ([127.0.0.1]:37534 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OAl7O-0005qW-KN for ged-emacs-devel@m.gmane.org; Sat, 08 May 2010 10:35:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OAl1z-000276-LR for emacs-devel@gnu.org; Sat, 08 May 2010 10:29:27 -0400 Original-Received: from [140.186.70.92] (port=43826 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OAl1t-0001fm-3v for emacs-devel@gnu.org; Sat, 08 May 2010 10:29:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OAkxm-0002Ii-67 for emacs-devel@gnu.org; Sat, 08 May 2010 10:25:07 -0400 Original-Received: from smtp1-g21.free.fr ([212.27.42.1]:36688) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OAkxj-0002HI-J5; Sat, 08 May 2010 10:25:04 -0400 Original-Received: from smtp1-g21.free.fr (localhost [127.0.0.1]) by smtp1-g21.free.fr (Postfix) with ESMTP id 297E4940124; Sat, 8 May 2010 16:24:57 +0200 (CEST) Original-Received: from mx.meyering.net (mx.meyering.net [82.230.74.64]) by smtp1-g21.free.fr (Postfix) with ESMTP; Sat, 8 May 2010 16:24:56 +0200 (CEST) Original-Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 07908C4B; Sat, 8 May 2010 16:24:56 +0200 (CEST) In-Reply-To: <87y6fwf4w8.fsf@meyering.net> (Jim Meyering's message of "Fri, 07 May 2010 11:16:39 +0200") Original-Lines: 81 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:124639 gmane.emacs.bugs:36792 Archived-At: 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 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