Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Subject: Re: What's wrong with my spam.el settings now?
Date: Wed, 21 Sep 2005 21:40:09 +0200	[thread overview]
Message-ID: <iluoe6mus4m.fsf@latte.josefsson.org> (raw)
In-Reply-To: <4noe6mgu71.fsf@lifelogs.com> (Ted Zlatanov's message of "21 Sep 2005 14:19:14 -0400")

"Ted Zlatanov" <tzz@lifelogs.com> writes:

> On Wed, 21 Sep 2005, bkhl@elektrubadur.se wrote:
>
>> "Ted Zlatanov" <tzz@lifelogs.com> writes:
>> 
>>> If you see this on the second entry on an article that was already in
>>> the group on the first entry, try another experiment: mark an article
>>> with `!' in the summary buffer, then exit.  If the ! mark persists,
>>> then the unread/unseen state is not preserved correctly, and we need
>>> to bug the maintainer of the nnml backend.
>> 
>> That's what happens. Who's that then?
>
> nnml.el says:
>
> ;; Authors: Didier Verna <didier@xemacs.org> (adding compaction)
> ;;      Simon Josefsson <simon@josefsson.org> (adding MARKS)
> ;;      Lars Magne Ingebrigtsen <larsi@gnus.org>
> ;;      Masanobu UMEDA <umerin@flab.flab.fujitsu.junet>
>
> I would guess that Simon would be a great person to contact, since
> this seems marks-related.

How is spam.el setting the spam mark?  In particular, is it using the
gnus-request-set-mark interface?  That interface must be called with
the flag update whenever any code that alter message flags without
going through the summary buffer variables (which are turned into
gnus-request-set-mark calls when exiting the group).

I suspect what is happening is that spam.el set the spam flag without
calling that function, and then the next time you enter the group, the
nnml marks code will revert the flag to what is stored under
~/News/nnml/ because it believes those marks to be more recent.

If the spam mark should never be synced across Gnus installations,
then it should be added to gnus-article-unpropagated-mark-lists, then
the nnml code will not revert the spam flag.  However, it seems like
the spam mark should be synchronized between Gnus installations,
should it not?  Then the spam.el code has to call the g-r-s-m
interface when updating the marks.

I didn't actually read any code to answer this, and my memory of all
this may be failing.



  reply	other threads:[~2005-09-21 19:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-07  6:38 Björn Lindström
2005-09-20 16:07 ` Ted Zlatanov
2005-09-20 17:10   ` Björn Lindström
2005-09-21 14:49     ` Ted Zlatanov
2005-09-21 14:58       ` Björn Lindström
2005-09-21 18:19         ` Ted Zlatanov
2005-09-21 19:40           ` Simon Josefsson [this message]
2005-09-27 19:38             ` Ted Zlatanov
2005-09-29 17:54               ` Simon Josefsson
2005-09-29 18:49                 ` Björn Lindström
2005-09-30  0:18                   ` Simon Josefsson
2005-09-30 10:09                     ` Björn Lindström
2005-10-04 18:04                     ` Ted Zlatanov

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=iluoe6mus4m.fsf@latte.josefsson.org \
    --to=jas@extundo.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).