From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: Gnus: How to get/force specific header entries in a new message? Date: Wed, 23 Nov 2011 19:30:45 +0100 Message-ID: <8762ia4roq.fsf@thinkpad.tsdh.de> References: <403CE419-DD6D-4622-9322-D80D8D04F6B9@math.ethz.ch> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1322073073 26756 80.91.229.12 (23 Nov 2011 18:31:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 23 Nov 2011 18:31:13 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 23 19:31:09 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RTHbB-0000Jb-OA for geh-help-gnu-emacs@m.gmane.org; Wed, 23 Nov 2011 19:31:09 +0100 Original-Received: from localhost ([::1]:33290 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTHbB-0005az-3Y for geh-help-gnu-emacs@m.gmane.org; Wed, 23 Nov 2011 13:31:09 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:45105) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTHb6-0005ah-Ja for help-gnu-emacs@gnu.org; Wed, 23 Nov 2011 13:31:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RTHb5-0006RA-1z for help-gnu-emacs@gnu.org; Wed, 23 Nov 2011 13:31:04 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:37735) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTHb4-0006Qr-OI for help-gnu-emacs@gnu.org; Wed, 23 Nov 2011 13:31:03 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RTHb1-0000D0-Sn for help-gnu-emacs@gnu.org; Wed, 23 Nov 2011 19:30:59 +0100 Original-Received: from 91-67-11-43-dynip.superkabel.de ([91.67.11.43]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Nov 2011 19:30:59 +0100 Original-Received: from tassilo by 91-67-11-43-dynip.superkabel.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 23 Nov 2011 19:30:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 51 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 91-67-11-43-dynip.superkabel.de User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.91 (gnu/linux) Cancel-Lock: sha1:Wo59RbRbvNDt+wTj6vwGOEuz0Dc= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83031 Archived-At: Marius Hofert writes: Hi Marius, > I saw on > http://www.gnu.org/software/emacs/manual/html_node/gnus/Hiding-Headers.html > 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. ;-) Bye, Tassilo -- (What the world needs (I think) is not (a Lisp (with fewer parentheses)) but (an English (with more.))) Brian Hayes, http://tinyurl.com/3y9l2kf