From: Charles Sebold <csebold@livingtorah.org>
Cc: ding@gnus.org
Subject: Re: setting gnus-simplify-subject-functions for a single group?
Date: Thu, 07 Feb 2002 09:59:20 -0600 [thread overview]
Message-ID: <871yfxmgfb.fsf@sebold.lcms.org> (raw)
In-Reply-To: <874rktjpl9.fsf@home.lan> (Steinar Bang's message of "Thu, 07 Feb 2002 16:09:38 +0100")
On 25 Shevat 5762, Steinar Bang wrote:
> Is it possible to set gnus-simplify-subject-functions for a single
> group? Eg. in the Group Parameters of a group?
Yes, I've done it for several groups. In my .gnus I have something like
this for the TRU-64 managers group (which has few "RE:" but lots of
"SUMMARY:" subject lines, and few people reply to their own queries so
threading doesn't work automagically):
(defun crs-gnus-simplify-subject-summary (subject)
"Remove \"Summary:\" from subject lines."
(if (string-match "[Ss][Uu][Mm]+[Aa][Rr][Yy]: " subject)
(substring subject (match-end 0))
subject))
And in the group parameters:
(gnus-simplify-subject-functions
'(crs-gnus-simplify-subject-summary))
> Does anyone have a quick little function for removing a group tag from
> a subject, they'd like to share?
Not specifically, but you can probably get the idea from what I did
above.
--
Charles Sebold 25th of Shevat, 5762
next prev parent reply other threads:[~2002-02-07 15:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-07 15:09 Steinar Bang
2002-02-07 15:59 ` Charles Sebold [this message]
2002-02-07 16:09 ` ShengHuo ZHU
2002-02-07 19:55 ` Steinar Bang
2002-02-07 16:46 ` Matt Armstrong
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=871yfxmgfb.fsf@sebold.lcms.org \
--to=csebold@livingtorah.org \
--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).