Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Subject: Re: nnmaildir oddities!
Date: Fri, 26 Jul 2002 22:33:50 +0200	[thread overview]
Message-ID: <ilun0seut3l.fsf@latte.josefsson.org> (raw)
In-Reply-To: <87y9byb6f8.fsf@mail.paradoxical.net> (Josh Huber's message of "Fri, 26 Jul 2002 16:06:19 -0400")

Josh Huber <huber+dated+1028145806.d34009@alum.wpi.edu> writes:

> Simon Josefsson <jas@extundo.com> writes:
>
>> I didn't follow this thread closely, but respooling in Gnus used
>> either nnmail internal stuff or some undocumented backend interface,
>> which explains why it doesn't work for nnimap.  Maybe the same
>> applied to nnmaildir.  Documenting the backend interface for
>> respooling should be possible though, as well as fixing nnimap.el.
>> Anyone? :)
>
> Well, the problem in nnmaildir was that when you call the respool
> function (and eventually call nnmaildir-request-move-article, I
> think), it's called with a nil destination group value.  In nnml, this
> triggers a lookup with your split rules, with nnmaildir this triggers
> the backend to save in the current group. (i.e. where it came from)

Ah, yes, this was the undocumented backend interface I was talking
about.  Perhaps it should be mentioned in the manual that a nil group
means the backends' split stuff should place the article.  What about
the following?  Maybe nnimap will support it now that it is documented. :-)

--- gnus.texi.~6.294.~	2002-07-26 20:04:47.000000000 +0200
+++ gnus.texi	2002-07-26 22:31:48.000000000 +0200
@@ -23632,6 +23632,9 @@
 The function should return a cons where the @code{car} is the group name and
 the @code{cdr} is the article number that the article was entered as.
 
+If @var{group} is nil, it means the article is respooled and it should
+be placed in a group determined by the backends' split rules (if any).
+
 There should be no data returned.
 
> IMHO, the determination of the destination group should happen much
> earlier in the game -- doing in buried in each backend is just not the
> right thing to do.

Split rules are backend specific in Gnus.  But I agree, it would be
nicer if there was a `gnus-split-rules' that could crosspost across
backends too.




  reply	other threads:[~2002-07-26 20:33 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-18 16:34 Josh Huber
2002-07-18 17:08 ` Paul Jarc
2002-07-18 17:57   ` Josh Huber
2002-07-18 18:21     ` Paul Jarc
2002-07-18 18:41       ` Josh Huber
2002-07-18 19:17         ` Paul Jarc
2002-07-18 20:16           ` Josh Huber
2002-07-18 20:26             ` Paul Jarc
2002-07-18 20:42               ` Josh Huber
2002-07-18 20:59                 ` Paul Jarc
2002-07-18 21:27                   ` Josh Huber
2002-07-18 21:32                     ` Paul Jarc
2002-07-19  7:23                     ` Kai Großjohann
2002-07-19 19:34                       ` Josh Huber
2002-07-26 19:32                         ` Simon Josefsson
2002-07-26 20:06                           ` Josh Huber
2002-07-26 20:33                             ` Simon Josefsson [this message]
2002-07-26 20:44                               ` Paul Jarc
2002-07-26 21:01                                 ` Josh Huber
2002-07-26 22:40                                   ` Simon Josefsson
2002-07-26 21:03                                 ` 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=ilun0seut3l.fsf@latte.josefsson.org \
    --to=jas@extundo.com \
    /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).