From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: mm-with-unibyte-current-buffer broken in Emacs trunk Date: Wed, 12 May 2010 08:28:37 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1273620554 3147 80.91.229.12 (11 May 2010 23:29:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 11 May 2010 23:29:14 +0000 (UTC) Cc: ding@gnus.org, emacs-devel@gnu.org To: Sascha Wilde Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 12 01:29:13 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 1OBysu-0005nY-LU for ged-emacs-devel@m.gmane.org; Wed, 12 May 2010 01:29:08 +0200 Original-Received: from localhost ([127.0.0.1]:53635 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OByst-0004fB-VW for ged-emacs-devel@m.gmane.org; Tue, 11 May 2010 19:29:08 -0400 Original-Received: from [140.186.70.92] (port=41321 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBysn-0004eM-0v for emacs-devel@gnu.org; Tue, 11 May 2010 19:29:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OBysl-0004TX-8C for emacs-devel@gnu.org; Tue, 11 May 2010 19:29:00 -0400 Original-Received: from orlando.hostforweb.net ([216.246.45.90]:53786) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBysl-0004T7-5Z for emacs-devel@gnu.org; Tue, 11 May 2010 19:28:59 -0400 Original-Received: from localhost ([127.0.0.1]:37178) by orlando.hostforweb.net with esmtpa (Exim 4.69) (envelope-from ) id 1OBysg-0002iZ-9X; Tue, 11 May 2010 18:28:54 -0500 X-Hashcash: 1:20:100511:wilde@sha-bang.de::h4+LMaPEt4X8+Pp2:000000000000000000000000000000000000000000002ccl X-Hashcash: 1:20:100511:emacs-devel@gnu.org::2NsLbB4ZhYx7IZU3:000000000000000000000000000000000000000000LV3C X-Hashcash: 1:20:100511:ding@gnus.org::o4ZThF4Mou+UTGYS:00009iz8 X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:HOkl9+kzsz3LbwSG5QH0pvaM31c= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:124710 gmane.emacs.gnus.general:69679 Archived-At: >>>>> Sascha Wilde wrote: > with an current build of GNU Emacs from bzr I can not forward > (gnus-summary-mail-forward) mail any more. > The problem boils down to message-forward-make-body-mml calling > mm-with-unibyte-current-buffer which in turn tries to set the read only > variable enable-multibyte-characters. [...] The day before yesterday I just noticed the message forwarding doesn't work, and fixed the code temporarily in Git and Bzr repos. 2010-05-10 Katsumi Yamaoka * message.el (message-forward-make-body-plain) (message-forward-make-body-mml): Don't use mm-with-unibyte-current-buffer. But I have a plan to fix it further; that is to make the forwarding codes assume that an original message to be forwarded is always a multibyte string. Actually an original message always comes from only the " *Original Article*" buffer in which the multibyteness is turned on, AFAIK.