Gnus development mailing list
 help / color / mirror / Atom feed
* gnus-simplify-subject-fuzzy doesn't work
@ 2002-10-11 18:27 clemens fischer
  2002-10-11 18:44 ` Henrik Enberg
  0 siblings, 1 reply; 11+ messages in thread
From: clemens fischer @ 2002-10-11 18:27 UTC (permalink / raw)


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





^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2002-10-17  8:26 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-11 18:27 gnus-simplify-subject-fuzzy doesn't work clemens fischer
2002-10-11 18:44 ` Henrik Enberg
2002-10-12 13:58   ` Clemens Fischer
2002-10-12 19:22     ` Josh Huber
2002-10-13 14:15       ` Clemens Fischer
2002-10-16 11:44         ` Niklas Morberg
2002-10-16 20:02           ` clemens fischer
2002-10-17  6:48             ` Niklas Morberg
2002-10-13 17:28   ` Kai Großjohann
2002-10-17  6:55     ` Niklas Morberg
2002-10-17  8:26       ` Simon Josefsson

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).