all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: martin rudalics <rudalics@gmx.at>, "Alfred M. Szmidt" <ams@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: compose-mail-other-window
Date: Sun, 25 Mar 2007 13:28:17 -0400	[thread overview]
Message-ID: <E1HVWVt-0006Lh-QQ@fencepost.gnu.org> (raw)
In-Reply-To: <460570D5.4010307@gmx.at> (message from martin rudalics on Sat, 24 Mar 2007 19:41:25 +0100)

    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))))

  parent reply	other threads:[~2007-03-25 17:28 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-24 18:41 compose-mail-other-window martin rudalics
2007-03-25  8:30 ` compose-mail-other-window Leo
2007-03-25 17:28 ` Richard Stallman [this message]
2007-03-25 18:45   ` compose-mail-other-window martin rudalics
2007-03-25 18:05 ` compose-mail-other-window Chong Yidong
2007-05-26  0:30 ` compose-mail-other-window Leo
2007-05-28  2:13   ` compose-mail-other-window Katsumi Yamaoka
2007-05-28  2:46     ` compose-mail-other-window Chong Yidong
2007-05-28  3:06       ` compose-mail-other-window Katsumi Yamaoka
2007-05-28  4:13         ` compose-mail-other-window Chong Yidong
2007-05-28  4:18           ` compose-mail-other-window Katsumi Yamaoka
2007-05-29  0:03       ` compose-mail-other-window Richard Stallman
2007-05-28  7:25     ` compose-mail-other-window Leo
2007-05-29  0:03     ` compose-mail-other-window Richard Stallman
2007-05-29  0:22       ` compose-mail-other-window Katsumi Yamaoka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1HVWVt-0006Lh-QQ@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=ams@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rudalics@gmx.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.