From: Kohkichi Hosoda <khosoda@venus.dti.ne.jp>
Cc: Ted Zlatanov <tzz@lifelogs.com>
Subject: Re: Spam does not move
Date: Sat, 14 Aug 2004 23:15:06 +0900 [thread overview]
Message-ID: <m3657ln6vl.fsf@venus.dti.ne.jp> (raw)
In-Reply-To: <4nsmbdtn25.fsf@lifelogs.com> (Ted Zlatanov's message of "27 Jul 2004 12:46:58 -0400")
[-- Attachment #1: Type: text/plain, Size: 340 bytes --]
Sorry for delayed response. I have been very busy for a while.
>>>>> On 27 Jul 2004 12:46:58 -0400, "Ted Zlatanov" <tzz@lifelogs.com> said:
Ted> OK, but you need to use edebug or (debug) statements. Here's
Ted> what I would use:
Ted> (spam-list-articles 'ham)
When I perfomed the process mentioned above, I obtained the following;
[-- Attachment #2: ham_debug_statement --]
[-- Type: application/octet-stream, Size: 825 bytes --]
Debugger entered--Lisp error: (wrong-number-of-arguments (lambda (articles classification) (let ((mark-check (if (eq classification (quote spam)) (quote spam-group-spam-mark-p) (quote spam-group-ham-mark-p))) alist mark-cache-yes mark-cache-no) (dolist (article articles) (let ((mark (gnus-summary-article-mark article))) (unless (or (memq mark mark-cache-yes) (memq mark mark-cache-no)) (if (funcall mark-check gnus-newsgroup-name mark) (push mark mark-cache-yes) (push mark mark-cache-no))) (debug (memq mark mark-cache-yes) mark-check article classification mark mark-cache-yes mark-cache-no) (when (memq mark mark-cache-yes) (push article alist)))) alist)) 1)
spam-list-articles(ham)
eval((spam-list-articles (quote ham)))
eval-expression((spam-list-articles (quote ham)) nil)
* call-interactively(eval-expression)
[-- Attachment #3: Type: text/plain, Size: 101 bytes --]
Ted> list all spam article:
Ted> (spam-list-articles 'spam)
For this, I obtained the following;
[-- Attachment #4: spam_debug_statement --]
[-- Type: application/octet-stream, Size: 828 bytes --]
Debugger entered--Lisp error: (wrong-number-of-arguments (lambda (articles classification) (let ((mark-check (if (eq classification (quote spam)) (quote spam-group-spam-mark-p) (quote spam-group-ham-mark-p))) alist mark-cache-yes mark-cache-no) (dolist (article articles) (let ((mark (gnus-summary-article-mark article))) (unless (or (memq mark mark-cache-yes) (memq mark mark-cache-no)) (if (funcall mark-check gnus-newsgroup-name mark) (push mark mark-cache-yes) (push mark mark-cache-no))) (debug (memq mark mark-cache-yes) mark-check article classification mark mark-cache-yes mark-cache-no) (when (memq mark mark-cache-yes) (push article alist)))) alist)) 1)
spam-list-articles(spam)
eval((spam-list-articles (quote spam)))
eval-expression((spam-list-articles (quote spam)) nil)
* call-interactively(eval-expression)
[-- Attachment #5: Type: text/plain, Size: 720 bytes --]
And when I did M-d on a mail already marked with "O", I got exactly
the same result as spam1-debug-statement above. Therefore, I guess
something deletes spam mark on a mail previously marked with "O" when
I exit the summary buffer. But I have no idea what it is.
Ted> Again, sorry that I can't find the problem, but it's happening
Ted> only for you, so you have to do the hard work :)
You are not sorry. I really appreciate your help. :-)
>> What does "33" mean? ham?
Ted> (format "%c" 33)
Ted> to find the visual representation of any mark.
Thank you very much for teaching me so much.
--
Kohkichi Hosoda
E-mail address: khosoda@venus.dti.ne.jp
http://www.venus.dti.ne.jp/~khosoda/Enlightenment.html
next prev parent reply other threads:[~2004-08-14 14:15 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-17 12:47 Kohkichi Hosoda
2004-05-17 15:17 ` Reiner Steib
2004-05-18 14:55 ` Kohkichi Hosoda
2004-05-18 15:40 ` Kai Grossjohann
2004-05-19 15:31 ` Kohkichi Hosoda
2004-05-19 18:07 ` Ted Zlatanov
2004-05-21 13:16 ` Kohkichi Hosoda
2004-05-22 14:11 ` Kohkichi Hosoda
2004-05-24 19:10 ` Ted Zlatanov
2004-05-28 17:00 ` Kohkichi Hosoda
2004-06-14 16:07 ` Ted Zlatanov
2004-06-18 16:00 ` Kohkichi Hosoda
2004-06-24 16:30 ` Ted Zlatanov
2004-06-26 14:05 ` Kohkichi Hosoda
2004-06-26 16:19 ` Kohkichi Hosoda
2004-06-29 18:16 ` Ted Zlatanov
2004-07-01 13:21 ` Kohkichi Hosoda
2004-07-01 16:11 ` Ted Zlatanov
2004-07-02 13:11 ` Kohkichi Hosoda
2004-07-16 17:00 ` Ted Zlatanov
2004-07-25 14:29 ` Kohkichi Hosoda
2004-07-27 16:46 ` Ted Zlatanov
2004-08-14 14:15 ` Kohkichi Hosoda [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-05-16 13:20 Kohkichi Hosoda
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=m3657ln6vl.fsf@venus.dti.ne.jp \
--to=khosoda@venus.dti.ne.jp \
--cc=tzz@lifelogs.com \
/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).