Gnus development mailing list
 help / color / mirror / Atom feed
From: Dan Christensen <jdc@uwo.ca>
To: ding@gnus.org
Subject: Re: updating backend marks immediately
Date: Fri, 12 Nov 2010 18:54:57 -0500	[thread overview]
Message-ID: <87lj4yksha.fsf@uwo.ca> (raw)
In-Reply-To: <874obppbct.fsf@lifelogs.com>

Ted Zlatanov <tzz@lifelogs.com> writes:

> I can't imagine why someone would want it just for a few
> servers or groups. 

Well, I don't see much point with local mail or nntp, since what I
did only propagates the mark changes to the remote server, but doesn't
update the .newsrc.  What does gnus-summary-update-info do for backends
besides nnimap?

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Ted Zlatanov <tzz@lifelogs.com> writes:
>
>> DC> (add-hook 'gnus-summary-update-hook 'gnus-summary-update-info)
>
>> I think it's worth a global variable.  gnus-update-marks-immediately or
>> something.
>
> I think the hook thing is a perfectly good solution here.

I don't mind either way.  But I should say that I've been noticing some
strange behavior with the above hook installed.  

First, I think there's a bug that was introduced when nnimap moves
within the same server were sped up a few weeks ago: if I have changed
the marks on an article, but not saved the summary, then after the move,
the article has its old marks.  This used to happen a long time ago,
then it was fixed a few months ago, and then it was broken again
recently.  (The above hook mostly hides this problem, but such moves
should be made to work for people not using the hook.)

The other bug/problem is harder to reproduce, and has occurred only
since adding the above hook.  Sometimes in an auto-expire group, I 
mark an article as unread (`u') or as read (`d') to get rid of the
expirable mark.  If I move the article, it sometimes retains the
expirable mark, even though marks should be propagated to the server.
Or, if I do `M-g' to regenerate the summary, sometimes the article
retains the expirable mark.  But I can't consistently reproduce this.

Finally, there's another problem, but I don't know if it's related to
the above hook.  I'm sometimes finding that gnus loses all expirable
marks on all articles, in both nnimap and nnfolder groups.  Again, I
can't figure out when this happens.  It might be related to using
`M-g' or `/ N' or such things.  Sorry I can't pin this down further.

I'm using git gnus from Nov 6:  commit 9f19eacda...

Dan




  parent reply	other threads:[~2010-11-12 23:54 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-04 20:32 Dan Christensen
2010-11-04 20:37 ` Lars Magne Ingebrigtsen
2010-11-09 22:01 ` Ted Zlatanov
2010-11-10  1:13   ` Dan Christensen
2010-11-10 13:16     ` Ted Zlatanov
2010-11-10 21:00       ` Lars Magne Ingebrigtsen
2010-11-12 23:54       ` Dan Christensen [this message]
2010-11-14 15:58         ` Lars Magne Ingebrigtsen
2010-11-14 21:47           ` Dan Christensen
2010-11-21  5:31             ` Lars Magne Ingebrigtsen
2010-11-21  5:38               ` Lars Magne Ingebrigtsen
2010-11-22  1:45                 ` Dan Christensen
2010-11-22  1:48                   ` Lars Magne Ingebrigtsen
2010-11-24 21:39                     ` Dan Christensen
2010-11-24 21:46                       ` Lars Magne Ingebrigtsen
2010-11-24 22:04                         ` Lars Magne Ingebrigtsen
2010-11-25 12:00                           ` Steinar Bang
2010-11-25 14:28                             ` Lars Magne Ingebrigtsen
2010-11-25 14:40                               ` Steinar Bang
2010-11-25 15:28                           ` Dan Christensen
2010-12-05 14:39                             ` Lars Magne Ingebrigtsen
2010-12-05 15:22                               ` Dan Christensen

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=87lj4yksha.fsf@uwo.ca \
    --to=jdc@uwo.ca \
    --cc=ding@gnus.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).