From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: compose-mail-other-window Date: Sun, 25 Mar 2007 13:28:17 -0400 Message-ID: References: <460570D5.4010307@gmx.at> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1174847633 32446 80.91.229.12 (25 Mar 2007 18:33:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 25 Mar 2007 18:33:53 +0000 (UTC) Cc: emacs-devel@gnu.org To: martin rudalics , "Alfred M. Szmidt" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 25 20:33:46 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 1HVXXF-0007wI-C7 for ged-emacs-devel@m.gmane.org; Sun, 25 Mar 2007 20:33:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVXZN-0007fb-TX for ged-emacs-devel@m.gmane.org; Sun, 25 Mar 2007 13:35:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HVWbM-0007EE-GJ for emacs-devel@gnu.org; Sun, 25 Mar 2007 13:33:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HVWbL-0007Dn-Ta for emacs-devel@gnu.org; Sun, 25 Mar 2007 13:33:56 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVWbL-0007Di-Pc for emacs-devel@gnu.org; Sun, 25 Mar 2007 12:33:55 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HVWZB-0004r7-3A for emacs-devel@gnu.org; Sun, 25 Mar 2007 13:31:41 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1HVWVt-0006Lh-QQ; Sun, 25 Mar 2007 13:28:17 -0400 In-reply-to: <460570D5.4010307@gmx.at> (message from martin rudalics on Sat, 24 Mar 2007 19:41:25 +0100) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:68537 Archived-At: Due to the recent change of `compose-mail' `compose-mail-other-window' will fail to show the window for editing the message. Removing the `save-window-excursion' in `compose-mail' should cure this. This removes the `save-window-excursion'. Does this work right? *** simple.el 19 Mar 2007 17:03:02 -0500 1.852 --- simple.el 25 Mar 2007 11:52:34 -0500 *************** *** 4729,4739 **** (let ((function (get mail-user-agent 'composefunc)) result-buffer) (if switch-function ! (save-window-excursion ! (prog1 ! (funcall function to subject other-headers continue ! nil yank-action send-actions) ! (funcall switch-function (current-buffer)))) (funcall function to subject other-headers continue nil yank-action send-actions)))) --- 4729,4738 ---- (let ((function (get mail-user-agent 'composefunc)) result-buffer) (if switch-function ! (prog1 ! (funcall function to subject other-headers continue ! nil yank-action send-actions) ! (funcall switch-function (current-buffer))) (funcall function to subject other-headers continue nil yank-action send-actions))))