[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnus: How to get/force specific header entries in a new message?

From: Tassilo Horn
Subject: Re: Gnus: How to get/force specific header entries in a new message?
Date: Wed, 23 Nov 2011 19:30:45 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.91 (gnu/linux)

Marius Hofert <address@hidden> writes:

Hi Marius,

> I saw on
> that I can specify which headers are visible via something like:
> (setq gnus-visible-headers
>       ...)
> That's the default of gnus-visible-headers. However, comparing with
> the above, one sees that not all of these headers/entries are actually
> displayed… How can I specify that the following headers are always
> shown in a new message?

`gnus-visible-headers' controls the visible headers in an article buffer
(gnus-article-mode).  That's something different than the message-mode
that you have when writing new messages.

For the headers you get in message-mode, have a look at this variable
and the referenced ones.

,----[ C-h v message-generate-headers-first RET ]
| message-generate-headers-first is a variable defined in `message.el'.
| Its value is nil
| Documentation:
| Which headers should be generated before starting to compose a message.
| If t, generate all required headers.  This can also be a list of headers to
| generate.  The variables `message-required-news-headers' and
| `message-required-mail-headers' specify which headers to generate.
| Note that the variable `message-deletable-headers' specifies headers which
| are to be deleted and then re-generated before sending, so this variable
| will not have a visible effect for those headers.
| You can customize this variable.

> PS: Most likely the last Gnus question for today :-)

I wouldn't bet any money on that. ;-)

(What the world needs (I think) is not
      (a Lisp (with fewer parentheses))
      but (an English (with more.)))
Brian Hayes,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]