From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/11244 Path: main.gmane.org!not-for-mail From: Greg Stark Newsgroups: gmane.emacs.gnus.general Subject: reading the cache in nnspool when it has articles from non-primary groups Date: 01 Jun 1997 21:08:57 -0400 Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035150986 29163 80.91.224.250 (20 Oct 2002 21:56:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:56:26 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from sandy.calag.com (root@sandy [206.190.83.128]) by altair.xemacs.org (8.8.5/8.8.5) with ESMTP id TAA01746 for ; Sun, 1 Jun 1997 19:24:05 -0700 Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by sandy.calag.com (8.8.5/8.8.5) with ESMTP id TAA25519 for ; Sun, 1 Jun 1997 19:24:03 -0700 Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by xemacs.org (8.8.5/8.8.5) with SMTP id VAA21286 for ; Sun, 1 Jun 1997 21:23:19 -0500 (CDT) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by ifi.uio.no with SMTP (8.6.11/ifi2.4) id for ; Mon, 2 Jun 1997 03:27:49 +0200 Original-Received: (qmail 18525 invoked by uid 504); 2 Jun 1997 01:27:47 -0000 Original-Received: (qmail 18519 invoked from network); 2 Jun 1997 01:27:41 -0000 Original-Received: from g62-79.citenet.net (brnstnd@kramden.acf.nyu.edu@207.183.46.79) by claymore.vcinet.com with SMTP; 2 Jun 1997 01:27:41 -0000 Original-Received: by g62-79.citenet.net id m0wYLcJ-0008eSC (Debian Smail-3.2 1996-Jul-4 #2); Sun, 1 Jun 1997 21:08:59 -0400 (EDT) Original-To: bugs@gnus.org (The Gnus Bugfixing Girls + Boys) X-Mailer: Gnus v5.4.52/Emacs 19.34 Original-Lines: 149 Original-Xref: altair.xemacs.org dgnus-list:1633 Xref: main.gmane.org gmane.emacs.gnus.general:11244 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:11244 Gnus v5.4.52; 2.0; nntp 5.0; nnspool 2.0; nnfolder 1.0 GNU Emacs 19.34.1 (i386-debian-linux-gnu, X toolkit) of Sun Mar 16 1997 on depreciation I followed the instructions for making an nnspool group to read the cache, but it seems to have trouble reading articles cached from groups that aren't my primary select method. Also, there seem to be .overview files in the cache, why does the info file suggest i use nnspool instead of something could take advantage of the .overview files like nndir or nnml? Details of the bug report: I get the following backtrace if i put a (debug pathname) in nnspool-request-group: ("/home/gsstark/News/cache/kaffe/") (let ((pathname ...) dir) (debug pathname) (if (not ...) (nnheader-report ... "Invalid group name (no such directory): %s" group) (setq nnspool-current-directory pathname) (nnheader-report ... "Selected group %s" group) (if dont-check ... ... ...))) nnspool-request-group("kaffe" "cache" t) gnus-request-group("nndsc:kaffe" t) gnus-select-newsgroup("nndsc:kaffe" t) gnus-summary-read-group-1("nndsc:kaffe" t t nil nil) gnus-summary-read-group("nndsc:kaffe" t t nil nil) gnus-group-read-group(t t "nndsc:kaffe") byte-code("ÀÁ\211\n#\205^I^@\n\207" [gnus-group-read-group t group] 4) gnus-group-read-ephemeral-group("nndsc:kaffe" (nnspool "cache" (nnspool-spool-directory "~/News/cache/") (nnspool-nov-directory "~/News/cache/") (nnspool-active-file "~/News/cache/active")) nil (# . browse)) gnus-browse-read-group(no) gnus-browse-select-group() * call-interactively(gnus-browse-select-group) but the actual ~/News/cache directory looks like this: $ ls -l ~/News/cache total 6 -rw-r--r-- 1 gsstark gsstark 21 Jun 1 00:44 active drwxr-xr-x 2 gsstark gsstark 1024 May 31 14:38 nndsc:Bug_GNU_Emacs drwxr-xr-x 2 gsstark gsstark 1024 Jun 1 02:44 nndsc:kaffe for reference, here is the nnspool:cache server: (nnspool "cache" (nnspool-spool-directory "~/News/cache/") (nnspool-nov-directory "~/News/cache/") (nnspool-active-file "~/News/cache/active")) and the ~/News/cache/active file: nndsc:kaffe 736 61 y The group name for the cache server group for nndsc:kaffe in the .newsrc.eld file is: "nnspool+cache:nndsc:kaffe" ------------------ Environment follows ------------------ (setq gnus-default-nntp-server "") (setq gnus-nntpserver-file "/etc/news/server") (setq gnus-select-method '(nntp "news.citenet.net")) (setq gnus-secondary-servers '("nnfolder:mail" "nndsc:discuss")) (setq gnus-startup-file "~/News/.newsrc") (setq gnus-no-groups-message "No news is no news") (setq gnus-split-methods '((gnus-article-archive-name) (gnus-article-nndoc-name))) (setq gnus-use-cache t) (setq gnus-keep-backlog 3) (setq gnus-verbose 100) (setq gnus-check-new-newsgroups nil) (setq gnus-read-active-file 'some) (setq gnus-activate-level 3) (setq gnus-activate-foreign-newsgroups 3) (setq gnus-save-newsrc-file nil) (setq gnus-save-killed-list nil) ;; (makeunbound 'gnus-kill-killed) (setq gnus-list-groups-with-ticked-articles nil) (setq gnus-group-list-inactive-groups nil) (setq gnus-decode-encoded-word-method 'gnus-article-de-quoted-unreadable) (setq gnus-thread-indent-level 2) (setq gnus-ignored-headers '("^Path:" "^Posting-Version:" "^Article-I.D.:" "^Expires:" "^Date-Received:" "^References:" "^Control:" "^Xref:" "^Lines:" "^Posted:" "^Relay-Version:" "^Message-ID:" "^Nf-ID:" "^Nf-From:" "^Approved:" "^Sender:" "^Received:" "^Mail-from:")) (setq gnus-visible-headers "^From:\\|^Newsgroups:\\|^Subject:\\|^Date:\\|^Followup-To:\\|^Reply-To:\\|^Organization:\\|^Summary:\\|^Keywords:\\|^To:\\|^Cc:\\|^Posted-To:\\|^Mail-Copies-To:\\|^Apparently-To:\\|^Gnus-Warning:\\|^Resent-From") (setq gnus-sorted-header-list '("^From:" "^Subject:" "^Summary:" "^Keywords:" "^Newsgroups:" "^Followup-To:" "^To:" "^Cc:" "^Date:" "^Organization:")) (setq gnus-signature-separator '("^-- $" "^-- *$")) (setq gnus-auto-select-next nil) (setq gnus-summary-check-current t) (setq gnus-view-pseudo-asynchronously t) (setq gnus-group-line-format " %p%S %P%5y %L: %(%G%) %z\n") (setq gnus-valid-select-methods '(("nndsc" none) ("nntp" post address prompt-address physical-address) ("nnspool" post address) ("nnvirtual" post-mail virtual prompt-address) ("nnmbox" mail respool address) ("nnml" mail respool address) ("nnmh" mail respool address) ("nndir" post-mail prompt-address physical-address) ("nneething" none address prompt-address physical-address) ("nndoc" none address prompt-address) ("nnbabyl" mail address respool) ("nnkiboze" post virtual) ("nnsoup" post-mail address) ("nndraft" post-mail) ("nnfolder" mail respool address) ("nngateway" none address prompt-address physical-address) ("nnweb" none))) (setq gnus-auto-expirable-newsgroups "^nnfolder:") (setq gnus-total-expirable-newsgroups "^nnfolder") (setq gnus-group-mode-hook '(gnus-topic-mode)) (setq gnus-summary-prepare-exit-hook '(gnus-summary-expire-articles)) (setq gnus-summary-exit-hook '(gnus-topic-update-topic)) (setq gnus-group-catchup-group-hook '(gnus-topic-update-topic)) (setq gnus-after-getting-new-news-hook '(display-time-event-handler)) (setq gnus-parse-headers-hook '(gnus-decode-rfc1522)) (setq gnus-group-change-level-function 'gnus-topic-change-level) ;; (makeunbound 'gnus-global-score-files) ;; (makeunbound 'gnus-score-file-single-match-alist) ;; (makeunbound 'gnus-score-file-multiple-match-alist) ;; (makeunbound 'gnus-score-file-suffix) ;; (makeunbound 'gnus-adaptive-file-suffix) ;; (makeunbound 'gnus-score-find-score-files-function) ;; (makeunbound 'gnus-score-interactive-default-score) ;; (makeunbound 'gnus-score-expiry-days) ;; (makeunbound 'gnus-update-score-entry-dates) ;; (makeunbound 'gnus-orphan-score) ;; (makeunbound 'gnus-default-adaptive-score-alist) ;; (makeunbound 'gnus-score-mimic-keymap) ;; (makeunbound 'gnus-score-exact-adapt-limit) ;; (makeunbound 'gnus-score-uncacheable-files) ;; (makeunbound 'gnus-score-default-header) ;; (makeunbound 'gnus-score-default-type) ;; (makeunbound 'gnus-score-default-fold) ;; (makeunbound 'gnus-score-default-duration) ;; (makeunbound 'gnus-score-after-write-file-function)