Gnus development mailing list
 help / color / mirror / Atom feed
From: doh@lavabit.com (Dylan O. Hanton)
To: ding@gnus.org
Subject: Re: nnimp-index variable
Date: Sat, 29 Sep 2012 09:19:24 +0900	[thread overview]
Message-ID: <m239211y0j.fsf@lavabit.com> (raw)
In-Reply-To: <m2haqitjru.fsf@lavabit.com>


If you use gnus 5.13(builtin) in emacs 24, change nnimap.el 

>(deffoo nnimap-request-scan (&optional group server) (when group (setq
>group (nnimap-decode-gnus-group group))) (when (and
>(nnimap-possibly-change-group nil server) nnimap-inbox
>nnimap-split-methods) (nnheader-message 7 "nnimap %s splitting mail..."
>server)
    ;; (nnimap-split-incoming-mail)         ;; <--- delete or comment
    (if (listp nnimap-inbox)                ;;  -|
        (dolist (nnimap-inbox nnimap-inbox) ;;   |  add code
          (nnimap-split-incoming-mail))     ;;   |
      (nnimap-split-incoming-mail))         ;;  -|
>    (nnheader-message 7 "nnimap %s splitting mail...done" server)))

nnimap-index usage:

for single inbox
(nnimap-index "abc")

for multi inbox
(nnimap-index ("abcinbox" "definbox" "ghi\.inbox")) <-- not quote '()

I don't know lisp, well, so don't know why.

example:

(setq gnus-select-method
      '(nnimap "Mail"
               (nnimap-address "localhost")
               (nnimap-stream network)
               (nnimap-authenticator login)
               (nnimap-inbox ("a\.inbox" "b\.inbox" "c\.inbox"))
               (nnimap-unsplittable-articles nil)
               (nnimap-split-methods 'nnmail-split-fancy)))

nicely work :)

=============================================================================
for gnus git version,

I don't know how to install gnus git version in mac.
Makefile is not suitable for Mac and I don't know how to fix it, :)
So all folder was copied to ~/.emacs.d/v...., not ./configure && make

;; ~/.emacs,d/init.el or your init file
(add-to-list 'load-path "~/.emacs.d/vendor/gnus/lisp")
(add-to-list 'load-path "~/.emacs.d/vendor/gnus/contrib")
(require 'gnus-load)

Because nnimap.el was patched already,
just use in this case(gnus git version - ma gnus v0.6) -- tested :)

I replied for newbie like me.
enjoy gnuuus, and sorry poor english 

-- 
emacsean!




      reply	other threads:[~2012-09-29  0:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-28  0:14 Dylan O. Hanton
2012-09-28 12:27 ` Dylan O. Hanton
2012-09-29  0:19   ` Dylan O. Hanton [this message]

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=m239211y0j.fsf@lavabit.com \
    --to=doh@lavabit.com \
    --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).