From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67948 Path: news.gmane.org!not-for-mail From: Lloyd Zusman Newsgroups: gmane.emacs.gnus.general Subject: Re: Automatically marking Gcc's as SEEN in nnimap Date: Wed, 17 Dec 2008 19:57:22 -0500 Organization: Take a hippopotamus to lunch today. Message-ID: References: <877i5zyw2o.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1229561896 24633 80.91.229.12 (18 Dec 2008 00:58:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Dec 2008 00:58:16 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M16394@lists.math.uh.edu Thu Dec 18 01:59:21 2008 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.50) id 1LD7EW-0002uk-Pf for ding-account@gmane.org; Thu, 18 Dec 2008 01:59:21 +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 1LD7Cv-0007mX-5K; Wed, 17 Dec 2008 18:57:41 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1LD7Ct-0007m8-3W for ding@lists.math.uh.edu; Wed, 17 Dec 2008 18:57:39 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LD7Cq-0002xy-Ob for ding@lists.math.uh.edu; Wed, 17 Dec 2008 18:57:39 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LD7D1-0000cu-00 for ; Thu, 18 Dec 2008 01:57:47 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LD7Ck-0000AA-C8 for ding@gnus.org; Thu, 18 Dec 2008 00:57:30 +0000 Original-Received: from 209.59.210.144 ([209.59.210.144]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Dec 2008 00:57:30 +0000 Original-Received: from ljz by 209.59.210.144 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Dec 2008 00:57:30 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 48 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 209.59.210.144 User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (darwin) Cancel-Lock: sha1:llI7+utqPMAEfdFxPWFOwvQCZ+I= Cache-Post-Path: purity-of-essence.net!unknown@nadie.us X-Cache: nntpcache 3.0.2 (see http://www.nntpcache.com/) X-Spam-Score: -1.5 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67948 Archived-At: Paul R writes: > M-x apropos-variable RET gnus.*gcc.*read RET > > gnus-gcc-mark-as-read > Variable: If non-nil, automatically mark Gcc articles as read. Thanks, but I forgot to mention in my original post that I am already using that variable and it is set to `t' ... and the Gcc'ed messages are never being marked as SEEN. Have you actually tested this setting within an nnimap group and an nnimap Gcc, or are you just going by the docs? Here's pertinent the code fragment in gnus-msg.el ... (when (and group-art ;; FIXME: Should gcc-mark-as-read work when ;; Gnus is not running? (gnus-alive-p) (or gnus-gcc-mark-as-read (and (boundp 'gnus-inews-mark-gcc-as-read) (symbol-value 'gnus-inews-mark-gcc-as-read)))) (gnus-group-mark-article-read group (cdr group-art))) This fragment appears within the `gnus-inews-do-gcc' function, and there is no other gnus code which tests the value of the variable `gnus-gcc-mark-as-read'. Could it be that this variable only applies when an inews-type function is being performed under nntp, and not under any other back ends such as nnimap? However, if this code indeed gets executed in all backends, then I should point out that gnus is indeed alive when the Gcc is being performed; therefore, `(gnus-alive-p)' definitely returns `t'. Maybe `group-art' isn't set? Is there some other setting that controls how that variable is set? Or perhaps the problem is related to nnimap. Maybe marking the messages as "read" in gnus isn't the same as marking them as "SEEN" in IMAP. Or maybe there is some other problem ... ??? -- Lloyd Zusman ljz@asfast.com God bless you.