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: compose-mail-other-window Date: Mon, 28 May 2007 12:06:15 +0900 Organization: Emacsen advocacy group Message-ID: References: <460570D5.4010307@gmx.at> <87wsytekd0.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1180321612 12384 80.91.229.12 (28 May 2007 03:06:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 May 2007 03:06:52 +0000 (UTC) Cc: Leo , ding@gnus.org, emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 28 05:06:50 2007 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.50) id 1HsVZK-0004gX-7q for ged-emacs-devel@m.gmane.org; Mon, 28 May 2007 05:06:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HsVZJ-000383-NH for ged-emacs-devel@m.gmane.org; Sun, 27 May 2007 23:06:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HsVZG-00037w-50 for emacs-devel@gnu.org; Sun, 27 May 2007 23:06:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HsVZE-00037k-Oy for emacs-devel@gnu.org; Sun, 27 May 2007 23:06:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HsVZE-00037h-J4 for emacs-devel@gnu.org; Sun, 27 May 2007 23:06:44 -0400 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HsVZE-0006Dp-5h for emacs-devel@gnu.org; Sun, 27 May 2007 23:06:44 -0400 Original-Received: from [66.225.201.151] (port=44405 helo=mail.jpl.org) by orlando.hostforweb.net with esmtpa (Exim 4.63) (envelope-from ) id 1HsVZI-0002FX-Ox; Sun, 27 May 2007 22:06:49 -0500 X-Hashcash: 1:20:070528:cyd@stupidchicken.com::JH5W82J2BgPbbJ3v:0000000000000000000000000000000000000000C9Un X-Hashcash: 1:20:070528:sdl.web@gmail.com::wCu4qdrUop+e+75d:0000000000000000000000000000000000000000000005RC X-Hashcash: 1:20:070528:ding@gnus.org::gvwk0jGuOGtss28O:000040bf X-Hashcash: 1:20:070528:emacs-devel@gnu.org::0t+ssw+gWdkwmHJx:0000000000000000000000000000000000000000006SeT 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.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:OUO/fJ0Jgl/X9VfzduMynQx0Zac= X-Antivirus-Scanner: Clean mail though you should still use an Antivirus 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 - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-detected-kernel: 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:71866 gmane.emacs.gnus.general:64706 Archived-At: >>>>> In <87wsytekd0.fsf@stupidchicken.com> Chong Yidong wrote: > Katsumi Yamaoka writes: >> 2007-03-15 Katsumi Yamaoka >> >> * message.el (message-generate-new-buffers): >> [...] >> (message-mail): Prefer `switch-function' if it is given; >> >> It requires running `message-mode' further. I've fixed it in >> both the trunk and the v5-10 branch of the Gnus CVS repository. >> I think this change is worth merging to not only the Emacs trunk >> but also the EMACS_22_BASE branch. > I checked it, and it looks good. I checked it into the EMACS_22_BASE > branch. Thanks. > (I assumed the automagic syncing between Gnus CVS and Emacs CVS HEAD > will take care of the trunk; is that right?) Thank you very much for this. Could you merge another fix that I made recently to the EMACS_22_BASE branch, too? The discussion is here: http://news.gmane.org/group/gmane.emacs.gnus.general/thread=64667/force_load=t And this is the patch: 2007-05-24 Katsumi Yamaoka * message.el (message-narrow-to-headers-or-head): Ignore mail-header-separator in the body. --8<---------------cut here---------------start------------->8--- *** message.el~ Mon May 28 03:03:46 2007 --- message.el Mon May 28 03:05:06 2007 *************** *** 2225,2238 **** (widen) (narrow-to-region (goto-char (point-min)) ! (cond ! ((re-search-forward ! (concat "^" (regexp-quote mail-header-separator) "\n") nil t) ! (match-beginning 0)) ! ((search-forward "\n\n" nil t) ! (1- (point))) ! (t ! (point-max)))) (goto-char (point-min))) (defun message-news-p () --- 2225,2236 ---- (widen) (narrow-to-region (goto-char (point-min)) ! (if (re-search-forward (concat "\\(\n\\)\n\\|^\\(" ! (regexp-quote mail-header-separator) ! "\n\\)") ! nil t) ! (or (match-end 1) (match-beginning 2)) ! (point-max))) (goto-char (point-min))) (defun message-news-p () --8<---------------cut here---------------end--------------->8--- Thanks in advance.