From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eden Cardim Subject: org-gnus-follow-link and nnimap-request-scan Date: Mon, 11 Apr 2011 18:51:14 -0300 Message-ID: <87oc4cihil.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:55243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9SSK-00031y-RD for emacs-orgmode@gnu.org; Mon, 11 Apr 2011 21:31:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q9P15-00033v-33 for emacs-orgmode@gnu.org; Mon, 11 Apr 2011 17:51:28 -0400 Received: from lo.gmane.org ([80.91.229.12]:47939) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9P14-00033X-Tg for emacs-orgmode@gnu.org; Mon, 11 Apr 2011 17:51:27 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q9P12-0006BT-4X for emacs-orgmode@gnu.org; Mon, 11 Apr 2011 23:51:24 +0200 Received: from c90637ac.virtua.com.br ([201.6.55.172]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Apr 2011 23:51:24 +0200 Received: from edencardim by c90637ac.virtua.com.br with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 11 Apr 2011 23:51:24 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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