Gnus development mailing list
 help / color / mirror / Atom feed
From: Dirk Meyer <dischi@tzi.de>
Subject: Re: function to get "To" address from the header
Date: Thu, 30 Aug 2001 12:57:34 +0200	[thread overview]
Message-ID: <xt4ofoxke75.fsf@riemen.informatik.uni-bremen.de> (raw)
In-Reply-To: <u7kvm7yqw.fsf@cisco.com>

Pranav K. Tiwari wrote:
> Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:
>
>> anti-spam-pranav@cisco.com (Pranav K. Tiwari) writes:
>> 
>> > [Remove 'anti-spam-' from the front of my address to reply]
>> >
>> > Is there a function to get the "To" address out of a mail header? I want to
>> > use it in gnus-summary-line-format to display the recipient's name in
>> > summary line (only in nndraft folders).
>> 
>> See the node "To From Newsgroups" in the Gnus info file.
>> 
>
> Thanks for the pointer, Kai. But I couldn't get it to work the way I wanted
> to:
>
> Here's what I set after reading the info page:
>
> (setq gnus-extra-headers '(To Newsgroups)
>       nnmail-extra-headers gnus-extra-headers
>       gnus-ignored-from-addresses "Pranav"
>       gnus-summary-line-format "%z%U%R%I%[%4L: %-15,15a -> %-15,15~(form (gnus-extra-header 'To))@]%2t %s : on %D\n")
>

This doesn't work for me. %L und %D are empty in nndraft:draft because
the Date-Header is still missing. 

Is it possible to add the missing headers when saving the message with
C-x C-s?


Dirk

-- 
Real Men don't make backups.  They upload it via ftp and let the world
mirror it.
	-- Linus Torvalds


       reply	other threads:[~2001-08-30 10:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <u3d6bgo1g.fsf@cisco.com>
     [not found] ` <vafn14ik8j2.fsf@lucy.cs.uni-dortmund.de>
     [not found]   ` <u7kvm7yqw.fsf@cisco.com>
2001-08-30 10:57     ` Dirk Meyer [this message]
2001-08-30 12:02       ` Kai Großjohann
2001-08-30 14:57         ` Dirk Meyer

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=xt4ofoxke75.fsf@riemen.informatik.uni-bremen.de \
    --to=dischi@tzi.de \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).