From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/42959 Path: main.gmane.org!not-for-mail From: Charles Sebold Newsgroups: gmane.emacs.gnus.general Subject: Re: setting gnus-simplify-subject-functions for a single group? Date: Thu, 07 Feb 2002 09:59:20 -0600 Sender: owner-ding@hpc.uh.edu Message-ID: <871yfxmgfb.fsf@sebold.lcms.org> References: <874rktjpl9.fsf@home.lan> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035178128 14971 80.91.224.250 (21 Oct 2002 05:28:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:28:48 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: (qmail 15490 invoked from network); 7 Feb 2002 16:02:59 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 7 Feb 2002 16:02:59 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16YqzC-0006Yb-00; Thu, 07 Feb 2002 10:01:22 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 07 Feb 2002 10:00:56 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id JAA06070 for ; Thu, 7 Feb 2002 09:59:32 -0600 (CST) Original-Received: (qmail 15446 invoked by alias); 7 Feb 2002 15:59:25 -0000 Original-Received: (qmail 15441 invoked from network); 7 Feb 2002 15:59:25 -0000 Original-Received: from webuser229.lcms.org (HELO sebold) (208.167.163.229) by gnus.org with SMTP; 7 Feb 2002 15:59:25 -0000 Original-Received: from sebold by sebold with local (Exim 3.34 #1 (Debian)) id 16YqxE-0000bM-00; Thu, 07 Feb 2002 09:59:20 -0600 Original-To: Steinar Bang X-Attribution: crs X-Face: KviMK/n@>[)^qaI{Lpl^/~TBbx0FI*=>m%|v%69pVbA~Eu+@S3?[ioF>k}7b0(TZIle..zs -U=po%Tr;2bo,WH01K|,QP7}+-&kb^QO (Steinar Bang's message of "Thu, 07 Feb 2002 16:09:38 +0100") Original-Lines: 28 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.1 (i386-debian-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:42959 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:42959 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