Gnus development mailing list
 help / color / mirror / Atom feed
From: Sudish Joseph <sj@eng.mindspring.net>
Subject: Re: Summary format question
Date: 27 May 1997 14:10:04 -0400	[thread overview]
Message-ID: <yviabu5wpz0j.fsf@atreides.eng.mindspring.net> (raw)
In-Reply-To: Nelson Jose dos Santos Ferreira's message of 27 May 1997 15:44:23 +0100

Nelson Jose dos Santos Ferreira writes:
> 2. Make the scan-mail daemon handler update the group buffer.

(gnus-demon-add-handler 'sj/gnus-demon-scan-news 20 5)
(defun sj/gnus-demon-scan-news ()
  (when (gnus-alive-p)
    (save-window-excursion
      (save-excursion
	(set-buffer gnus-group-buffer)
	(gnus-group-get-new-news 2)))))


> BTW, is there a function to extract the value of a specified header ?
> I want to use the %u specifier to extract the From, check for one of my
> addresses. If it's me output -> and the contents of the To: header.
> I'd like to do the same translation as the %a does.

The mail-header-* macros in nnheader.el should be able pick apart the
header passed to a gnus-user-format-function-.  Don't forget to
byte-compile anything you do with %u or summary generation might slow
down drastically.

-Sudish


      parent reply	other threads:[~1997-05-27 18:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-05-27 14:44 Nelson Jose dos Santos Ferreira
1997-05-27 16:07 ` Kai Grossjohann
1997-05-27 17:46 ` Lars Magne Ingebrigtsen
1997-05-27 18:10 ` Sudish Joseph [this message]

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=yviabu5wpz0j.fsf@atreides.eng.mindspring.net \
    --to=sj@eng.mindspring.net \
    /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).