From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/74661 Path: news.gmane.org!not-for-mail From: Tibor Simko Newsgroups: gmane.emacs.gnus.general Subject: nnir and non-gmane group detection Date: Sun, 05 Dec 2010 00:32:24 +0100 Organization: CERN -- European Organization for Nuclear Research Message-ID: <87pqthp113.fsf@pcuds33.cern.ch> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1291505570 25353 80.91.229.12 (4 Dec 2010 23:32:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 4 Dec 2010 23:32:50 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M23017@lists.math.uh.edu Sun Dec 05 00:32:46 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 1PP1au-00063V-EV for ding-account@gmane.org; Sun, 05 Dec 2010 00:32:44 +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 1PP1as-0001GK-GG; Sat, 04 Dec 2010 17:32:42 -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 1PP1ar-0001G5-Az for ding@lists.math.uh.edu; Sat, 04 Dec 2010 17:32:41 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PP1ap-0007Vc-Q8 for ding@lists.math.uh.edu; Sat, 04 Dec 2010 17:32:41 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PP1ap-0005Lr-00 for ; Sun, 05 Dec 2010 00:32:39 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PP1am-0005x5-FW for ding@gnus.org; Sun, 05 Dec 2010 00:32:36 +0100 Original-Received: from 184-17.79-83.cust.bluewin.ch ([83.79.17.184]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 05 Dec 2010 00:32:36 +0100 Original-Received: from tibor.simko by 184-17.79-83.cust.bluewin.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 05 Dec 2010 00:32:36 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 35 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 184-17.79-83.cust.bluewin.ch Mail-Copies-To: never User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:WP6yQ2rMd+5EbPwExdjyxRc/8ws= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:74661 Archived-At: Hello: The following change altered the way non-gmane nntp groups are detected in nnir: : commit 54d0fc58736fca0b48da2e443232c50df0d537cb : Author: Andrew Cohen : Date: Thu Dec 2 15:03:02 2010 -0500 : : Allow modified summary-line-format in nnir summary buffers. : : [...] : : ;; gmane interface : (defun nnir-run-gmane (query srv &optional groups) : "Run a search against a gmane back-end server." : - (if (gnus-string-match-p "gmane" srv) : + (if (gnus-string-match-p "gmane.org$" srv) : (let* ((case-fold-search t) : (qstring (cdr (assq 'query query))) : (server (cadr (gnus-server-to-method srv))) The above bit makes nnir think my gmane groups are actually non-gmane. Note that I'm using: (nntp "gmane" (nntp-address "news.gmane.org")) in `gnus-secondary-select-methods'. It would be good to make the test less strict again and/or more configurable. Best regards -- Tibor Simko