emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-gnus-follow-link and nnimap-request-scan
@ 2011-04-11 21:51 Eden Cardim
  2011-04-12  7:26 ` Tassilo Horn
  0 siblings, 1 reply; 5+ messages in thread
From: Eden Cardim @ 2011-04-11 21:51 UTC (permalink / raw)
  To: emacs-orgmode


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

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

end of thread, other threads:[~2011-05-02  9:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-11 21:51 org-gnus-follow-link and nnimap-request-scan Eden Cardim
2011-04-12  7:26 ` Tassilo Horn
2011-04-12  7:57   ` Eden Cardim
2011-04-12 18:30     ` Tassilo Horn
2011-05-02  9:10       ` [Accepted] " Carsten Dominik

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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).