From: "Håvard Fosseng" <havard.fosseng@usit.uio.no>
Cc: ding@gnus.org
Subject: Re: Got a couple weird ones here (hacking article-display-hook)
Date: Fri, 20 Nov 1998 01:17:50 +0100 (MET) [thread overview]
Message-ID: <13908.46382.139930.329454@tag.uio.no> (raw)
In-Reply-To: <vxkd86jtnmk.fsf_-_@beaver.jprc.com>
Karl Kleinpaste writes:
> So, second, I thought I'd try a different approach: Add or remove
> signature hiding to the global gnus-article-display-hook, on a
> per-group basis:
>
> (setq gnus-select-group-hook
> (function
> (lambda ()
> (if (string-match "that.bad.mailing.list" gnus-newsgroup-name)
> (add-hook 'gnus-article-display-hook 'gnus-article-hide-signature t)
> (remove-hook 'gnus-article-display-hook 'gnus-article-hide-signature))
> ))
Another approach I've used is:
(defadvice gnus-article-hide-signature (around not-aq activate)
"Don't hide signatures in alt.quotations and comp.text.sgml"
(unless (string-match "alt.quotations\\|sgml" gnus-newsgroup-name)
ad-do-it))
- Håvard Fosseng
--
S'il fallait tolérer aux autres tout ce qu'on se permet à soi-même, la
vie ne serait plus tenable.
-- Georges Courteline
next prev parent reply other threads:[~1998-11-20 0:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-11-19 16:53 removing obnoxious mailing list trailers? Karl Kleinpaste
1998-11-19 17:09 ` Colin Rafferty
1998-11-19 20:48 ` Got a couple weird ones here (hacking article-display-hook) Karl Kleinpaste
1998-11-20 0:17 ` Håvard Fosseng [this message]
1998-11-20 0:21 ` Håvard Fosseng
1998-11-20 2:49 ` Lars Magne Ingebrigtsen
1998-11-20 4:53 ` Karl Kleinpaste
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=13908.46382.139930.329454@tag.uio.no \
--to=havard.fosseng@usit.uio.no \
--cc=ding@gnus.org \
/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).