From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/28410 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai=?iso-8859-1?q?_Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: [nnir] syntax Date: 22 Dec 1999 17:52:41 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035165263 29746 80.91.224.250 (21 Oct 2002 01:54:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:54:23 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by mailhost.sclp.com (Postfix) with ESMTP id CE595D051E for ; Wed, 22 Dec 1999 11:57:00 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id KAB18223; Wed, 22 Dec 1999 10:56:39 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 22 Dec 1999 10:55:07 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id KAA26437 for ; Wed, 22 Dec 1999 10:54:57 -0600 (CST) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by mailhost.sclp.com (Postfix) with ESMTP id 5C149D051E for ; Wed, 22 Dec 1999 11:53:15 -0500 (EST) Original-Received: from marcy.cs.uni-dortmund.de (marcy.cs.uni-dortmund.de [129.217.20.159]) by waldorf.cs.uni-dortmund.de with ESMTP id RAA09969; Wed, 22 Dec 1999 17:52:42 +0100 (MET) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.20.160]) by marcy.cs.uni-dortmund.de id RAA03004; Wed, 22 Dec 1999 17:52:42 +0100 (MET) Original-Received: (from grossjoh@localhost) by lucy.cs.uni-dortmund.de (8.9.3/8.9.3/Debian 8.9.3-6) id RAA16709; Wed, 22 Dec 1999 17:52:41 +0100 X-Authentication-Warning: lucy.cs.uni-dortmund.de: grossjoh set sender to Kai.Grossjohann@CS.Uni-Dortmund.DE using -f Original-To: Harry Putnam In-Reply-To: Harry Putnam's message of "22 Dec 1999 04:11:04 -0800" Original-Lines: 31 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.5 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:28410 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:28410 Harry Putnam writes: > funcall(nnir-request-group " ping log$\") (group . \"ping\"))" "-ephemeral" nil) > (let ((gnus-command-method ...)) (when (stringp gnus-command-method) (setq gnus-command-method ...)) (funcall (inline ...) (gnus-group-real-name group) (nth 1 gnus-command-method) dont-check)) > gnus-request-group("((query . \"^Subject: ping log$\") (group . \"ping\"))" nil (nnir "-ephemeral" (nnir-address ""))) Obviously, the group name is mangled between the lower and the upper line above. As it turns out, the culprit is the function gnus-group-real-name: (defmacro gnus-group-real-name (group) "Find the real name of a foreign newsgroup." `(let ((gname ,group)) (if (string-match "^[^:]+:" gname) (substring gname (match-end 0)) gname))) It cuts off everything before the first `:'! Ick. So, you could try to search for "^Subject. ping log$" which does not contain a `:' and hence is not mangled. Another alternative is to enter the following for searching: "x:^Subject: ping log$" which provides Gnus Colon Eater food -- dunno if this actually works. I'll send another message to this list asking what to do about this. kai -- A preposition is not a good thing to end a sentence with.