GNU bug report logs - #50
23.0.60; [REGRESSION] gnus/nnimap/agent: all mails marked as read the second time you enter INBOX

Previous Next

Packages: gnus, emacs;

Reported by: Luca Capello <luca <at> pca.it>

Date: Mon, 10 Mar 2008 16:15:10 UTC

Severity: normal

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 50 in the body.
You can then email your comments to 50 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#50; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Luca Capello <luca <at> pca.it>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Luca Capello <luca <at> pca.it>
To: emacs-pretest-bug <at> gnu.org
Cc: rfrancoise <at> debian.org
Subject: 23.0.60;
 [REGRESSION] gnus/nnimap/agent: all mails marked as read the
 second time you enter INBOX
Date: Mon, 10 Mar 2008 15:33:01 +0100
[Message part 1 (text/plain, inline)]
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the emacs-pretest-bug <at> gnu.org mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

Hello,

please Cc: me, I'm not subscribed to the list.

With the latest emacs-snapshot upgrade on Debian, gnus started marking
all the mails in my IMAP INBOX folder as read.  I reported this as a
regression because I didn't change anything WRT my gnus configuration
and downgrading to emacs-snapshot_1:20080215-1~etch1 removed the bug.

I tested different times, with the same results:

- quit gnus and emacs
- through webmail, move all my IMAP INBOX mails to another folder, mark
  them as unread and move them back to INBOX
- launch emacs and gnus
- the first time gnus starts, the group summary shows the correct total
  number of the unread messages in my IMAP INBOX folder
- enter and exit the IMAP INBOX group
- M-x gnus-group-get-new-news and now the IMAP INBOX group has 0 unread
  mails
- C-u M-x gnus-group-get-new-news doesn't show the read mails either

I suspected a specific problem with my configuration, since I tested a
minimal .gnus (simply setting `gnus-select-method') with another clean
account on the same box and there's no bug there.  However, reading
lisp/gnus/ChangeLog didn't show me any relevant change.

After some debugging, I found that simply disabling the gnus agent or
wiping ~/News/agent/ solved the problem.  More debugging revealed that
another solution was calling `gnus-agent-expire'.  Again, I don't know
what changed with emacs-snapshot_1:20080307-1 and why previous versions
(including 20080215-1~etch1) didn't spot this.

Thx, bye,
Gismo / Luca

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/share/emacs/23.0.60/etc/DEBUG for instructions.


In GNU Emacs 23.0.60.1 (x86_64-pc-linux-gnu)
 of 2008-03-07 on elegiac, modified by Debian
 (emacs-snapshot package, version 1:20080307-1)
configured using `configure  '--build' 'x86_64-linux-gnu' '--host' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.60/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.60/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.0.60/leim' '--with-x=no' '--without-dbus' '--without-sound' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Group

Minor modes in effect:
  shell-dirtrack-mode: t
  gnus-topic-mode: t
  gnus-undo-mode: t
  gpm-mouse-mode: t
  display-battery-mode: t
  display-time-mode: t
  show-paren-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC 
[ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B 
ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC 
[ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B 
ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC 
[ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B 
ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC 
[ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B 
ESC [ B ESC [ B ESC [ B ESC [ B ESC [ B C-x k RET ESC 
x i n f o RET / G n u m G n u TAB s TAB RET TAB TAB 
TAB TAB TAB TAB RET TAB TAB TAB TAB TAB TAB TAB TAB 
TAB RET TAB TAB RET TAB TAB TAB TAB ESC [ Z RET TAB 
TAB TAB C-x k RET TAB TAB TAB TAB TAB ESC [ B ESC [ 
D ESC [ D ESC [ B C-x o C-x o ESC [ B ESC [ A ESC [ 
A ESC [ A C-h v RET C-x k RET C-x o C-x k RET C-c ESC 
f g C-x b RET d ESC x r e p o e r TAB DEL DEL r TAB 
e m TAB b u TAB RET

Recent messages:
Making completion list...
uncompressing gnus.gz...done
uncompressing gnus-1.gz...done
uncompressing gnus-2.gz...done
Info-next-reference: No cross references in this node [3 times]
mouse-2, RET: find variable's definition
mouse-2, RET: customize variable
mouse-2, RET: read this Info node
mouse-2, RET: go back to previous help buffer
mouse-2, RET: find variable's definition
[Message part 2 (application/pgp-signature, inline)]

bug reassigned from package `emacs' to `emacs,gnus'. Request was from Stefan Monnier <monnier <at> iro.umontreal.ca> to control <at> emacsbugs.donarmstrong.com. (Mon, 10 Mar 2008 16:50:04 GMT) Full text and rfc822 format available.

Owner recorded as bugs <at> gnus.org. Request was from Stefan Monnier <monnier <at> iro.umontreal.ca> to control <at> emacsbugs.donarmstrong.com. (Mon, 10 Mar 2008 16:50:04 GMT) Full text and rfc822 format available.

Removed annotation that bug was owned by bugs <at> gnus.org. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 29 Jan 2010 19:07:02 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#50; Package emacs,gnus. (Sun, 26 Sep 2010 02:05:03 GMT) Full text and rfc822 format available.

Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Luca Capello <luca <at> pca.it>
Cc: emacs-pretest-bug <at> gnu.org, rfrancoise <at> debian.org, 50 <at> debbugs.gnu.org
Subject: Re: 23.0.60; [REGRESSION] gnus/nnimap/agent: all mails marked as read
	the second time you enter INBOX
Date: Sun, 26 Sep 2010 03:39:55 +0200
Luca Capello <luca <at> pca.it> writes:

> I tested different times, with the same results:
>
> - quit gnus and emacs
> - through webmail, move all my IMAP INBOX mails to another folder, mark
>   them as unread and move them back to INBOX
> - launch emacs and gnus
> - the first time gnus starts, the group summary shows the correct total
>   number of the unread messages in my IMAP INBOX folder
> - enter and exit the IMAP INBOX group
> - M-x gnus-group-get-new-news and now the IMAP INBOX group has 0 unread
>   mails
> - C-u M-x gnus-group-get-new-news doesn't show the read mails either

nnimap and its interaction with various bits of Gnus has been given a
thorough make-over for Emacs 24, so I think this has probably been fixed
by now.

close 50

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi <at> gnus.org * Lars Magne Ingebrigtsen




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#50; Package emacs,gnus. (Sun, 26 Sep 2010 02:05:03 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, bugs <at> gnus.org:
bug#50; Package emacs,gnus. (Sun, 26 Sep 2010 02:49:01 GMT) Full text and rfc822 format available.

Reply sent to Lars Magne Ingebrigtsen <larsi <at> gnus.org>:
You have taken responsibility. (Sun, 26 Sep 2010 14:25:03 GMT) Full text and rfc822 format available.

Notification sent to Luca Capello <luca <at> pca.it>:
bug acknowledged by developer. (Sun, 26 Sep 2010 14:25:04 GMT) Full text and rfc822 format available.

Message #25 received at 50-done <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: 50-done <at> debbugs.gnu.org
Subject: close 50
Date: Sun, 26 Sep 2010 13:57:33 +0200
close 50
thanks




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 25 Oct 2010 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 293 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.