Gnus development mailing list
 help / color / mirror / Atom feed
* limit to recipient?
@ 2001-09-30 20:33 Amos Gouaux
  2001-10-01  0:11 ` Nevin Kapur
  0 siblings, 1 reply; 9+ messages in thread
From: Amos Gouaux @ 2001-09-30 20:33 UTC (permalink / raw)


Is there anything like '/ a', but that limits to a recipient?  Maybe
'/ r' could be used if not.

Here's why: when I go into my sent-mail folders, I would like to be
able to narrow on messages I sent to a particular recipient.  Any
way to do that?

-- 
Amos




^ permalink raw reply	[flat|nested] 9+ messages in thread
* Limit to recipient?
@ 1999-07-04 18:58 Graham Todd
  1999-07-04 20:10 ` Kai.Grossjohann
  0 siblings, 1 reply; 9+ messages in thread
From: Graham Todd @ 1999-07-04 18:58 UTC (permalink / raw)



Hi all,

I have this im my ~/.gnus to make the Summary buffers in my sent-mail
archives more meaningful:


(setq gnus-extra-headers
           '(To Newsgroups))
(setq nnmail-extra-headers gnus-extra-headers)
(setq gnus-summary-line-format
          "%U %d%R%z%I%(%[%4L: %-20,20f%]%) %s\n")
(setq gnus-ignored-from-addresses
           "Graham Todd")


I'd like to be able to add a "limit" function something like this:

(defun gnus-summary-limit-to-recipient (????)
  "Limit the summary buffer to articles that were sent to a recipient
  that matches a regexp." 
 (interactive "sLimit to recipient (regexp): ")
  (gnus-summary-limit-to-subject ???? "????"))

but what would I have to substitute for the ???? above. Theres a few
line in gnus-sum.el like this:

(unless (fboundp (intern (concat "mail-header-" header)))
      (error "%s is not a valid header" header))

which seem to prevent gnus-extra-headers like "To" or "Newsgroups"
from being seen as valid headers. How and where could they be defined
as valid headers so a defun like gnus-summary-limit-to-recipient would
work?

-- 
Graham Todd        


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2001-10-01  0:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-30 20:33 limit to recipient? Amos Gouaux
2001-10-01  0:11 ` Nevin Kapur
  -- strict thread matches above, loose matches on Subject: below --
1999-07-04 18:58 Limit " Graham Todd
1999-07-04 20:10 ` Kai.Grossjohann
1999-07-04 21:07   ` Harry Putnam
1999-07-04 21:44     ` Kai.Grossjohann
1999-07-05  4:40     ` Graham Todd
1999-07-05  9:41       ` Kai.Grossjohann
1999-07-06  3:48         ` Lars Magne Ingebrigtsen

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).