From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/47145 Path: main.gmane.org!not-for-mail From: clemens fischer Newsgroups: gmane.emacs.gnus.general Subject: gnus-simplify-subject-fuzzy doesn't work Date: Fri, 11 Oct 2002 20:27:08 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1034360872 6514 127.0.0.1 (11 Oct 2002 18:27:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 11 Oct 2002 18:27:52 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1804Vq-0001gJ-00 for ; Fri, 11 Oct 2002 20:27:50 +0200 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 1804Vp-00064q-00; Fri, 11 Oct 2002 13:27:49 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 11 Oct 2002 13:28:31 -0500 (CDT) 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 NAA22759 for ; Fri, 11 Oct 2002 13:28:19 -0500 (CDT) Original-Received: (qmail 1478 invoked by alias); 11 Oct 2002 18:27:29 -0000 Original-Received: (qmail 1473 invoked from network); 11 Oct 2002 18:27:29 -0000 Original-Received: from main.gmane.org (80.91.224.249) by gnus.org with SMTP; 11 Oct 2002 18:27:29 -0000 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1804Ur-0001bq-00 for ; Fri, 11 Oct 2002 20:26:49 +0200 Original-To: ding@gnus.org X-Injected-Via-Gmane: http://gmane.org/ Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1804Ur-0001bg-00 for ; Fri, 11 Oct 2002 20:26:49 +0200 Original-Path: ID-23066.news.dfncis.de!not-for-mail Original-Lines: 38 Original-NNTP-Posting-Host: p3e9baadd.dip.t-dialin.net Original-X-Trace: main.gmane.org 1034360809 6162 62.155.170.221 (11 Oct 2002 18:26:49 GMT) Original-X-Complaints-To: usenet@main.gmane.org Original-NNTP-Posting-Date: Fri, 11 Oct 2002 18:26:49 +0000 (UTC) User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386--freebsd) Cancel-Lock: sha1:eJqy08cJllWPIKo3OyGkFfA+Hvg= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:47145 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:47145 i've got a despammed address. emails i receive thru it are prefixed with "\\[despammed\\] ". i want to get rid of this string, because i keep forgetting to delete it when replying. i've got: (setq gnus-simplify-subject-fuzzy-regexp '( "\\[despammed\\]" ) gnus-simplify-ignored-prefixes "\\[despammed\\]" gnus-simplify-subject-functions '( gnus-simplify-subject-fuzzy cf-gnus-simplify-subject-summary ) ) which doesn't seem to work. i even tried to cook up my own: (defun cf-gnus-simplify-subject-summary (subject) "Remove \"Summary:\" from subject lines." (if (string-match "\\`\\(.*\\)\\[despammed\\] \\(.*\\)\\'" subject) (concat ;(substring subject (match-beginning 1) (match-end 1)) ;(substring subject (match-beginning 2) (match-end 2)) (match-string 1 subject) (match-string 2 subject) ) subject)) which also doesn't work. is there something wrong with gnus-simplify-subject-fuzzy? i expected it to make the prefix disappear in both the summary and the article buffer, but it is left untouched. clemens