From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/38439 Path: main.gmane.org!not-for-mail From: Dirk Meyer Newsgroups: gmane.emacs.gnus.general Subject: Re: function to get "To" address from the header Date: Thu, 30 Aug 2001 12:57:34 +0200 Organization: Universitaet Bremen, Germany Sender: dmeyer@Informatik.Uni-Bremen.DE Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035174301 22376 80.91.224.250 (21 Oct 2002 04:25:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:25:01 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 26124 invoked from network); 30 Aug 2001 10:57:38 -0000 Original-Received: from nmh.informatik.uni-bremen.de (root@134.102.224.3) by gnus.org with SMTP; 30 Aug 2001 10:57:38 -0000 Original-Received: from riemen.informatik.uni-bremen.de (IDENT:root@riemen.informatik.uni-bremen.de [134.102.218.42]) by nmh.informatik.uni-bremen.de (8.10.1/8.10.1) with ESMTP id f7UAvHJ26069 for ; Thu, 30 Aug 2001 12:57:17 +0200 (MEST) Original-Received: (from dmeyer@localhost) by riemen.informatik.uni-bremen.de (8.9.3/8.8.7) id MAA07930; Thu, 30 Aug 2001 12:57:34 +0200 Original-To: ding@gnus.org User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.104 Original-Lines: 38 Xref: main.gmane.org gmane.emacs.gnus.general:38439 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:38439 Pranav K. Tiwari wrote: > Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) writes: > >> anti-spam-pranav@cisco.com (Pranav K. Tiwari) writes: >>=20 >> > [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 wa= nt to >> > use it in gnus-summary-line-format to display the recipient's name in >> > summary line (only in nndraft folders). >>=20 >> See the node "To From Newsgroups" in the Gnus info file. >>=20 > > Thanks for the pointer, Kai. But I couldn't get it to work the way I want= ed > 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.=20 Is it possible to add the missing headers when saving the message with C-x C-s? Dirk --=20 Real Men don't make backups. They upload it via ftp and let the world mirror it. -- Linus Torvalds