From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/38544 Path: main.gmane.org!not-for-mail From: Dan Christensen Newsgroups: gmane.emacs.gnus.general Subject: Re: self contained nnfolder Date: Mon, 03 Sep 2001 11:22:45 -0400 Sender: Dan Christensen Message-ID: <87heukl2nu.fsf@uwo.ca> References: <87r8tqim9w.fsf@uwo.ca> <87zo8efblz.fsf@uwo.ca> <87ofotfv4x.fsf@uwo.ca> <871ylomi71.fsf@uwo.ca> 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 1035174391 23089 80.91.224.250 (21 Oct 2002 04:26:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:26:31 +0000 (UTC) Cc: ding@gnus.org Return-Path: Return-Path: Original-Received: (qmail 28600 invoked from network); 3 Sep 2001 15:23:03 -0000 Original-Received: from pony.its.uwo.ca (129.100.2.63) by gnus.org with SMTP; 3 Sep 2001 15:23:03 -0000 Original-Received: from scratchy (ren.math.uwo.ca [129.100.75.76]) by pony.its.uwo.ca (8.10.2/8.10.2) with ESMTP id f83FNIm13455; Mon, 3 Sep 2001 11:23:18 -0400 (EDT) Original-Received: from jdc by scratchy with local (Exim 3.32 #1 (Debian)) id 15dvYk-0003KS-00; Mon, 03 Sep 2001 11:22:46 -0400 Original-To: Kai.Grossjohann@cs.uni-dortmund.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) In-Reply-To: <871ylomi71.fsf@uwo.ca> (Dan Christensen's message of "Mon, 03 Sep 2001 11:01:54 -0400") User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.100 Original-Lines: 47 Xref: main.gmane.org gmane.emacs.gnus.general:38544 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:38544 Dan Christensen writes: > I tried the following settings for g-secondary-select-methods: > > '((nnfolder ""))=20 > '("nnfolder:") > '("") > nil > > The first one works for me in all the cases I tested. The second > never works. The third and forth gave me errors when "nnfolder:" was > used in my .newsrc as the server for each group in gnus-newsrc-alist, > but is ok when "" is used as the server for each group.=20=20 It turns out that the third also makes it impossible for me to get new mail! (Backtrace below.) So I've switched back to the first version. The general advice seems to be to use strings everywhere. While that may be correct in principle, in practice it seems to just create errors everywhere. I really think that for both users and developers, a document explaining the details about server methods would be very useful. I have a feeling that there are some bugs in gnus caused because not every developer fully understands how these things are handled (which is not surprising given their complexity!). Here's the backtrace from using the third setting above: Debugger entered--Lisp error: (wrong-type-argument listp "") nnmail-cache-primary-mail-backend() nnmail-cache-insert("") nnmail-check-duplication("" nnfolder-save-mai= l nnfolder-active-number) nnmail-process-unix-mail-format(nnfolder-save-mail nnfolder-active-number) nnmail-split-incoming("~/.emacs-mail-crash-box" nnfolder-save-mail nil ni= l nnfolder-active-number) #[(file orig-file) "=C2=C3=C4 =9A?=85=0F=00=C5 =C6\"=C7%=87" [file orig= -file nnmail-split-incoming nnfolder-save-mail nil nnmail-get-split-group (= file :prescript ... :path "~/Mail/suck") nnfolder-active-number] 7]("~/.ema= cs-mail-crash-box" "~/.emacs-mail-crash-box") mail-source-callback(#[(file orig-file) "=C2=C3=C4 =9A?=85=0F=00=C5 =C6= \"=C7%=87" [file orig-file nnmail-split-incoming nnfolder-save-mail nil nnm= ail-get-split-group (file :prescript ... :path "~/Mail/suck") nnfolder-acti= ve-number] 7] "~/.emacs-mail-crash-box") mail-source-fetch((file :prescript (quote jdc-suck) :path "~/Mail/suck") = #[(file orig-file) "=C2=C3=C4 =9A?=85=0F=00=C5 =C6\"=C7%=87" [file orig-f= ile nnmail-split-incoming nnfolder-save-mail nil nnmail-get-split-group (fi= le :prescript ... :path "~/Mail/suck") nnfolder-active-number] 7]) nnmail-get-new-mail(nnfolder #[nil "=19=8A =85=3D=00 @A@=89=1A=85=1B=00= =C3\n!=85=1B=00=C4=C3\n!!)=84(=00=C5 @\"=10=825=00 @A@q=88=C6 =88=C7p!=88 = A=89=11=84=07=00=C8*=87" [nnfolder-buffer-alist bufs buffer get-buffer buff= er-name delq nnfolder-save-buffer kill-buffer nil] 4] "~/Gnus/Mail" "house") nnfolder-request-scan("house" "") gnus-request-scan("nnfolder:house" (nnfolder "")) gnus-activate-group("nnfolder:house" scan) gnus-get-unread-articles(2) gnus-group-get-new-news(2) call-interactively(gnus-group-get-new-news) --=20 Dan Christensen jdc+news@uwo.ca