From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/84735 Path: news.gmane.org!not-for-mail From: Carlos Pita Newsgroups: gmane.emacs.gnus.general Subject: Re: Using gnus with gmail: almost there Date: Thu, 31 Jul 2014 17:27:22 -0300 Message-ID: <87tx5xl1ed.fsf@gmail.com> References: <87d2cm9ilr.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1406838499 10962 80.91.229.3 (31 Jul 2014 20:28:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 31 Jul 2014 20:28:19 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M32978@lists.math.uh.edu Thu Jul 31 22:28:11 2014 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XCwxL-0004RA-6x for ding-account@gmane.org; Thu, 31 Jul 2014 22:28:09 +0200 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 1XCwwv-0001fA-UK; Thu, 31 Jul 2014 15:27:41 -0500 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 1XCwwu-0001ej-1o for ding@lists.math.uh.edu; Thu, 31 Jul 2014 15:27:40 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1XCwwk-0003IZ-Dq for ding@lists.math.uh.edu; Thu, 31 Jul 2014 15:27:39 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1XCwwi-0000zh-FS for ding@gnus.org; Thu, 31 Jul 2014 22:27:28 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XCwwe-0003lx-MK for ding@gnus.org; Thu, 31 Jul 2014 22:27:24 +0200 Original-Received: from 190.18.155.203 ([190.18.155.203]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 31 Jul 2014 22:27:24 +0200 Original-Received: from carlosjosepita by 190.18.155.203 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 31 Jul 2014 22:27:24 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 190.18.155.203 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux) Cancel-Lock: sha1:WMWJ834557gXPBpKLZOdj3gt/8o= X-Spam-Score: 0.2 (/) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-2403--17717h-0s--0d--H*u:Emacs, 0.000-281--2066h-0s--0d--H*u:Gnus, 0.000-281--2066h-0s--0d--H*UA:Gnus, 0.000-271--1994h-0s--0d--H*u:linux, 0.000-271--1994h-0s--0d--H*UA:linux Spam tokens: 0.992-23095--1135h-99170s--0d--HTo:D*gnus.org, 0.991-23933--1190h-102824s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.991-23933--1190h-102824s--0d--H*RU:quimby.gnus.org, 0.990-23689--1435h-102829s--0d--HX-Spam-Relays-Internal:quimby.gnus.org, 0.990-23689--1435h-102829s--0d--H*RT:80.91.231.51 Autolearn status: no -1.0 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [80.91.229.3 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (carlosjosepita[at]gmail.com) 0.0 DKIM_ADSP_CUSTOM_MED No valid author signature, adsp_override is CUSTOM_MED 1.2 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO -0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 1.7 FSL_HELO_BARE_IP_2 FSL_HELO_BARE_IP_2 0.9 NML_ADSP_CUSTOM_MED ADSP custom_med hit, and not from a mailing list List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:84735 Archived-At: Here's another alternative (similar to the one I posted a couple of days ago): (setq gnus-message-archive-group (lambda (g) (when (message-mail-p) (concat "nnimap+gmail:" g)))) If I'm not wrong this is more or less equivalent to: (setq gnus-parameters '(("^[^:]+$" (gcc-self . t) ("^[^:]+:.+$" (gcc-self . none))))) The first one has a more flexible matching mechanism, as it let's you pass a lambda expression. But it can't set anything besides the group. It would be nice that gnus-parameters worked more like gnus-message-archive-groups, allowing one to passed a dotted pair list but also a function or expression. Regards -- Carlos