From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/73919 Path: news.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.gnus.general Subject: Re: Wrong number of unread messages in imap group Date: Mon, 08 Nov 2010 23:36:09 -0500 Message-ID: <87hbfrazba.fsf@maru.md5i.com> References: <87eibby9cr.fsf@maru.md5i.com> <87lj5bojou.fsf@maru.md5i.com> <87wros6dfs.fsf@maru.md5i.com> <87sjzg6alw.fsf@maru.md5i.com> <87aalo656t.fsf@maru.md5i.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: dough.gmane.org 1289277472 1087 80.91.229.12 (9 Nov 2010 04:37:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 9 Nov 2010 04:37:52 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M22288@lists.math.uh.edu Tue Nov 09 05:37:49 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PFfxs-0003ss-Il for ding-account@gmane.org; Tue, 09 Nov 2010 05:37:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PFfwx-0005Xk-97; Mon, 08 Nov 2010 22:36:51 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PFfwu-0005XU-Ar for ding@lists.math.uh.edu; Mon, 08 Nov 2010 22:36:48 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PFfwo-00052V-V6 for ding@lists.math.uh.edu; Mon, 08 Nov 2010 22:36:47 -0600 Original-Received: from md5i.com ([75.151.244.229] helo=maru.md5i.com) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PFfwn-0001FU-00 for ; Tue, 09 Nov 2010 05:36:42 +0100 Original-Received: from md5i by maru.md5i.com with local (Exim 4.72) (envelope-from ) id 1PFfwH-0005tS-Qf for ding@gnus.org; Mon, 08 Nov 2010 23:36:09 -0500 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Mon, 08 Nov 2010 21:30:44 +0100") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:73919 Archived-At: --=-=-= Content-Type: text/plain Lars Magne Ingebrigtsen writes: > Michael Welsh Duggan writes: > >>> Could you look in the *nnimap ...* buffer after `M-x gnus' and >>> mail me the contents? >> >> Here you go: > > It all looks so normal. Weird. > > Could you put the following line as the first line in this function, and > then restart Gnus: > > (defun nnimap-update-info (info marks) > (when (string-match "INBOX/ff" (gnus-info-group info)) (debug)) > ... > > When you get the backtrace, go to the *scratch* buffer and eval > > (pp (list info marks) (current-buffer)) > > and mail me the output. Done. When starting gnus, it shows 16 unread messages. Here is the output from the above: --=-=-= Content-Type: application/emacs-lisp Content-Disposition: attachment; filename=scratch.el Content-Transfer-Encoding: quoted-printable "((\"INBOX/ff\" 1 ((1 . 4503) (4505 . 4508) (4510 . 4528) (4536 . 4537) 4540 (4543 . 4705) (4707 . 4720) (4722 . 4760) (4763 . 4765) (4767 . 4776) (4778 . 4806) (4808 . 4831) (4834 . 4860) 4862 (4864 . 4866) (4868 . 4894)) ((seen (3956 . 4894))) nil ((modseq) (uidvalidity . \"75981\") (active 4504 . 4894) (permanent-flags %Seen %Answered %Flagged %Deleted %Draft $MDNSent) (total-expire . t) (imap-status . \"4232 1 4231\"))) ((4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 48= 09 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 48= 24 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 48= 39 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 48= 54 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 48= 69 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 48= 84 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 48= 99 4900 4901 4902 4903 4904) ((%Seen 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4808 = 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 = 4824 4825 4826 4827 4828 4829 4830 4831 4834 4835 4836 4837 4838 4839 4840 = 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 = 4856 4857 4858 4859 4860 4862 4864 4865 4866 4868 4869 4870 4871 4872 4873 = 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 = 4889 4890 4891 4892 4893 4894) (%Recent 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904)) 4904 4795 4905 4794 not-scanned \"75981\" nil nil)) " --=-=-= Content-Type: text/plain After M-g on the group, 35 unread messages are shown. The output of the above during the M-g is as follows: --=-=-= Content-Type: application/emacs-lisp Content-Disposition: attachment; filename=scratch2.el Content-Transfer-Encoding: quoted-printable "((\"INBOX/ff\" 1 ((1 . 4806) (4808 . 4831) (4834 . 4860) 4862 (4864 . 4866) (4868 . 4894)) ((seen (3956 . 4894))) nil ((modseq) (uidvalidity . \"75981\") (active 4795 . 4904) (permanent-flags %Seen %Answered %Flagged %Deleted %Draft $MDNSent) (total-expire . t) (imap-status . \"4232 1 4231\"))) ((4504 4509 4529 4530 4531 4532 4533 4534 4535 4538 4539 4541 4542 4706 47= 21 4761 4762 4766 4777 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 48= 05 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 48= 20 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 48= 35 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 48= 50 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 48= 65 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 48= 80 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 48= 95 4896 4897 4898 4899 4900 4901 4902 4903 4904) ((%Seen 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4808 = 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 = 4824 4825 4826 4827 4828 4829 4830 4831 4834 4835 4836 4837 4838 4839 4840 = 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 = 4856 4857 4858 4859 4860 4862 4864 4865 4866 4868 4869 4870 4871 4872 4873 = 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 = 4889 4890 4891 4892 4893 4894)) 4904 4504 4905 1 (%Seen %Answered %Flagged %Deleted %Draft $MDNSent) \"75981\" nil nil)) " --=-=-= Content-Type: text/plain -- Michael Welsh Duggan (md5i@md5i.com) --=-=-=--