unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 9243@debbugs.gnu.org
Subject: bug#9243: 24.0.50; Gnus keeps seeing 101 unread spam
Date: Sat, 07 Jan 2012 04:25:04 +0100	[thread overview]
Message-ID: <m3ty48chyn.fsf@stories.gnus.org> (raw)
In-Reply-To: <jwvmxa0ckcn.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Fri, 06 Jan 2012 21:45:14 -0500")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> AFAIK my use case is not completely unusual (typically connected via
> a NAT router to my university's IMAP server) and I see this problem more
> or less *every day*.
> So I really hope you can try to fix this soon.
> FWIW I never saw this problem with the old nnimap backend, so it's
> a (very serious if you ask me) regression w.r.t Emacs-23.

I've had a look at the nnimap in Emacs 23 to see whether I've missed
something, but it looks to me like that nnimap did exactly the same
thing as the Emacs 24 one does:  `nnimap-request-set-mark' is called on
group exit, and that's basically it.  (Marks are also altered when you
move messages and stuff, but for normal reading,
`nnimap-request-set-mark' on group exit is the main thing.)

So I don't understand how this has changed, really.  

> And I think it is related to the agent, because the connection death
> would be handled differently without the agent: the connection would be
> re-established and the command re-tried, whereas with the new
> "connection death silently puts the agent in offline mode", the command
> just gets dropped on the floor.

Oh, yeah, that's a definite possibility.  Did you use to get an "go
offline?" query on group exit?  In that case, that does sound like a
definite possible culprit, and shouldn't be difficult to reproduce and
fix... 

> That's probably what's going on (each folder is stored as a large single
> file).  Can the expunging be done asynchronously?

Not fully without opening a second connection to the IMAP server.  One
could just send off the "EXPUNGE" and not wait for the result, but it
means that the next IMAP command will have to wait instead, which will
feel like random hangs...

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





  reply	other threads:[~2012-01-07  3:25 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-04 20:39 bug#9243: 24.0.50; Gnus keeps seeing 101 unread spam Stefan Monnier
2011-08-21 20:35 ` Lars Magne Ingebrigtsen
2011-08-22 22:30   ` Stefan Monnier
2011-09-10 18:58     ` Lars Magne Ingebrigtsen
2011-09-13 17:42       ` Stefan Monnier
2011-09-17  5:25         ` Lars Magne Ingebrigtsen
2011-09-17 21:07           ` Stefan Monnier
2011-09-18  7:27             ` Lars Magne Ingebrigtsen
2011-09-18 13:48               ` Stefan Monnier
2011-09-21 18:53                 ` Lars Magne Ingebrigtsen
2012-01-06 23:38                   ` Lars Magne Ingebrigtsen
2012-01-07  1:05                     ` Stefan Monnier
2012-01-07  1:39                       ` Lars Magne Ingebrigtsen
2012-01-07  2:45                         ` Stefan Monnier
2012-01-07  3:25                           ` Lars Magne Ingebrigtsen [this message]
2012-01-07  3:30                             ` Lars Magne Ingebrigtsen
2012-01-07  3:31                               ` Lars Magne Ingebrigtsen
2012-01-07  3:44                                 ` Lars Magne Ingebrigtsen
2012-01-10 19:56                             ` Stefan Monnier
2012-01-25 23:35                               ` Lars Ingebrigtsen
2012-04-10 21:18                               ` Lars Magne Ingebrigtsen
2012-04-10 21:19                               ` Lars Magne Ingebrigtsen
2012-04-11  0:56                                 ` Stefan Monnier
2012-09-05 18:07                                   ` Lars Ingebrigtsen
2012-09-05 19:12                                     ` Stefan Monnier
2012-09-05 19:19                                       ` Lars Ingebrigtsen
2014-01-30 23:04                                         ` Lars Ingebrigtsen
2014-01-31 13:58                                           ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3ty48chyn.fsf@stories.gnus.org \
    --to=larsi@gnus.org \
    --cc=9243@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).