From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: rmail-reply creates *mail* and *mail*<2> Date: Thu, 15 Sep 2005 10:52:41 -0400 Message-ID: <873bo6wfgm.fsf@stupidchicken.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1126753751 21289 80.91.229.2 (15 Sep 2005 03:09:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 15 Sep 2005 03:09:11 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 15 05:09:10 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EFk6X-0004Cs-H7 for ged-emacs-devel@m.gmane.org; Thu, 15 Sep 2005 05:08:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EFk6W-0003Kt-TL for ged-emacs-devel@m.gmane.org; Wed, 14 Sep 2005 23:08:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EFk1q-0000xy-Qs for emacs-devel@gnu.org; Wed, 14 Sep 2005 23:03:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EFk0f-0000by-F2 for emacs-devel@gnu.org; Wed, 14 Sep 2005 23:02:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EFk0R-0000S9-O3 for emacs-devel@gnu.org; Wed, 14 Sep 2005 23:01:47 -0400 Original-Received: from [18.95.6.104] (helo=localhost.localdomain) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EFjrd-00073W-SF for emacs-devel@gnu.org; Wed, 14 Sep 2005 22:52:41 -0400 Original-Received: by localhost.localdomain (Postfix, from userid 1000) id 0AD531E43A7; Thu, 15 Sep 2005 10:52:42 -0400 (EDT) Original-To: Kenichi Handa In-Reply-To: (Kenichi Handa's message of "Thu, 15 Sep 2005 10:24:18 +0900") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:42943 Archived-At: Kenichi Handa writes: > With the latest CVS code, when I type r in RMAIL buffer, > buffer *mail* and *mail*<2> are created and the latter is > selected. This patch fixes the problem. Could you try it? *** emacs/lisp/simple.el.~1.749.~ 2005-09-13 06:28:14.000000000 -0400 --- emacs/lisp/simple.el 2005-09-15 10:49:43.000000000 -0400 *************** *** 4440,4446 **** (special-display-regexps nil) (same-window-buffer-names nil) (same-window-regexps nil)) ! (funcall switch-function "*mail*"))) (let ((cc (cdr (assoc-string "cc" other-headers t))) (in-reply-to (cdr (assoc-string "in-reply-to" other-headers t))) (body (cdr (assoc-string "body" other-headers t)))) --- 4440,4446 ---- (special-display-regexps nil) (same-window-buffer-names nil) (same-window-regexps nil)) ! (funcall switch-function nil))) (let ((cc (cdr (assoc-string "cc" other-headers t))) (in-reply-to (cdr (assoc-string "in-reply-to" other-headers t))) (body (cdr (assoc-string "body" other-headers t))))