Gnus development mailing list
 help / color / mirror / Atom feed
* gnus-simplify-subject-functions
@ 2003-10-01 18:26 Denis Dzyubenko
  2003-10-01 19:00 ` gnus-simplify-subject-functions Jesper Harder
  0 siblings, 1 reply; 3+ messages in thread
From: Denis Dzyubenko @ 2003-10-01 18:26 UTC (permalink / raw)


Hello,

How does gnus-simplify-subject-functions work ? I tried this:

=+==
(defun my-gnus-simplify-talk-ru (subject)
  (setq my-subj subject)
  (if (string-match " - fido7.su.c-cpp" subject)
      (substring subject 0 (match-beginning 0))
    subject))

(setq gnus-simplify-subject-functions '(my-gnus-simplify-talk-ru))
=+==

I test my function, it works fine:
(my-gnus-simplify-talk-ru "Old Subject - fido7.su.c-cpp")
returns "Old Subject".

But when replying " - fido7.su.c-cpp" is not removed from subjects -
what I do wrong ?

btw, is gnus-simplify-* functions documented? I can't find anything
about these functions in Gnus documentation.

-- 
Denis.

I had a dream... DIR C: 999,937,498,127 bytes free (df: /usr 999937498727 blocks free).



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

end of thread, other threads:[~2003-10-01 19:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-01 18:26 gnus-simplify-subject-functions Denis Dzyubenko
2003-10-01 19:00 ` gnus-simplify-subject-functions Jesper Harder
2003-10-01 19:37   ` gnus-simplify-subject-functions Denis Dzyubenko

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