GNU bug report logs - #7987
message-mode perhaps to document more that it expects mail-header-separator

Previous Next

Packages: gnus, emacs;

Reported by: Jesse Sheidlower <jester <at> panix.com>

Date: Sat, 5 Feb 2011 03:18:02 UTC

Severity: minor

Tags: notabug, wontfix

Merged with 8594

Found in version 23.2

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: Jesse Sheidlower <jester <at> panix.com>
Cc: 7987 <at> debbugs.gnu.org
Subject: bug#7987: 23.2; Refill error in message-mode
Date: Tue, 08 Feb 2011 14:16:32 -0500
Jesse Sheidlower wrote:

> The EmacsWiki page on MuttInEmacs does give a code sample (apparently
> problematic, as there are various kludgy-looking updates) that 'sets
> mail-header-separator to "" for M-q and auto-fill to work correctly', so

I'd probably have tried that.

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

For filling, you can in a mode hook change the value of
fill-paragraph-function to something appropriate. The default is
message-fill-paragraph, which checks for headers as you can see.
I have no idea what other pieces of message-mode rely on the presence of
mail-header-separator though.





This bug report was last modified 13 years and 318 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.