From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: RMAIL returns to wrong buffer after sending a reply Date: Sun, 09 Jan 2011 09:15:54 -0500 Message-ID: References: <201101081520.p08FKwo6002666@envy.delorie.com> NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1294583807 3635 80.91.229.12 (9 Jan 2011 14:36:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 9 Jan 2011 14:36:47 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 09 15:36:43 2011 Return-path: Envelope-to: geh-help-gnu-emacs@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 1PbwNu-0004pB-D6 for geh-help-gnu-emacs@m.gmane.org; Sun, 09 Jan 2011 15:36:42 +0100 Original-Received: from localhost ([127.0.0.1]:44380 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PbwNu-0004sC-0V for geh-help-gnu-emacs@m.gmane.org; Sun, 09 Jan 2011 09:36:42 -0500 Original-Received: from [140.186.70.92] (port=41165 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PbwAj-0006gc-FY for help-gnu-emacs@gnu.org; Sun, 09 Jan 2011 09:23:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pbw3q-0001kb-Ca for help-gnu-emacs@gnu.org; Sun, 09 Jan 2011 09:16:35 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:52869) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pbw3q-0001kX-B4 for help-gnu-emacs@gnu.org; Sun, 09 Jan 2011 09:15:58 -0500 Original-Received: from eliz by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1Pbw3m-0003tM-OY for help-gnu-emacs@gnu.org; Sun, 09 Jan 2011 09:15:54 -0500 In-reply-to: <201101081520.p08FKwo6002666@envy.delorie.com> (message from DJ Delorie on Sat, 8 Jan 2011 10:20:58 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:78339 Archived-At: > Date: Sat, 8 Jan 2011 10:20:58 -0500 > From: DJ Delorie > > When reading mail in RMAIL, if I 'r' reply to a message, after the > message is sent, my cursor returns to the wrong buffer. I expect > cursor focus to be in the message I just replied to, but it's actually > in the "other" buffer (splitting the window and finding some other > buffer if needed). > > How can I get RMAIL to return to the previous buffer instead? > > Note: it worked "correctly" in the past. Does it help to evaluate the following expression? (setq mail-user-agent 'sendmail-user-agent) If it does, please submit a bug report (M-x report-emacs-bug) about the default behavior. Emacs 23.2 switched to using message-user-agent, but the user-visible behavior was not supposed to change that much. (FWIW, I have the above customization permanently in my ~/.emacs.)