Gnus development mailing list
 help / color / mirror / Atom feed
From: Dan Christensen <jdc+news@uwo.ca>
Cc: ding@gnus.org
Subject: Re: self contained nnfolder
Date: Mon, 03 Sep 2001 11:22:45 -0400	[thread overview]
Message-ID: <87heukl2nu.fsf@uwo.ca> (raw)
In-Reply-To: <871ylomi71.fsf@uwo.ca> (Dan Christensen's message of "Mon, 03 Sep 2001 11:01:54 -0400")

Dan Christensen <jdc+news@uwo.ca> writes:

> I tried the following settings for g-secondary-select-methods:
>
>       '((nnfolder "")) 
>       '("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.  

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("<E15dvEj-0003IO-00@scratchy>")
  nnmail-check-duplication("<E15dvEj-0003IO-00@scratchy>" nnfolder-save-mail 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 nil nnfolder-active-number)
  #[(file orig-file) "Â\bÃÄ\b	š?…\x0f\0Å	Æ\"Ç%‡" [file orig-file nnmail-split-incoming nnfolder-save-mail nil nnmail-get-split-group (file :prescript ... :path "~/Mail/suck") nnfolder-active-number] 7]("~/.emacs-mail-crash-box" "~/.emacs-mail-crash-box")
  mail-source-callback(#[(file orig-file) "Â\bÃÄ\b	š?…\x0f\0Å	Æ\"Ç%‡" [file orig-file nnmail-split-incoming nnfolder-save-mail nil nnmail-get-split-group (file :prescript ... :path "~/Mail/suck") nnfolder-active-number] 7] "~/.emacs-mail-crash-box")
  mail-source-fetch((file :prescript (quote jdc-suck) :path "~/Mail/suck") #[(file orig-file) "Â\bÃÄ\b	š?…\x0f\0Å	Æ\"Ç%‡" [file orig-file nnmail-split-incoming nnfolder-save-mail nil nnmail-get-split-group (file :prescript ... :path "~/Mail/suck") nnfolder-active-number] 7])
  nnmail-get-new-mail(nnfolder #[nil "\b\x19Š	…=\0	@A@‰\x1a…^[\0Ã\n!…^[\0ÄÃ\n!!)„(\0Å	@\b\"\x10‚5\0	@A@qˆÆ ˆÇp!ˆ	A‰\x11„\a\0È*‡" [nnfolder-buffer-alist bufs buffer get-buffer buffer-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)

-- 
Dan Christensen
jdc+news@uwo.ca


  reply	other threads:[~2001-09-03 15:22 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-25 16:53 Simon Josefsson
2001-08-26 16:30 ` Raymond Scholz
2001-08-26 21:20   ` Simon Josefsson
2001-08-26 22:24     ` Nevin Kapur
2001-08-27  1:22       ` Steve Youngs
2001-08-27 16:19       ` Simon Josefsson
2001-08-27 16:36         ` Nevin Kapur
2001-09-01 22:22 ` Dan Christensen
2001-09-01 23:03   ` Dan Christensen
2001-09-01 23:31     ` Kai Großjohann
2001-09-02  6:34     ` Paul Jarc
2001-09-01 23:26   ` Kai Großjohann
2001-09-02  4:41     ` Dan Christensen
2001-09-02  6:11       ` Paul Jarc
2001-09-02 10:36         ` Kai Großjohann
2001-09-02 15:51         ` Dan Christensen
2001-09-02 16:48           ` Kai Großjohann
2001-09-02 23:58             ` Paul Jarc
2001-09-03  3:35             ` Dan Christensen
2001-09-03 10:16               ` Kai Großjohann
2001-09-03 15:07                 ` Dan Christensen
2001-09-03 16:31                   ` Kai Großjohann
2001-09-04  1:22                     ` Dan Christensen
2001-09-03 23:51                 ` Paul Jarc
2001-09-04  1:38                   ` Dan Christensen
2001-09-04  6:58                     ` Paul Jarc
2001-09-04 14:45                       ` Dan Christensen
2001-09-02 23:54           ` Paul Jarc
2001-09-03  3:49             ` Dan Christensen
2001-09-03 15:12               ` Dan Christensen
2001-09-03 23:36               ` Paul Jarc
2001-09-03 10:18             ` Kai Großjohann
2001-09-03 15:01               ` Dan Christensen
2001-09-03 15:22                 ` Dan Christensen [this message]
2001-09-03 16:34                   ` Kai Großjohann
2001-09-03 17:00                     ` Amos Gouaux
2001-09-03 21:31                       ` Kai Großjohann
2001-09-03 23:17                         ` Paul Jarc
2001-09-04  0:43                         ` Amos Gouaux
2001-09-04 13:41                           ` Kai Großjohann
2001-09-04 14:10                             ` Amos Gouaux
2001-09-03 23:23                   ` Paul Jarc
2001-09-04  1:14                     ` Dan Christensen
2001-09-04  1:33                     ` Dan Christensen
2001-09-04 13:42                     ` Kai Großjohann
2001-09-02  9:53   ` Simon Josefsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87heukl2nu.fsf@uwo.ca \
    --to=jdc+news@uwo.ca \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).