Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Subject: Re: ham destination bugs
Date: Tue, 14 Feb 2006 16:04:22 +0100	[thread overview]
Message-ID: <v9lkwe6ky1.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <4nzmkv9ij8.fsf_-_@lifelogs.com>

[-- Attachment #1: Type: text/plain, Size: 3019 bytes --]

On Mon, Feb 13 2006, Ted Zlatanov wrote:

> On  9 Feb 2006, reinersteib+gmane@imap.cc wrote:
>> (setq
>> gnus-parameters
>> `(;; [other stuff]
>> (":Spam/Unsure"
>> (ham-process-destination ,rs-imap-train-ham-group
>> 			     ,rs-imap-inbox-group)

[ BTW: The re-indenting of code like this is a misfeature of the
  citation package your are using, IMHO. ;-) ]

> Can you go inside the group and check what spam-move-ham-routine is
> doing?  

For testing, I changed...
  (ham-process-destination ,rs-imap-train-ham-group
                           ,rs-imap-inbox-group)
... to...
  (ham-process-destination "nnml+personal:misc.Spam.test-ham1"
                           "nnml+personal:misc.Spam.test-ham2")

I copied some random article to the Spam/Unsure group and marked it with
`d' (i.e. as ham).  Then I quit with `q'.

Strange.  I found that doesn't fail all the time.  Attached you'll
find three edebug-transcripts (spam-ham.debug-662, -663, -664) from
the *Messages* buffer.  In the case of spam-ham.debug-662, the article
was successfully copied to both targets.  For -663 and -664 it failed.
I edebugged `spam-move-ham-routine' and `spam-copy-or-move-routine'.

> Specifically, what is the value of
>
> (gnus-parameter-ham-process-destination gnus-newsgroup-name)

M-: (gnus-parameter-ham-process-destination gnus-newsgroup-name) RET
returns ("nnimap+kiz:bayes/ham" "nnimap+kiz:INBOX").

("nnml+personal:misc.Spam.test-ham1" "nnml+personal:misc.Spam.test-ham2")
with the test setup, resp.

> and whether spam-move-ham-routine is getting invoked at all?

It is invoked.

>> In the "^gmane\\." entry, I need a conditional for v5-10 and trunk,
>> because the backward compatibility code doesn't work correctly,
>> see [2].
>
> Well, spam-list-of-processors doesn't contain
> gnus-group-spam-exit-processor-report-gmane so perhaps that's why it
> doesn't work.  Can you try adding
>
> (gnus-group-spam-exit-processor-report-gmane spam spam-use-gmane)
>
> to that list and see if that fixes your problem?

I tried that some time ago without success:
http://article.gmane.org/gmane.emacs.gnus.general/60992

>> Additionally to those two items, my message from September [3].
>> Unless these problems are resolved, I'd rather not put it into v5-10.
>> [3] <news:v9vf0ugya0.fsf@marauder.physik.uni-ulm.de>
>> http://thread.gmane.org/v9vf0ugya0.fsf%40marauder.physik.uni-ulm.de
>
> That message has several issues; I definitely will fix the manual by
> taking Chong's version and adding the changes for the new-style
> backend variables.  Was there anything else I missed?

I'm not aware of anything else, ATM.

> p.s. you're so well-organized, it makes me jealous.  Is there an Emacs
> rs-brain-organize-mode? :)

Not really.  It's a combination of Gcc-ing my articles to an nnml
group for each group/list (so I can find my own postings easily and
Gmane's find-thread (by MID) and search functions. :-)

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

[-- Attachment #2: spam-ham.debug-662 --]
[-- Type: text/plain, Size: 3477 bytes --]

No more unread articles
No more articles
Exiting summary buffer and applying spam rules
Registering 1 specific articles as ham using backend spam-use-move
Result: "nnimap+kiz:Spam/Unsure"
Result: ("nnml+personal:misc.Spam.test-ham1" "nnml+personal:misc.Spam.test-ham2")
Result: (662)
Result: ("nnml+personal:misc.Spam.test-ham1" "nnml+personal:misc.Spam.test-ham2")
Result: "nnml+personal:misc.Spam.test-ham1"
Result: ("nnml+personal:misc.Spam.test-ham1" "nnml+personal:misc.Spam.test-ham2")
Result: "nnml+personal:misc.Spam.test-ham1"
Result: nil [3 times]
Result: ("nnml+personal:misc.Spam.test-ham1" "nnml+personal:misc.Spam.test-ham2")
Result: t
Result: nil
Result: 12 (#o14, #xc, ?\C-l)
Result: "nnimap+kiz:Spam/Unsure"
Result: t
Auto-saving...done
Result: "nnimap+kiz:Spam/Unsure"
Result: (nnimap "kiz" (nnimap-address "imap.uni-ulm.de") (nnimap-directory "~/Mail/var/nnimap/kiz"))
Result: ("nnml+personal:misc.Spam.test-ham1" "nnml+personal:misc.Spam.test-ham2")
Result: nil [2 times]
Result: ("nnml+personal:misc.Spam.test-ham1" "nnml+personal:misc.Spam.test-ham2")
Result: (662)
Result: "nnml+personal:misc.Spam.test-ham1"
Result: t [2 times]
Result: (662)
Result: ham
Result: t
Result: nil [3 times]
Result: ham
Result: nil [3 times]
Result: 662 (#o1226, #x296)
Result: t
Result: nil
Result: t
Result: nil
Result: ("nnml+personal:misc.Spam.test-ham1" "nnml+personal:misc.Spam.test-ham2")
Result: 2 (#o2, #x2, ?\C-b)
Result: t [2 times]
Result: 662 (#o1226, #x296)
Result: "nnml+personal:misc.Spam.test-ham1"
Result: "Copying article 662 to group nnml+personal:misc.Spam.test-ham1"
Result: "nnml+personal:misc.Spam.test-ham1"
Copying to nnml+personal:misc.Spam.test-ham1: (662)...
Wrote ~/Mail/personal/misc.Spam.test-ham1/2
nnimap: Updating info for nnimap+kiz:Spam/Unsure...done
Result: t [5 times]
Result: nil [3 times]
  [ (unless copy ...) ...]
"nnml+personal:misc.Spam.test-ham1"
("nnml+personal:misc.Spam.test-ham1" "nnml+personal:misc.Spam.test-ham2")
Result: t [3 times]
Result: (662)
Result: 662 (#o1226, #x296)
Result: t
Result: 662 (#o1226, #x296)
Result: "Deleting article 662"
Result: nil
Result: (662)
Missing SEARCH response to a SEARCH command (server not RFC compliant)...
Couldn't delete articles (662)
Result: (662) [7 times]
Result: 1 (#o1, #x1, ?\C-a)
 [ Now we enter the second pass of (dolist (group groups) ...) ]
Result: (662)
Result: "nnml+personal:misc.Spam.test-ham2"
Result: t [2 times]
Result: (662)
Result: ham
Result: t
Result: nil [3 times]
Result: ham
Result: nil [3 times]
Result: 662 (#o1226, #x296)
Result: t
Result: nil
Result: t
Result: nil
Result: ("nnml+personal:misc.Spam.test-ham1" "nnml+personal:misc.Spam.test-ham2")
Result: 2 (#o2, #x2, ?\C-b)
Result: t [2 times]
Result: 662 (#o1226, #x296)
Result: "nnml+personal:misc.Spam.test-ham2"
Result: "Copying article 662 to group nnml+personal:misc.Spam.test-ham2"
Result: "nnml+personal:misc.Spam.test-ham2"
Copying to nnml+personal:misc.Spam.test-ham2: (662)...
Creating mail directory ~/Mail/personal/misc.Spam.test-ham2/
Wrote ~/Mail/personal/misc.Spam.test-ham2/1
nnimap: Updating info for nnimap+kiz:Spam/Unsure...done
Result: t [5 times]
Result: nil [3 times]
Result: t [3 times]
Result: (662)
Result: 662 (#o1226, #x296)
Result: t
Result: 662 (#o1226, #x296)
Result: "Deleting article 662"
Result: nil
Result: (662)
Result: nil [5 times]
Result: (662) [2 times]
Result: 1 (#o1, #x1, ?\C-a)
Result: nil [3 times]
1 ham messages were registered by backend spam-use-move.

[-- Attachment #3: spam-ham.debug-663 --]
[-- Type: text/plain, Size: 3778 bytes --]

Copying to nnimap+kiz:Spam/Unsure: (8692)...
nnimap: Setting marks in Spam/Unsure...done
nnimap: Updating info for nnimap+kiz:Spam/Unsure...done
Exiting summary buffer and applying spam rules
nnimap: Updating info for nnimap+kiz:Spam/Unsure...done
Retrieving newsgroup: nnimap+kiz:Spam/Unsure...
nnimap: Updating info for nnimap+kiz:Spam/Unsure...done
Fetching headers for nnimap+kiz:Spam/Unsure...done
Sorting articles...done
Generating summary...done
Marking unseen articles as spam
No more unread articles [2 times]
No more articles
Exiting summary buffer and applying spam rules
Registering 1 specific articles as ham using backend spam-use-move
Result: "nnimap+kiz:Spam/Unsure"
Result: ("nnml+personal:misc.Spam.test-ham1" "nnml+personal:misc.Spam.test-ham2")
Result: (663)
Result: ("nnml+personal:misc.Spam.test-ham1" "nnml+personal:misc.Spam.test-ham2")
Result: "nnml+personal:misc.Spam.test-ham1"
Result: ("nnml+personal:misc.Spam.test-ham1" "nnml+personal:misc.Spam.test-ham2")
Result: "nnml+personal:misc.Spam.test-ham1"
Result: nil [3 times]
Result: ("nnml+personal:misc.Spam.test-ham1" "nnml+personal:misc.Spam.test-ham2")
Result: t
Result: nil
Result: 12 (#o14, #xc, ?\C-l)
Result: "nnimap+kiz:Spam/Unsure"
Result: t
Result: "nnimap+kiz:Spam/Unsure"
Result: (nnimap "kiz" (nnimap-address "imap.uni-ulm.de") (nnimap-directory "~/Mail/var/nnimap/kiz"))
Result: ("nnml+personal:misc.Spam.test-ham1" "nnml+personal:misc.Spam.test-ham2")
Result: nil [2 times]
Result: ("nnml+personal:misc.Spam.test-ham1" "nnml+personal:misc.Spam.test-ham2")
Result: (663)
Result: "nnml+personal:misc.Spam.test-ham1"
Result: t [2 times]
Result: (663)
Result: ham
Result: t
Result: nil [3 times]
Result: ham
Result: nil [3 times]
Result: 663 (#o1227, #x297)
Result: t
Result: nil
Result: t
Result: nil
Result: ("nnml+personal:misc.Spam.test-ham1" "nnml+personal:misc.Spam.test-ham2")
Result: 2 (#o2, #x2, ?\C-b)
Result: t [2 times]
Result: 663 (#o1227, #x297)
Result: "nnml+personal:misc.Spam.test-ham1"
Result: "Copying article 663 to group nnml+personal:misc.Spam.test-ham1"
Result: "nnml+personal:misc.Spam.test-ham1"
Opening nnml server on personal...done
Copying to nnml+personal:misc.Spam.test-ham1: (663)...
Wrote ~/Mail/personal/misc.Spam.test-ham1/3
nnimap: Updating info for nnimap+kiz:Spam/Unsure...done
Stop
Result: t [2 times]
Stop
Result: t [3 times]
Result: nil [3 times]
Result: t [3 times]
Result: (663)
Result: 663 (#o1227, #x297)
Result: t
Result: 663 (#o1227, #x297)
Result: "Deleting article 663"
Result: nil
Result: (663)
Result: nil [5 times]
Result: (663) [2 times]
Result: 1 (#o1, #x1, ?\C-a)
Result: (663)
Result: "nnml+personal:misc.Spam.test-ham2"
Result: t [2 times]
Result: (663)
Result: ham
Result: t
Result: nil [3 times]
Result: ham
Result: nil [3 times]
Result: 663 (#o1227, #x297)
Result: t
Result: nil
Result: t
Result: nil
Result: ("nnml+personal:misc.Spam.test-ham1" "nnml+personal:misc.Spam.test-ham2")
Result: 2 (#o2, #x2, ?\C-b)
Result: t [2 times]
Result: 663 (#o1227, #x297)
Result: "nnml+personal:misc.Spam.test-ham2"
Result: "Copying article 663 to group nnml+personal:misc.Spam.test-ham2"
Result: "nnml+personal:misc.Spam.test-ham2"
Copying to nnml+personal:misc.Spam.test-ham2: (663)...
Opened server personal using directory ~/Mail/personal
Couldn't Copy article 663: Opened server personal using directory ~/Mail/personal
nnimap: Updating info for nnimap+kiz:Spam/Unsure...done
Result: t [5 times]
Result: nil [3 times]
Result: t [3 times]
Result: (663)
Result: 663 (#o1227, #x297)
Result: t
Result: 663 (#o1227, #x297)
Result: "Deleting article 663"
Result: nil
Result: (663)
Couldn't delete articles (663)
Result: (663) [7 times]
Result: 1 (#o1, #x1, ?\C-a)
Result: nil [3 times]
1 ham messages were registered by backend spam-use-move.

[-- Attachment #4: spam-ham.debug-664 --]
[-- Type: text/plain, Size: 3435 bytes --]


Generating summary...done
Marking unseen articles as spam
No more unread articles [2 times]
No more articles
Exiting summary buffer and applying spam rules
Registering 1 specific articles as ham using backend spam-use-move
Mark set [2 times]
Result: "nnimap+kiz:Spam/Unsure"
Result: ("nnml+personal:misc.Spam.test-ham1" "nnml+personal:misc.Spam.test-ham2")
Result: (664)
Result: ("nnml+personal:misc.Spam.test-ham1" "nnml+personal:misc.Spam.test-ham2")
Result: "nnml+personal:misc.Spam.test-ham1"
Result: ("nnml+personal:misc.Spam.test-ham1" "nnml+personal:misc.Spam.test-ham2")
Result: "nnml+personal:misc.Spam.test-ham1"
Result: nil [3 times]
Result: ("nnml+personal:misc.Spam.test-ham1" "nnml+personal:misc.Spam.test-ham2")
Result: t
Result: nil
Result: 12 (#o14, #xc, ?\C-l)
Result: "nnimap+kiz:Spam/Unsure"
Result: t
Result: "nnimap+kiz:Spam/Unsure"
Result: (nnimap "kiz" (nnimap-address "imap.uni-ulm.de") (nnimap-directory "~/Mail/var/nnimap/kiz"))
Result: ("nnml+personal:misc.Spam.test-ham1" "nnml+personal:misc.Spam.test-ham2")
Result: nil [2 times]
Result: ("nnml+personal:misc.Spam.test-ham1" "nnml+personal:misc.Spam.test-ham2")
Result: (664)
Result: "nnml+personal:misc.Spam.test-ham1"
Result: t [2 times]
Result: (664)
Result: ham
Result: t
Result: nil [2 times]
Mark set
Result: nil
Result: ham
Result: nil [3 times]
Result: 664 (#o1230, #x298)
Result: t
Result: nil
Result: t
Result: nil
Result: ("nnml+personal:misc.Spam.test-ham1" "nnml+personal:misc.Spam.test-ham2")
Result: 2 (#o2, #x2, ?\C-b)
Result: t [2 times]
Result: 664 (#o1230, #x298)
Result: "nnml+personal:misc.Spam.test-ham1"
Result: "Copying article 664 to group nnml+personal:misc.Spam.test-ham1"
Result: "nnml+personal:misc.Spam.test-ham1"
Opening nnml server on personal...done
Copying to nnml+personal:misc.Spam.test-ham1: (664)...
Wrote ~/Mail/personal/misc.Spam.test-ham1/4
nnimap: Updating info for nnimap+kiz:Spam/Unsure...done
Result: t [5 times]
Result: nil [3 times]
Result: t [3 times]
Result: (664)
Result: 664 (#o1230, #x298)
Result: t
Result: 664 (#o1230, #x298)
Result: "Deleting article 664"
Result: nil
Result: (664)
Result: nil [5 times]
Result: (664) [2 times]
Result: 1 (#o1, #x1, ?\C-a)
Result: (664)
Result: "nnml+personal:misc.Spam.test-ham2"
Result: t [2 times]
Result: (664)
Result: ham
Result: t
Result: nil [3 times]
Result: ham
Result: nil [3 times]
Result: 664 (#o1230, #x298)
Result: t
Result: nil
Result: t
Result: nil
Result: ("nnml+personal:misc.Spam.test-ham1" "nnml+personal:misc.Spam.test-ham2")
Result: 2 (#o2, #x2, ?\C-b)
Result: t [2 times]
Result: 664 (#o1230, #x298)
Result: "nnml+personal:misc.Spam.test-ham2"
Result: "Copying article 664 to group nnml+personal:misc.Spam.test-ham2"
Result: "nnml+personal:misc.Spam.test-ham2"
mwheel-scroll: End of buffer
Copying to nnml+personal:misc.Spam.test-ham2: (664)...
Opened server personal using directory ~/Mail/personal
Couldn't Copy article 664: Opened server personal using directory ~/Mail/personal
nnimap: Updating info for nnimap+kiz:Spam/Unsure...done
Result: t [5 times]
Result: nil [3 times]
Result: t [3 times]
Result: (664)
Result: 664 (#o1230, #x298)
Result: t
Result: 664 (#o1230, #x298)
Result: "Deleting article 664"
Result: nil
Result: (664)
Couldn't delete articles (664)
Result: (664) [7 times]
Result: 1 (#o1, #x1, ?\C-a)
Result: nil [3 times]
1 ham messages were registered by backend spam-use-move.
nnimap: Setting marks in Spam/Unsure...done

  reply	other threads:[~2006-02-14 15:04 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-03 20:59 Gnus manual update Chong Yidong
2006-02-06 19:18 ` Ted Zlatanov
2006-02-06 20:19   ` Chong Yidong
2006-02-06 20:31     ` spam manual update for Gnus (was: Gnus manual update) Ted Zlatanov
2006-02-06 22:49       ` spam manual update for Gnus Reiner Steib
2006-02-08 20:20         ` Ted Zlatanov
2006-02-08 20:56           ` Chong Yidong
2006-02-09 15:00           ` spam.el: Bugs, compatibility with v5-10 (was: spam manual update for Gnus) Reiner Steib
2006-02-13 19:04             ` spam.el: Bugs, compatibility with v5-10 Ted Zlatanov
2006-02-13 22:36               ` Emacs 20.7 compatibility in v5-10 (was: spam.el: Bugs, compatibility with v5-10) Reiner Steib
2006-03-20 19:51                 ` Emacs 20.7 compatibility in v5-10 Ted Zlatanov
2006-03-20 20:38                   ` Reiner Steib
2006-02-13 19:15             ` ham destination bugs (was: spam.el: Bugs, compatibility with v5-10) Ted Zlatanov
2006-02-14 15:04               ` Reiner Steib [this message]
2006-02-20 14:29                 ` ham destination bugs Reiner Steib
2006-05-27 10:17                   ` Reiner Steib
2006-05-30 13:55                     ` Ted Zlatanov
2006-06-08 20:54                   ` spam.el spam-summary-prepare-exit rewrite (was: ham destination bugs) Ted Zlatanov
2006-04-19 14:23           ` spam manual update for Gnus Reiner Steib
2006-04-20 18:18             ` Ted Zlatanov
2006-04-20 18:38               ` Chong Yidong
2006-04-20 20:08               ` Reiner Steib
2006-04-20 23:20                 ` Miles Bader
2006-04-20 18:45             ` Ted Zlatanov
2006-02-06 20:25   ` message mode screwy (was: Gnus manual update) Ted Zlatanov
2006-02-08 16:52     ` message mode screwy Reiner Steib
2006-02-09 15:37       ` Ted Zlatanov
2006-02-13 18:58         ` Ted Zlatanov
2006-02-13 22:15           ` Adam Sjøgren
2006-02-13 22:39           ` Reiner Steib

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=v9lkwe6ky1.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    /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).