Gnus development mailing list
 help / color / mirror / Atom feed
From: Elias Oltmanns <eo@nebensachen.de>
To: ding@gnus.org
Subject: Re: [patch] gnus-agent doesn't always synchronise flags if asked to
Date: Fri, 09 Nov 2007 14:33:58 +0100	[thread overview]
Message-ID: <87mytnlf09.fsf@denkblock.local> (raw)
In-Reply-To: <874pi51a2o.fsf@denkblock.local>

Elias Oltmanns <eo@nebensachen.de> wrote:
> Hi all,
>
> when gnus is switched into plugged mode and any of the agentised servers
> is offline at the time, the user is asked whether to switch that server
> into online mode. However, neither then, nor when gnus actually opens a
> connection to that server (for instance after pressing g in the group
> buffer) flags are synchronised even though gnus-agent-synchronize-flags
> is set to t or 'ask.
>
> I suggest to call gnus-agent-possibly-synchronize-flags from
> gnus-open-server. Please find the patch below.

The ChangeLog entry would be:

* gnus-agent.el (gnus-agent-toggle-plugged): Don't call
gnus-agent-'possibly-synchronize-flags as this should be called when the
server is actually being opened.
Also, move check for the flags file of an agentized server from
g-a-p-synchronize-flags to g-a-p-synchronize-flags-server.

* gnus-int.el (gnus-open-server): Add a call to
gnus-agent-possibly-synchronize-flags-server after a connection has been
established successfully.


Regards,

Elias




  reply	other threads:[~2007-11-09 13:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-08 14:54 Elias Oltmanns
2007-11-09 13:33 ` Elias Oltmanns [this message]
2007-11-24 21:51   ` Reiner Steib
2007-11-27 11:46     ` Elias Oltmanns
2007-11-28 20:47       ` Gnus and Emacs branches (was: [patch] gnus-agent doesn't always synchronise flags if asked to) 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=87mytnlf09.fsf@denkblock.local \
    --to=eo@nebensachen.de \
    --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).