Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: info-gnus-english@gnu.org
Subject: Re: auto-kill mails with "X-Spam-Flag: YES"
Date: Sun, 21 Feb 2016 01:44:54 +0100	[thread overview]
Message-ID: <87r3g6lwmx.fsf@debian.uxu> (raw)
In-Reply-To: <87k2lzn5k9.fsf@gnus.org>

Lars Ingebrigtsen <larsi@gnus.org> writes:

>>> 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*>
>
> Hm. Then that can't be the correct buffer.
> Does anybody know of a way to make edebug tell you
> what buffer it's currently in?

What do you mean in what buffer it is in?

Is this the code that doesn't work? (lines 2079-2086 in
gnus-score.el, Gnus v5.13)

	  ;; Evil hackery to make match usable in non-standard headers.
	  (when extra
	    (setq match (concat "[ (](" extra " \\. \"\\([^\"]*\\\\\"\\)*[^\"]*"
				(if (eq search-func 're-search-forward)
				    match
				  (regexp-quote match))
				"\\([^\"]*\\\\\"\\)*[^\"]*\")[ )]")
		  search-func 're-search-forward)) ; XXX danger?!?

What should happen, that doesn't?

What does "XXX danger" mean?

Perhaps the "evil hackery" should be removed to have
the code more palatable :)

By the way, still no one replicated this problem.
Someone other than me should try do downscore with
extra headers and

    X-Spam-Flag: YES

That way we know where to look for the problem.

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



  reply	other threads:[~2016-02-21  0:44 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3558.1454557630.843.info-gnus-english@gnu.org>
2016-02-07  3:50 ` Lars Ingebrigtsen
2016-02-07  4:39   ` Emanuel Berg
     [not found]   ` <mailman.3850.1454819959.843.info-gnus-english@gnu.org>
2016-02-07  4:44     ` Lars Ingebrigtsen
2016-02-07  5:01       ` Emanuel Berg
     [not found]       ` <mailman.3852.1454821323.843.info-gnus-english@gnu.org>
2016-02-07  5:23         ` Lars Ingebrigtsen
2016-02-08  0:48           ` Emanuel Berg
     [not found]           ` <mailman.3977.1454892539.843.info-gnus-english@gnu.org>
2016-02-08  4:48             ` Lars Ingebrigtsen
2016-02-08 22:52               ` Emanuel Berg
     [not found]               ` <mailman.4132.1454971965.843.info-gnus-english@gnu.org>
2016-02-08 23:39                 ` Lars Ingebrigtsen
2016-02-09  2:26                   ` Emanuel Berg
     [not found]                   ` <mailman.4158.1454984781.843.info-gnus-english@gnu.org>
2016-02-09 23:47                     ` Lars Ingebrigtsen
2016-02-10  0:50                       ` Emanuel Berg
     [not found]                       ` <mailman.4270.1455065439.843.info-gnus-english@gnu.org>
2016-02-10  3:04                         ` Lars Ingebrigtsen
2016-02-11  0:50                           ` Emanuel Berg
     [not found]                           ` <mailman.4358.1455151881.843.info-gnus-english@gnu.org>
2016-02-11  4:01                             ` Lars Ingebrigtsen
2016-02-17  0:38                               ` Emanuel Berg
     [not found]                               ` <mailman.4888.1455669521.843.info-gnus-english@gnu.org>
2016-02-20  8:34                                 ` Lars Ingebrigtsen
2016-02-21  0:44                                   ` Emanuel Berg [this message]
     [not found]                                   ` <mailman.5253.1456015518.843.info-gnus-english@gnu.org>
2016-02-21  2:43                                     ` Lars Ingebrigtsen
2016-02-21  3:29                                       ` Emanuel Berg
2016-02-08  1:27   ` Emanuel Berg
2016-02-04  3:46 Emanuel Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r3g6lwmx.fsf@debian.uxu \
    --to=embe8573@student.uu.se \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).