unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Gnus manual bug on nnimap splitting?
@ 2016-01-30 21:23 Teemu Likonen
  2016-02-04  3:09 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Teemu Likonen @ 2016-01-30 21:23 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: emacs-devel


[-- Attachment #1.1: Type: text/plain, Size: 654 bytes --]

Hi,

the info node "(gnus) Client-Side IMAP Splitting" says:

    ‘nnimap-split-methods’
         Uses the same syntax as ‘nnmail-split-methods’ [...]

OK, the same syntax as nnmail-split-methods. Then later in the same node
there is an example where the same variable is given a value with
_fancy_ splitting syntax:

         (nnimap "imap.example.com"
                 (nnimap-inbox "INBOX")
                 (nnimap-split-methods
                  (| ("MailScanner-SpamCheck" "spam" "spam.detected")
                     (to "foo@bar.com" "foo")
                     "undecided")))

Clearly a documentation bug. So maybe:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: Type: text/x-diff, Size: 575 bytes --]

diff --git i/doc/misc/gnus.texi w/doc/misc/gnus.texi
index ab96684..8dd0c1b 100644
--- i/doc/misc/gnus.texi
+++ w/doc/misc/gnus.texi
@@ -14322,13 +14322,13 @@ Client-Side IMAP Splitting
 Here's a complete example @code{nnimap} backend with a client-side
 ``fancy'' splitting method:
 
 @example
 (nnimap "imap.example.com"
         (nnimap-inbox "INBOX")
-        (nnimap-split-methods
+        (nnimap-split-fancy
          (| ("MailScanner-SpamCheck" "spam" "spam.detected")
             (to "foo@@bar.com" "foo")
             "undecided")))
 @end example

[-- Attachment #1.3: Type: text/plain, Size: 134 bytes --]

 
-- 
/// Teemu Likonen   - .-..   <https://github.com/tlikonen> //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: Gnus manual bug on nnimap splitting?
  2016-01-30 21:23 Gnus manual bug on nnimap splitting? Teemu Likonen
@ 2016-02-04  3:09 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2016-02-04  3:09 UTC (permalink / raw)
  To: Teemu Likonen; +Cc: emacs-devel

Teemu Likonen <tlikonen@iki.fi> writes:

> Clearly a documentation bug. So maybe:
>
> diff --git i/doc/misc/gnus.texi w/doc/misc/gnus.texi
> index ab96684..8dd0c1b 100644
> --- i/doc/misc/gnus.texi
> +++ w/doc/misc/gnus.texi
> @@ -14322,13 +14322,13 @@ Client-Side IMAP Splitting
>  Here's a complete example @code{nnimap} backend with a client-side
>  ``fancy'' splitting method:
>  
>  @example
>  (nnimap "imap.example.com"
>          (nnimap-inbox "INBOX")
> -        (nnimap-split-methods
> +        (nnimap-split-fancy

Thanks; applied.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-04  3:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-30 21:23 Gnus manual bug on nnimap splitting? Teemu Likonen
2016-02-04  3:09 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).