From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/28404 Path: main.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.gnus.general Subject: Re: [nnir] syntax Date: 22 Dec 1999 04:11:04 -0800 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: 8bit X-Trace: main.gmane.org 1035165258 29708 80.91.224.250 (21 Oct 2002 01:54:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:54:18 +0000 (UTC) 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 0288DD051E for ; Wed, 22 Dec 1999 07:18:27 -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 GAB17823; Wed, 22 Dec 1999 06:18:08 -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 06:17:36 -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 GAA21165 for ; Wed, 22 Dec 1999 06:17:26 -0600 (CST) Original-Received: from mail.networkone.net (mail.networkone.net [209.144.112.75]) by mailhost.sclp.com (Postfix) with SMTP id 66878D051E for ; Wed, 22 Dec 1999 07:15:44 -0500 (EST) Original-Received: (qmail 30122 invoked from network); 22 Dec 1999 12:16:56 -0000 Original-Received: from pm3-6-96.la.networkone.net (HELO satellite.local.lan) (reader@209.144.125.96) by mail.networkone.net with SMTP; 22 Dec 1999 12:16:56 -0000 Original-Received: (from reader@localhost) by satellite.local.lan (8.9.3/8.9.1) id EAA02501; Wed, 22 Dec 1999 04:15:37 -0800 Original-To: ding@gnus.org In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "22 Dec 1999 12:33:41 +0100" User-Agent: Gnus/5.070099 (Pterodactyl Gnus v0.99) Emacs/20.4 Original-Lines: 41 X-Mailer: Gnus v5.7/Emacs 20.4 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:28404 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:28404 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes: > Harry Putnam writes: > > > nnir-request-group(" ping log$\") (group . \"ping\"))" "-ephemeral" nil) > > byte-code(" \n †ŸÆ †ž„nd request-group error "Attempted use of a nil select method" gnus-server-to-method gnus-agent-get-function gnus-method-functions "%s-%s" put fboundp "Trying to require a method that doesn't exist" require "No such function: %s" string-match "^[^:]+:" 0 gnus-select-method gnus-newsrc-hashtb server gnus-server-alist gnus-predefined-server-alist gnus-opened-servers opened gnus-secondary-select-methods servers method-name gnus-valid-select-methods noerror] 7) > > gnus-activate-group("((query . \"^Subject: ping log$\") (group . \"ping\"))" scan) > > The last line shows that gnus-activate-group sees the right group > name, but the first line shows that nnir-request-group does not see > the right group name. Why? > > Can you M-x load-library RET gnus-start.el RET and so on until you get > a backtrace without byte code? Maybe we can see something there. I've just loaded everything from source (*.el) Signaling: (wrong-type-argument listp ping) nnir-run-glimpse(ping nil) nnir-run-query(" ping log$\") (group . \"ping\"))") nnir-request-group(" ping log$\") (group . \"ping\"))" "-ephemeral" nil) 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 ""))) (inline (gnus-request-group group dont-check method)) (condition-case nil (inline (gnus-request-group group dont-check method)) (quit nil)) (and (inline (gnus-check-server method)) (progn (and scan ... ...) t) (condition-case nil (inline ...) (quit nil)) (setq active (gnus-parse-active)) (if (and ... ... ...) (gnus-active group) (gnus-set-active group active) active)) (let ((method ...) active) (and (inline ...) (progn ... t) (condition-case nil ... ...) (setq active ...) (if ... ... ... active))) gnus-activate-group("((query . \"^Subject: ping log$\") (group . \"ping\"))" scan) (progn (gnus-activate-group group (quote scan)) (unless (gnus-request-group group) (error "Couldn't request group: %s" ...))) (if activate (progn (gnus-activate-group group ...) (unless ... ...))) (when activate (gnus-activate-group group (quote scan)) (unless (gnus-request-group group) (error "Couldn't request group: %s" ...))) (let ((group ...)) (gnus-sethash group (\` ...) gnus-newsrc-hashtb) (push method gnus-ephemeral-servers) (set-buffer gnus-group-buffer) (unless (gnus-check-server method) (error "Unable to contact server: %s" ...)) (when activate (gnus-activate-group group ...) (unless ... ...)) (if request-only group (condition-case nil ... ...))) gnus-group-read-ephemeral-group("((query . \"^Subject: ping log$\") (group . \"ping\"))" (nnir "") t (# . group) nil) gnus-group-make-nnir-group((4) "^Subject: ping log$") * call-interactively(gnus-group-make-nnir-group)