all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jesse Sheidlower <jester@panix.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 7987@debbugs.gnu.org
Subject: bug#7987: 23.2; Refill error in message-mode
Date: Thu, 10 Feb 2011 16:02:09 -0500	[thread overview]
Message-ID: <20110210210209.GO293@panix.com> (raw)
In-Reply-To: <jwvhbcbu0zb.fsf-monnier+emacs@gnu.org>

On Thu, Feb 10, 2011 at 02:50:42PM -0500, Stefan Monnier wrote:
> > Hmm. I guess you're right, although this behavior doesn't seem to be
> > mentioned in the Manual. I'm using message-mode with Mutt, so there are
> > no headers in the buffer.
> 
> No headers at all?  Where's the subject, then?

In the headers that are not dumped to Emacs. The default configuration
of Mutt has the headers edited through the Mutt interface, and only the
body is sent to your $EDITOR. (You can override this, and edit the
entire message, including headers, if desired, but my impression is that
most people don't do this.)

> > I'll experiment further and will update if necessary. Is there a
> > preferred way to tell message-mode to assume that the buffer is a
> > message body, rather than a header?
> 
> Add a header.
> 
> Maybe it would be be good to make message-mode accept an empty line as
> a mail-header-separator (as does rfc822-goto-eoh).

Well, I don't truly know how common this use-case is (though it's common
enough that the EmacsWiki entry for Mutt and Emacs provides a
workaround), but maybe it would also be good to be able to have
message-mode accept the fact that you're editing a message body only? I
personally don't use message-mode for the actual sending of messages,
and in general I'd think that there could be reasons for wanting the
editing and formatting features of message-mode without the sending
features. Being able to say explicitly that you're editing the body
would be, to my mind, a better solution than adding a fake header, or
adding "(setq mail-header-separator "")" to one's .emacs, which feel
like kludges for this issue.

I'm not familiar with other text-based e-mail programs, but this is how
most GUI or web-based mailers work too--the headers are off in one
place, where they can be modified using one method, and the body is some
textarea that is edited using some other variety of tools.

Jesse Sheidlower





  reply	other threads:[~2011-02-10 21:02 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-05  3:18 bug#7987: 23.2; Refill error in message-mode Jesse Sheidlower
2011-02-07 20:43 ` Glenn Morris
2011-02-08 15:44   ` Jesse Sheidlower
2011-02-08 19:16     ` Glenn Morris
2011-02-10 19:50     ` Stefan Monnier
2011-02-10 21:02       ` Jesse Sheidlower [this message]
2011-02-11  1:58         ` Stefan Monnier
2011-02-11  9:46           ` Andreas Schwab
2011-02-11 11:06           ` Jesse Sheidlower
2011-02-11  9:41         ` Andreas Schwab
2011-02-11 11:14           ` Jesse Sheidlower
2011-06-30  0:40 ` Lars Magne Ingebrigtsen
2011-06-30 20:00   ` Stefan Monnier
2011-06-30 20:10     ` Lars Magne Ingebrigtsen

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=20110210210209.GO293@panix.com \
    --to=jester@panix.com \
    --cc=7987@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.