Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: Different nnmail-fancy-expiry-targets for diff. groups?
       [not found] <bd9d960a.0312290919.61d47621@posting.google.com>
@ 2003-12-30  1:16 ` Lars Magne Ingebrigtsen
       [not found]   ` <bd9d960a.0312300225.5807d3f8@posting.google.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-12-30  1:16 UTC (permalink / raw)


devnull.@freemail.hu (devnull.) writes:

> In the manual I found nnmail-expiry-target and nnmail-fancy-expiry-targets
> as possible solutions, the first one can be given as a group parameter,
> but as I read, only the second has parameters like %Y etc. and that
> (nnmail-fancy-expiry-target)can not be given as group parameter.

You should be able to set the variable from, say,
`gnus-summary-mode-hook' to different values for different groups,
though... 

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


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

* Re: Different nnmail-fancy-expiry-targets for diff. groups?
       [not found]   ` <bd9d960a.0312300225.5807d3f8@posting.google.com>
@ 2004-01-03  4:20     ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2004-01-03  4:20 UTC (permalink / raw)


devnull.@freemail.hu (devnull.) writes:

> (defun my-summary-mode-hook-for-fancy-expiry ()
>   (here-comes-the-part-i-cant-make))
>
> Things that are not clear for me:
> What to put into the function?

(defun my-summary-mode-hook-for-fancy-expiry ()
  (if (equalp gnus-newsgroup-name "some.group")
      (setq nnmail-fancy-expiry-targets '(something))
    (setq nnmail-fancy-expiry-targets '(other))))

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


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

end of thread, other threads:[~2004-01-03  4:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bd9d960a.0312290919.61d47621@posting.google.com>
2003-12-30  1:16 ` Different nnmail-fancy-expiry-targets for diff. groups? Lars Magne Ingebrigtsen
     [not found]   ` <bd9d960a.0312300225.5807d3f8@posting.google.com>
2004-01-03  4:20     ` 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).