info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: auto-kill mails with "X-Spam-Flag: YES"


From: Emanuel Berg
Subject: Re: auto-kill mails with "X-Spam-Flag: YES"
Date: Wed, 17 Feb 2016 01:38:17 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

>> But in Gnus v5.13, when the debugger is at line
>> 2085 in gnus-score.el, in `gnus-score-string',
>> *Headers* contains: ((To .
>> "<embe8573@student.uu.se>") (X-Spam-Flag . "YES")
>> (Subject . "=?utf-8?B?TWluIGZpdHRhIHbDpXQ=?="))
>> After that *Headers* doesn't change until the
>> function is done.
>
> Geez, the call sequence there is hard to follow...
> hm... Well, while debugging, I think the
> edebug-outside-buffer variable should tell you what
> buffer all this is taking place in?

`edebug-outside-buffer' is

    #<buffer *Headers*>

from start to finish of `gnus-score-string'.

By the way, I just tried

    (gnus-kill "X-Spam-Flag" "YES" '(gnus-summary-mark-as-read nil "X") t)

and it worked!

So perhaps killing isn't that bad after all :)_

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

[Prev in Thread] Current Thread [Next in Thread]