From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Alcock Newsgroups: gmane.emacs.bugs Subject: bug#21182: 25.0.50; gnus: every other unread message is marked as read on each nnimap group refresh Date: Mon, 03 Aug 2015 14:01:03 +0100 Message-ID: <877fpc8r1s.fsf@esperi.org.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1438606952 22408 80.91.229.3 (3 Aug 2015 13:02:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Aug 2015 13:02:32 +0000 (UTC) Cc: Lars Magne Ingebrigtsen To: 21182@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 03 15:02:21 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZMFNk-0004OP-PV for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Aug 2015 15:02:21 +0200 Original-Received: from localhost ([::1]:59134 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMFNk-0008Gk-22 for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Aug 2015 09:02:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMFNZ-0007l5-Ss for bug-gnu-emacs@gnu.org; Mon, 03 Aug 2015 09:02:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZMFNS-00025i-Az for bug-gnu-emacs@gnu.org; Mon, 03 Aug 2015 09:02:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36462) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMFNS-00025Y-7K for bug-gnu-emacs@gnu.org; Mon, 03 Aug 2015 09:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZMFNS-00015A-0o for bug-gnu-emacs@gnu.org; Mon, 03 Aug 2015 09:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nick Alcock Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Aug 2015 13:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21182 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14386068914118 (code B ref -1); Mon, 03 Aug 2015 13:02:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Aug 2015 13:01:31 +0000 Original-Received: from localhost ([127.0.0.1]:37908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZMFMs-00014G-Pv for submit@debbugs.gnu.org; Mon, 03 Aug 2015 09:01:30 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52447) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZMFMm-000144-FZ for submit@debbugs.gnu.org; Mon, 03 Aug 2015 09:01:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZMFMh-0001mS-De for submit@debbugs.gnu.org; Mon, 03 Aug 2015 09:01:20 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:44024) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMFMh-0001mO-9t for submit@debbugs.gnu.org; Mon, 03 Aug 2015 09:01:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37703) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMFMc-0006B5-U9 for bug-gnu-emacs@gnu.org; Mon, 03 Aug 2015 09:01:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZMFMY-0001j9-Mk for bug-gnu-emacs@gnu.org; Mon, 03 Aug 2015 09:01:10 -0400 Original-Received: from icebox.esperi.org.uk ([81.187.191.129]:60923 helo=mail.esperi.org.uk) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMFMY-0001i2-Ck for bug-gnu-emacs@gnu.org; Mon, 03 Aug 2015 09:01:06 -0400 Original-Received: from spindle (nix@spindle.srvr.nix [192.168.14.15]) by mail.esperi.org.uk (8.14.9/8.14.8) with ESMTP id t73D13U2020661; Mon, 3 Aug 2015 14:01:03 +0100 Emacs: indefensible, reprehensible, and fully extensible. User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-DCC-wuwien-Metrics: spindle 1290; Body=3 Fuz1=3 Fuz2=3 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:105289 Archived-At: The bug is fairly easily characterized, and easy to spot in a group with a great many consecutive unread messages: every time the group is refreshed, half the unread messages are marked as read, in an alternating pattern, so after one refresh the result runs (... unread, read, unread, read...): after more than one refresh the result is harder to see. After the first instance of this problem, we also see valid messages apparently originating from nobody (their name appears as '(none)', and other similarly bizarre messups indicating something very wrong with IMAP communication. (Cc:ing Drew because the thing I was communicating with was an SSL channel to the very same Beehive mailserver he uses -- I know Drew doesn't use Gnus to post here, but maybe he sometimes looks at his work mailbox via Gnus, in which case he might appreciate a warning!) This happened after my first Emacs update for nearly a year (a bit of a 'big bang'), so it could have come from almost any change to nnimap since September last year. I'll do a bisection and hunt for it. (It's not like I can do any more damage to my imap read marks than I already have! I wanted to get to 'inbox zero', but not this way...) In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) of 2015-08-01 on spindle Repository revision: 08d65696c947b09d4c32606f279c3c2594e99e16 Windowing system distributor `The X.Org Foundation', version 11.0.11702000 System LSB Version: :core-4.1-amd64:core-4.1-noarch Configured using: `configure --without-pop --without-kerberos --without-hesiod --with-x-toolkit=lucid --with-wide-int --with-file-notification=inotify NO_FAST_MATH=t 'CFLAGS=-Wstrict-overflow=1 -g -gdwarf-4 -feliminate-unused-debug-types -fvar-tracking-assignments -feliminate-dwarf2-dups -O2 -pipe -D__NO_STRING_INLINES -D__NO_MATH_INLINES -D_LARGEFILE64_SOURCE' 'CPPFLAGS=-D__NO_STRING_INLINES -D__NO_MATH_INLINES -D_LARGEFILE64_SOURCE' 'LDFLAGS=-Wl,--enable-new-dtags -Wl,--hash-style=gnu -Wl,-O1 -Wl,-z,relro -pipe'' Configured features: XAW3D XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11 Important settings: value of $LC_COLLATE: C value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: Summary Minor modes in effect: timeclock-mode-line-display: t TeX-PDF-mode: t magit-wip-after-apply-mode: t global-undo-tree-mode: t undo-tree-mode: t diff-auto-refine-mode: t global-semantic-mru-bookmark-mode: t global-semanticdb-minor-mode: t global-semantic-decoration-mode: t global-semantic-idle-scheduler-mode: t global-semantic-idle-local-symbol-highlight-mode: t global-semantic-idle-summary-mode: t global-srecode-minor-mode: t global-ede-mode: t global-semantic-highlight-func-mode: t global-semantic-stickyfunc-mode: t semantic-mode: t global-git-gutter-mode: t global-auto-complete-mode: t global-cwarn-mode: t which-function-mode: t mv-shell-mode: t desktop-save-mode: t savehist-mode: t winner-mode: t Info-breadcrumbs-in-mode-line-mode: t shell-dirtrack-mode: t recentf-mode: t display-time-mode: t override-global-mode: t image-diredx-async-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t Recent messages: Auto-saving...done Auto-saving...done Quit Mark set previous-line: Beginning of buffer [4 times] Mark set C-x C-g is undefined C-M-g is undefined Load-path shadows: /home/nix/lisp/defaults hides /usr/share/emacs/site-lisp/defaults /home/nix/lisp/emacs/scroll-in-place hides /usr/share/emacs/site-lisp/scroll-in-place /usr/share/emacs/site-lisp/emms/tq hides /usr/share/emacs/25.0.50/lisp/emacs-lisp/tq Features: (shadow emacsbug canlock gnus-html flow-fill mm-archive eieio-opt mailalias misearch multi-isearch nnir gnus-picon gnus-cite qp gnus-async gnus-bcklg gnus-salt gnus-dup gnus-ml disp-table semantic/tag-write gnus-topic nndraft gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg utf-7 gnutls nnmh nnfolder gnus-cache bbdb-gnus bbdb-snarf gnus-demon nntp gnus/mail gnus-registry registry eieio-compat gnus/splits nnmairix nnml smtpmail gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus/articles init/time-tracking timeclock auto-edit-substitute gnus/sa background gnus-sum gnus-group gnus-undo gnus/bbdb gnus/colourization tc mail-extr gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range gnus-win face-remap add-log shr-color color network-stream nsm starttls url-http tls url-gw url-cache url-auth eww mm-url gnus gnus-ems nnheader url-queue shr dom subr-x browse-url epa-file epa epg semantic/tag-file semantic/bovine/c hideif semantic/bovine/c-by semantic/lex-spp semantic/bovine/gcc semantic/bovine semantic/analyze/refs semantic/analyze semantic/scope semantic/analyze/fcn vc-filewise vc-rcs generic tex-buf semantic/texi tex-info tex dbus xml texinfo semantic/imenu semantic/sb semantic/sort semantic/db-file data-debug cedet-files semantic/wisent/python semantic/decorate/include semantic/dep semantic/wisent/python-wy rx python json ede/dired jka-compr magit-wip magit-core magit-process with-editor server magit-popup magit-mode magit-git crm magit-section magit-utils dash undo-tree diff vc vc-dispatcher vc-git diff-mode flymake checkdoc hideshow elisp-slime-nav init/emacs init/prog-modes filecache inversion semantic/db-global semantic/symref/global semantic/symref semantic/db-find semantic/db-ref cedet-global semantic/mru-bookmark semantic/db-mode semantic/db semantic/decorate/mode semantic/idle srecode/mode semantic/senator semantic/format semantic/ctxt semantic/wisent semantic/wisent/wisent semantic/decorate pulse srecode/insert srecode/filters srecode/args srecode/find srecode/map srecode/ctxt semantic/tag-ls semantic/find srecode/compile srecode/dictionary srecode/table ede/speedbar ede/files ede ede/detect ede/base ede/auto ede/source eieio-base eieio-speedbar speedbar sb-image ezimage dframe eieio-custom srecode semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet git-gutter-fringe fringe-helper git-gutter auto-complete-config auto-complete popup cwarn gtags filladapt cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs which-func generic-x init/processes vlf-setup mv-shell init/music emms-volume emms-volume-amixer emms-history emms-bookmarks emms-metaplaylist-mode emms-browser sort emms-playlist-sort emms-last-played emms-playing-time emms-stream-info emms-streams emms-mode-line emms-playlist-limit emms-playlist-mode emms-player-mpd emms-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap emms-cache emms-info later-do tq emms-player-simple emms-source-playlist emms-source-file locate emms emms-compat emms-auto init/messaging bbdb-expire bbdb-hooks silly-mail sendmail message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mail-utils gmm-utils mailheader bbdb-autoloads init/state desktop frameset savehist saveplace init/editing gpicker finder find-func lisp-mnt windmove framemove miniedit winner scroll-in-place flash-paren init/faces nix-dark-theme init/drew two-column icicles icicles-mode dired+ image-file dired-aux mb-depth+ mb-depth icicles-cmd2 compile imenu completion icicles-cmd1 bbdb-com warnings mailabbrev bbdb timezone yow etags xref project cookie1 icicles-mcmd filesets icicles-fn icicles-var icicles-opt ffap url-parse url-vars fuzzy-match el-swank-fuzzy levenshtein fuzzy cus-theme cus-edit cus-start cus-load hexrgb icicles-face icicles-mac bookmark+ bookmark+-key derived dired-x crosshairs col-highlight vline hl-line+ hl-line bookmark+-1 bookmark+-bmu bookmark+-lit bookmark menu-bar+ linkd doremi apropos-fn+var help-fns+ help+ frame-fns avoid info+ thingatpt+ thingatpt mouse3 naked apropos+ apropos init/appearance tramp-cache tramp-sh tramp tramp-compat auth-source eieio byte-opt eieio-core gnus-util mm-util help-fns mail-prsvr password-cache tramp-loaddefs trampver shell pcomplete comint ansi-color ring recentf tree-widget wid-edit printing ps-print ps-def lpr time-date init/modelines time uptimes pp init/options xemacs-compat misc gawd-lists use-package-external use-package diminish bytecomp byte-compile cl-extra help-mode seq cconv bind-key easy-mmode finder-inf tex-site iedit-autoloads image-dired+ image-dired format-spec dired info yasnippet-bundle cl-macs cl-seq dropdown-list advice yasnippet edmacro kmacro easymenu assoc cl gv cl-loaddefs pcase cl-lib package epg-config mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 2245900 1795918) (symbols 48 141793 238) (miscs 40 6910 9463) (strings 32 782235 1143702) (string-bytes 1 34552691) (vectors 16 100813) (vector-slots 8 3950744 1469730) (floats 8 2600 6311) (intervals 56 50025 16112) (buffers 976 145) (heap 1024 313480 457073))