From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/16661 Path: main.gmane.org!not-for-mail From: (Jari Aalto+list.ding) Newsgroups: gmane.emacs.gnus.general Subject: Suggestion: to problem nndraft "Can't select group" Date: 03 Sep 1998 18:57:12 +0300 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: multipart/mixed; boundary="Multipart_Thu_Sep__3_18:57:12_1998-1" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035155498 29179 80.91.224.250 (20 Oct 2002 23:11:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:11:38 +0000 (UTC) Return-Path: Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id LAA29182 for ; Thu, 3 Sep 1998 11:59:53 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id KAF06197; Thu, 3 Sep 1998 10:30:48 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 03 Sep 1998 10:58:09 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id KAA26909 for ; Thu, 3 Sep 1998 10:57:59 -0500 (CDT) Original-Received: from axl01it.ntc.nokia.com (axl01it.ntc.nokia.com [131.228.118.232]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id LAA29171 for ; Thu, 3 Sep 1998 11:57:20 -0400 (EDT) Original-Received: from zeus.tele.nokia.fi (zeus.tele.nokia.fi [131.228.134.50]) by axl01it.ntc.nokia.com (8.8.5/8.6.9) with SMTP id SAA18959 for ; Thu, 3 Sep 1998 18:56:58 +0300 (EET DST) Original-Received: from tre.tele.nokia.fi (styx.ntc.nokia.com [131.228.169.57]) by zeus.tele.nokia.fi (8.6.4/8.6.4) with ESMTP id TAA05669 for ; Thu, 3 Sep 1998 19:01:32 +0300 Original-Received: by tre.tele.nokia.fi (1.39.111.2/16.2) id AA081538233; Thu, 3 Sep 1998 18:57:13 +0300 Original-To: Ding mailing list X-Info: Emacs tiny tools: ftp://cs.uta.fi/pub/ssjaaa/ File server: Send subject 'send help' to Original-Lines: 85 X-Mailer: Pterodactyl Gnus v0.13/Emacs 19.34 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:16661 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:16661 --Multipart_Thu_Sep__3_18:57:12_1998-1 Content-Type: text/plain; charset=US-ASCII Hi, I posted before question why I couldn't select nndraft group which did contain articles if I looked into directory. The server was open, the path was okay, but still I got message Can't select group After lot of Edebugging, i found out that I was missing entry (display . all) from the Group parameters. After I put it there, the articles were read and I could access nndraft. I think it would be good idea to add that group parameter by default in the nndraft groups so that user don't get confused about the misleding "Can't select group" message. jari --Multipart_Thu_Sep__3_18:57:12_1998-1 Content-Type: text/plain; charset=US-ASCII THE INITIAL SITUATION (gnus-select-newsgroup "nndraft:drafts" t) gnus-articles-to-read --> Can't select group gnus-select-newsgroup called gnus-articles-to-read but it didn't find anything. cond statement in gnus-articles-to-read triggered 0, thus returning nil back, and hence error message (defun gnus-select-newsgroup (group &optional read-all select-articles) ;; Adjust and set lists of article marks. (when info (gnus-adjust-marked-articles info)) info --> ("nndraft:drafts" 1 nil nil (nndraft "") ((timestamp 13711 39412) (expiry-wait . 5) (total-expire . t) (gnus-dummy (gnus-draft-mode)))) (if (setq articles select-articles) (setq gnus-newsgroup-unselected (gnus-sorted-intersection gnus-newsgroup-unreads (gnus-sorted-complement gnus-newsgroup-unreads articles))) (setq articles (gnus-articles-to-read group read-all))) (if (setq articles select-articles) --> nil (setq articles (gnus-articles-to-read group read-all))) --> 0 and later the cond statement in gnus-select-newsgroup ((eq articles 0) nil) (defun gnus-articles-to-read (group &optional read-all) ;; Find out what articles the user wants to read. (let* ((articles ;; Select all articles if `read-all' is non-nil, or if there ;; are no unread articles. (if (or read-all (and (zerop (length gnus-newsgroup-marked)) --> '(19) (zerop (length gnus-newsgroup-unreads))) --> nil articles --> nil AFTER I PUT (display . all) TO GROUP PARAMETER info --> ("nndraft:drafts" 1 ((1 . 133) 135 (137 . 140) (142 . 143) (145 . 155) (157 . 163) (165 . 170)) nil (nndraft "") ((timestamp 13806 46863) (expiry-wait . 5) (total-expire . t) (gnus-dummy (gnus-draft-mode)))) --Multipart_Thu_Sep__3_18:57:12_1998-1--