* 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
* Re: gnus-simplify-subject-fuzzy doesn't work
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-13 17:28 ` Kai Großjohann
0 siblings, 2 replies; 11+ messages in thread
From: Henrik Enberg @ 2002-10-11 18:44 UTC (permalink / raw)
Cc: ding
clemens fischer <ino@despammed.com> writes:
> 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.
If you want to hide it from the summary view, you should use
`gnus-list-identifiers'.
--
Booting... /vmemacs.el
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: gnus-simplify-subject-fuzzy doesn't work
2002-10-11 18:44 ` Henrik Enberg
@ 2002-10-12 13:58 ` Clemens Fischer
2002-10-12 19:22 ` Josh Huber
2002-10-13 17:28 ` Kai Großjohann
1 sibling, 1 reply; 11+ messages in thread
From: Clemens Fischer @ 2002-10-12 13:58 UTC (permalink / raw)
Henrik Enberg <henrik@enberg.org>:
>> with "\\[despammed\\] ". i want to get rid of this string, because i
>
> If you want to hide it from the summary view, you should use
> `gnus-list-identifiers'.
yes, thanks to you and ted for this tip. it works, although i do not
only want to hide it from the summary, but from replies as well.
also, i don't understand why g-simplify-subject-fuzzy doesn't do
that. i can't even see any irregularities in the source.
clemens
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: gnus-simplify-subject-fuzzy doesn't work
2002-10-12 13:58 ` Clemens Fischer
@ 2002-10-12 19:22 ` Josh Huber
2002-10-13 14:15 ` Clemens Fischer
0 siblings, 1 reply; 11+ messages in thread
From: Josh Huber @ 2002-10-12 19:22 UTC (permalink / raw)
Clemens Fischer <ino@despammed.com> writes:
> yes, thanks to you and ted for this tip. it works, although i do
> not only want to hide it from the summary, but from replies as well.
> also, i don't understand why g-simplify-subject-fuzzy doesn't do
> that. i can't even see any irregularities in the source.
I thought subject simplification was for threading purposes only, and
it didn't actually modify the subject contents?
--
Josh Huber
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: gnus-simplify-subject-fuzzy doesn't work
2002-10-12 19:22 ` Josh Huber
@ 2002-10-13 14:15 ` Clemens Fischer
2002-10-16 11:44 ` Niklas Morberg
0 siblings, 1 reply; 11+ messages in thread
From: Clemens Fischer @ 2002-10-13 14:15 UTC (permalink / raw)
Josh Huber <huber@alum.wpi.edu>:
> I thought subject simplification was for threading purposes only, and
> it didn't actually modify the subject contents?
this is news to me. i don't remember having read about it in info,
but there's definitely no mention of it in any related doc-string.
so, how do people filter out strings in subjects? the means are
obviously there...
clemens
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: gnus-simplify-subject-fuzzy doesn't work
2002-10-11 18:44 ` Henrik Enberg
2002-10-12 13:58 ` Clemens Fischer
@ 2002-10-13 17:28 ` Kai Großjohann
2002-10-17 6:55 ` Niklas Morberg
1 sibling, 1 reply; 11+ messages in thread
From: Kai Großjohann @ 2002-10-13 17:28 UTC (permalink / raw)
Henrik Enberg <henrik@enberg.org> writes:
> clemens fischer <ino@despammed.com> writes:
>
>> 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.
>
> If you want to hide it from the summary view, you should use
> `gnus-list-identifiers'.
If you want to remove it from incoming messages, maybe
nnmail-list-identifiers is the trick.
kai
--
~/.signature is: umop ap!sdn (Frank Nobis)
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: gnus-simplify-subject-fuzzy doesn't work
2002-10-13 14:15 ` Clemens Fischer
@ 2002-10-16 11:44 ` Niklas Morberg
2002-10-16 20:02 ` clemens fischer
0 siblings, 1 reply; 11+ messages in thread
From: Niklas Morberg @ 2002-10-16 11:44 UTC (permalink / raw)
Cc: ding
Clemens Fischer <ino@despammed.com> writes:
> so, how do people filter out strings in subjects? the
> means are obviously there...
I use message-subject-re-regexp to remove unwanted stuff
from my outgoing emails. Maybe this can work for you as
well?
Niklas
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: gnus-simplify-subject-fuzzy doesn't work
2002-10-16 11:44 ` Niklas Morberg
@ 2002-10-16 20:02 ` clemens fischer
2002-10-17 6:48 ` Niklas Morberg
0 siblings, 1 reply; 11+ messages in thread
From: clemens fischer @ 2002-10-16 20:02 UTC (permalink / raw)
Cc: ding
Niklas Morberg <niklas.morberg@axis.com>:
> I use message-subject-re-regexp to remove unwanted stuff
> from my outgoing emails. Maybe this can work for you as
> well?
the doc-string suggests this would only remove "Re[1-9]+:" type of
stuff, and the source says the same. the list-indicators helped me.
clemens
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: gnus-simplify-subject-fuzzy doesn't work
2002-10-16 20:02 ` clemens fischer
@ 2002-10-17 6:48 ` Niklas Morberg
0 siblings, 0 replies; 11+ messages in thread
From: Niklas Morberg @ 2002-10-17 6:48 UTC (permalink / raw)
"clemens fischer" <ino@despammed.com> writes:
> Niklas Morberg <niklas.morberg@axis.com>:
>
>> I use message-subject-re-regexp to remove unwanted stuff
>> from my outgoing emails. Maybe this can work for you as
>> well?
>
> the doc-string suggests this would only remove "Re[1-9]+:" type of
> stuff, and the source says the same.
It depends on the variable's value. I have it set to:
"^\\(\\(\\([Rr][Ee]\\|[Ss][Vv]\\|[Aa][Ww]\\|[Ff][Ww]d?\\|Réf\\. ?\\):\\|\\[SPAM\\]\\)+ *\\)"
to remove "Re" in a couple of languages and also to remove a
[SPAM] prefix inserted globally here at my site for
suspected spam.
> the list-indicators helped me.
Ok. Maybe I should take a look at that too...
Niklas
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: gnus-simplify-subject-fuzzy doesn't work
2002-10-13 17:28 ` Kai Großjohann
@ 2002-10-17 6:55 ` Niklas Morberg
2002-10-17 8:26 ` Simon Josefsson
0 siblings, 1 reply; 11+ messages in thread
From: Niklas Morberg @ 2002-10-17 6:55 UTC (permalink / raw)
Cc: ding
Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:
> If you want to remove it from incoming messages, maybe
> nnmail-list-identifiers is the trick.
Is there a similar way to handle this for nnimap? I couldn't
find an nnimap-list-identifiers variable anywhere...
Niklas
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: gnus-simplify-subject-fuzzy doesn't work
2002-10-17 6:55 ` Niklas Morberg
@ 2002-10-17 8:26 ` Simon Josefsson
0 siblings, 0 replies; 11+ messages in thread
From: Simon Josefsson @ 2002-10-17 8:26 UTC (permalink / raw)
Cc: Kai Großjohann, ding
Niklas Morberg <niklas.morberg@axis.com> writes:
> Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:
>
>> If you want to remove it from incoming messages, maybe
>> nnmail-list-identifiers is the trick.
>
> Is there a similar way to handle this for nnimap? I couldn't
> find an nnimap-list-identifiers variable anywhere...
nnmail-list-identifiers modifies articles, which isn't supported by
the IMAP protocol. `gnus-list-identifiers' should be a
non-destructive version of it.
^ 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).