From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/9129 Path: main.gmane.org!not-for-mail From: David Moore Newsgroups: gmane.emacs.gnus.general Subject: Re: Feature request: display group parameter Date: 06 Dec 1996 08:25:52 -0800 Sender: dmoore@sdnp5.ucsd.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035149200 16623 80.91.224.250 (20 Oct 2002 21:26:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:26:40 +0000 (UTC) Return-Path: Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.8.4/8.8.4) with SMTP id IAA28950 for ; Fri, 6 Dec 1996 08:50:03 -0800 Original-Received: from UCSD.EDU (mailbox1.ucsd.edu [132.239.1.53]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Fri, 6 Dec 1996 17:27:26 +0100 Original-Received: from sdnp5.ucsd.edu (sdnp5.ucsd.edu [132.239.79.10]) by UCSD.EDU (8.8.3/8.6.9) with SMTP id IAA13451 for ; Fri, 6 Dec 1996 08:27:24 -0800 (PST) Original-Received: by sdnp5.ucsd.edu (SMI-8.6/SMI-SVR4) id IAA16800; Fri, 6 Dec 1996 08:25:53 -0800 Original-To: "(ding) Gnus Mailing List" In-Reply-To: Lars Magne Ingebrigtsen's message of 06 Dec 1996 12:40:24 +0100 Original-Lines: 34 X-Mailer: Red Gnus v0.72/XEmacs 19.14 Xref: main.gmane.org gmane.emacs.gnus.general:9129 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:9129 Lars Magne Ingebrigtsen 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 | Computer Systems Lab __o UCSD Dept. Computer Science - 0114 | Work: (619) 534-8604 _ \<,_ La Jolla, CA 92093-0114 | Fax: (619) 534-1445 (_)/ (_) | Solo Furnace Creek 508 -- 1996!