[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] org-gnus-follow-link and nnimap-request-scan
From: |
Eden Cardim |
Subject: |
[O] org-gnus-follow-link and nnimap-request-scan |
Date: |
Mon, 11 Apr 2011 18:51:14 -0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
After switching to using gnus mail splitting, following links to nnimap
messages has become very slow. I'm fairly familiar with the gnus source,
but not org-mode's as much, after wading a bit in the source I landed on
,----[ org-gnus-follow-link ]
| (gnus-activate-group group t)
`----
,----[ C-h f gnus-activate-group RET ]
| gnus-activate-group is a compiled Lisp function in `gnus-start.el'.
|
| (gnus-activate-group GROUP &optional SCAN DONT-CHECK METHOD DONT-SUB-CHECK)
|
| Check whether a group has been activated or not.
| If SCAN, request a scan of that group as well.
|
| [back]
`----
which ends up invoking
,----
| (deffoo nnimap-request-scan (&optional group server)
| (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)))
`----
Which is certainly dispensable for visiting articles via nnimap.
Switching to
,----[ org-gnus-follow-link ]
| (gnus-activate-group group nil)
`----
Makes the linked articles appear nearly instantly.
Am I missing something here?
--
Eden Cardim
Software Engineer
edencardim.com
+55 73 9986-3963
- [O] org-gnus-follow-link and nnimap-request-scan,
Eden Cardim <=