From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/31926 Path: main.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.gnus.general Subject: Re: nnir oddity in group names Date: 04 Aug 2000 11:19:42 -0700 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=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035168281 16819 80.91.224.250 (21 Oct 2002 02:44:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:44:41 +0000 (UTC) Return-Path: Original-Received: from fisher.math.uh.edu (fisher.math.uh.edu [129.7.128.35]) by mailhost.sclp.com (Postfix) with ESMTP id 37DDDD051E for ; Sun, 6 Aug 2000 15:05:42 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by fisher.math.uh.edu (8.9.1/8.9.1) with ESMTP id NAC06927; Fri, 4 Aug 2000 13:21:05 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 04 Aug 2000 13:20:02 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id NAA18331 for ; Fri, 4 Aug 2000 13:19:49 -0500 (CDT) Original-Received: from mail.networkone.net (mail.networkone.net [209.144.112.75]) by mailhost.sclp.com (Postfix) with SMTP id 3DB52D051F for ; Fri, 4 Aug 2000 14:20:20 -0400 (EDT) Original-Received: (qmail 5870 invoked from network); 4 Aug 2000 18:20:10 -0000 Original-Received: from adsl-116-86.ln.networkone.net (HELO reader.ptw.com) (209.144.116.86) by mail.networkone.net with SMTP; 4 Aug 2000 18:20:10 -0000 Original-Received: (from reader@localhost) by reader.ptw.com (8.9.3/8.9.3) id LAA17704; Fri, 4 Aug 2000 11:20:08 -0700 Original-To: ding@gnus.org In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Fri, 4 Aug 2000 17:28:15 +0200" User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.5 Original-Lines: 57 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:31926 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:31926 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) writes: > On 04 Aug 2000, Harry Putnam wrote: >=20 > > Nnir fails if I enter the group name as in the first (t.awk) > > example: comp.unix.questions > >=20 > > And will only work if I use the actual unix style name: > > comp/unix/questions >=20 > Hm. Amazing. You are talking about entering the group spec, right? > This parameter that you are asked for when you do C-u G G but not with > just G G? Yup, thats the one. >=20 > nnir-run-glimpse calls glimpse like this: >=20 > glimpse -H $h -W -l -y ... -F "$p;$g" $query >=20 > $h means nnir-glimpse-home, $p means nnir-glimpse-remove-prefix, and > $g is the group spec that you enter after C-u G G. >=20 > It appears to me that entering `foo.bar' for the group spec will match > directory names `foo/bar' as well as `fooXbar', say. >=20 > But there is one difference between `t.awk' and `comp.unix.questions': > the length. I think there is a rather short length limit on Glimpse > queries. Maybe 16 characters? Or 32? >=20 > Do you think that this might be the problem? I wish there was a way > around this, but I don't know of one. I think not. Heres why... further experiments show: 1) C-u G G fails 2) C-u G G works So far those two experiments would tend to confirm you hypothesis..=20 read on. 3) C-u G G works (Same length query string works in number three) > But maybe I could use grep: >=20 > glimpse -H $h -W -l -y -F $p $query | grep -e $g >=20 > Do you think that this might help? Could somebody try this to see if > it does? >=20 > Another idea might be to use the keep-lines Lisp function to do the > job of grep. This might be even better, since call-process might not > be able to do the pipe thing. Didn't follow the last two suggestions... sorry.