all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Rmail: toggle between summary and message buffers
Date: Sat, 22 Jun 2019 11:18:26 +0300	[thread overview]
Message-ID: <83v9wynict.fsf@gnu.org> (raw)
In-Reply-To: <E1heb0R-0003Bq-Pv@eggs.gnu.org> (message from Xavier Maillard on Sat, 22 Jun 2019 10:04:16 +0200)

> Date: Sat, 22 Jun 2019 10:04:16 +0200
> From: Xavier Maillard <xavier@maillard.im>
> Cc: help-gnu-emacs@gnu.org
> 
> > > Don't use "C-c C-c".  Use "C-c C-s" instead, and have a separate frame
> > > for the *mail* buffer where you compose and send email.  Then Emacs
> > > will not mess up your windows in the Rmail frame.
> > 
> > Btw, a nice side effect of this arrangement is that the next 'm' or
> > 'r' will reuse the frame showing the *mail* buffer, so just let that
> > frame hang around, to be used for composing and sending email
> > throughout the entire session, with no need to switch to any buffer in
> > your other frames.
> 
> I will test this but here it does not seem to select the right frame.

I think you also need to set rmail-mail-new-frame to a non-nil value.
With that, the first time you reply to an email from Rmail, it will
create a new frame for the outgoing email, if one doesn't already
exist.

You will also need to set message-generate-new-buffers to the value
'standard', so that the name of the buffer where you compose email is
fixed (and thus it could be reused for subsequent email messages).
Alternatively, do this:

  (setq mail-user-agent 'sendmail-user-agent)

which will ensure the outgoing email buffer is always named "*mail*".

Sorry, forgot to tell about all that (this is setup I've done many
years ago).



  reply	other threads:[~2019-06-22  8:18 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-18  4:20 Rmail: toggle between summary and message buffers Xavier Maillard
2019-06-18 15:47 ` Eli Zaretskii
2019-06-18 21:11   ` Xavier Maillard
2019-06-18 22:26     ` Amin Bandali
2019-06-19 12:55       ` Xavier Maillard
2019-06-19 13:17     ` Robert Thorpe
2019-06-19 15:30       ` Eli Zaretskii
2019-06-21  4:24         ` Xavier Maillard
2019-06-21  4:20       ` Xavier Maillard
2019-06-21  4:31         ` Eric Abrahamsen
2019-06-21  6:04           ` Eli Zaretskii
2019-06-21 15:26             ` Eric Abrahamsen
2019-06-22  7:53             ` Xavier Maillard
2019-06-21  6:00         ` Eli Zaretskii
2019-06-21 12:33           ` Eli Zaretskii
2019-06-22  8:04             ` Xavier Maillard
2019-06-22  8:18               ` Eli Zaretskii [this message]
2019-06-24  4:20                 ` Xavier Maillard
2019-06-24  4:28                 ` Xavier Maillard
2019-06-22  8:02           ` Xavier Maillard
2019-06-22  8:07             ` Eli Zaretskii
2019-06-24  4:17               ` Xavier Maillard

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=83v9wynict.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /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.