From: David Moore <dmoore@UCSD.EDU>
Subject: Re: Feature request: display group parameter
Date: 06 Dec 1996 08:25:52 -0800 [thread overview]
Message-ID: <rv7mmvljvz.fsf@sdnp5.ucsd.edu> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of 06 Dec 1996 12:40:24 +0100
Lars Magne Ingebrigtsen <larsi@ifi.uio.no> writes:
> Wesley.Hardaker@sphys.unil.ch writes:
>
> > Lars> You could limit the summaries to articles that don't have the
> > Lars> "E" mark in some summary hook?
> >
> > Or is there a better way... Possibly:
> >
> > ((gnus-summary-display-hook (progn
> > (add-hook 'gnus-summary-display-hook 'limit-me-damn-it)
> > gnus-summary-display-hook)))
>
> This will modify the global versin of the hook, so that's not good.
>
> ...
> (gnus-summary-display-hook (limit-me-damn-it))
> ...
How about:
((gnus-summary-display-hook (cons 'limit-me-damn-it
gnus-summary-display-hook)))
Which avoids the side-affect operations of add-hook, or:
((gnus-summary-display-hook gnus-summary-display-hook)
(dummy (add-hook 'gnus-summary-display-hook 'limit-me-damn-it)))
if you really want to call add-hook.
--
David Moore <dmoore@ucsd.edu> | Computer Systems Lab __o
UCSD Dept. Computer Science - 0114 | Work: (619) 534-8604 _ \<,_
La Jolla, CA 92093-0114 | Fax: (619) 534-1445 (_)/ (_)
<URL:http://oj.egbt.org/dmoore/> | Solo Furnace Creek 508 -- 1996!
next prev parent reply other threads:[~1996-12-06 16:25 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-12-04 7:58 Wesley.Hardaker
1996-12-04 11:47 ` James Albert Kanze
1996-12-04 12:07 ` Kai Grossjohann
1996-12-04 12:08 ` Kai Grossjohann
1996-12-04 13:51 ` James Albert Kanze
1996-12-04 17:15 ` Colin Rafferty
1996-12-05 19:16 ` Lars Magne Ingebrigtsen
1996-12-06 8:31 ` Wesley.Hardaker
1996-12-06 8:44 ` Per Abrahamsen
1996-12-06 9:47 ` Wesley.Hardaker
1996-12-06 11:40 ` Lars Magne Ingebrigtsen
1996-12-06 16:25 ` David Moore [this message]
1996-12-06 17:08 ` David S. Goldberg
1996-12-07 20:03 ` Lars Magne Ingebrigtsen
1996-12-09 7:57 ` Wesley.Hardaker
1996-12-11 0:23 ` Lars Magne Ingebrigtsen
1996-12-09 8:16 ` Wesley.Hardaker
1996-12-11 0:24 ` Lars Magne Ingebrigtsen
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=rv7mmvljvz.fsf@sdnp5.ucsd.edu \
--to=dmoore@ucsd.edu \
/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).