From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66913 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: Problem with gnus-registry-grep-in-list Date: Mon, 05 May 2008 16:42:24 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <864p9c2zsv.fsf@lifelogs.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1210023643 21213 80.91.229.12 (5 May 2008 21:40:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 May 2008 21:40:43 +0000 (UTC) Cc: ding@gnus.org To: Joao Cachopo Original-X-From: ding-owner+M15393@lists.math.uh.edu Mon May 05 23:41:17 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 1Jt8Qg-0007k8-QV for ding-account@gmane.org; Mon, 05 May 2008 23:41:03 +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 1Jt8PW-0005C2-Bt; Mon, 05 May 2008 16:39:50 -0500 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 1Jt8PV-0005Bl-6r for ding@lists.math.uh.edu; Mon, 05 May 2008 16:39:49 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1Jt8PP-0004np-6t for ding@lists.math.uh.edu; Mon, 05 May 2008 16:39:49 -0500 Original-Received: from mail.blockstar.com ([170.224.69.95]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Jt8Pb-0003Md-00 for ; Mon, 05 May 2008 23:39:56 +0200 Original-Received: from tzlatanov-ubuntu-desktop.jumptrading.com (unknown [38.98.147.130]) by mail.blockstar.com (Postfix) with ESMTP id 66D217D9051; Mon, 5 May 2008 14:50:45 -0700 (PDT) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" X-Hashcash: 1:20:080505:joao@cachopo.org::Ciav5z+So48BIqXf:01/Nn X-Hashcash: 1:20:080505:ding@gnus.org::a6Z4Ch2sRAagiJJb:00002spU In-Reply-To: (Joao Cachopo's message of "Mon, 05 May 2008 19:38:56 +0100") User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/23.0.60 (gnu/linux) X-Spam-Score: -2.5 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:66913 Archived-At: On Mon, 05 May 2008 19:38:56 +0100 Joao Cachopo wrote: JC> The string-match function is called with the regexp in the second JC> argument, rather than the first. Fixed, please test. I used catch/throw now instead of mapcar, it should be more efficient. JC> Actually, according to the CVS logs, this was a deliberate change made JC> in revision 7.37: JC> date: 2007/09/12 09:16:25; author: tzz; state: Exp; lines: +3 -3 JC> (gnus-registry-unfollowed-groups): Add INBOX to the JC> list of groups not followed by default. Fix type to be regexp. JC> (gnus-registry-grep-in-list): Fix inverted parameters to string-match. My mistake, sorry. JC> As the gnus-registry-grep-in-list function is used in one more place JC> (the function gnus-registry-find-keywords), I'm not sure that swapping JC> the arguments of the string-match again will not break this other JC> functionality. I doubt anyone uses gnus-registry-find-keywords, but I fixed it anyhow to just use the member function instead of the regular expression matching. Ted