From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tassilo Horn Subject: Re: org-gnus-follow-link and nnimap-request-scan Date: Tue, 12 Apr 2011 20:30:17 +0200 Message-ID: <8762qjqqfy.fsf@member.fsf.org> References: <87oc4cihil.fsf@gmail.com> <87sjtoylod.fsf@member.fsf.org> <87ei57ewal.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:47957) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9iMH-00031b-J0 for emacs-orgmode@gnu.org; Tue, 12 Apr 2011 14:30:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q9iMG-0000cA-Pj for emacs-orgmode@gnu.org; Tue, 12 Apr 2011 14:30:37 -0400 Received: from lo.gmane.org ([80.91.229.12]:57864) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9iMG-0000bs-9P for emacs-orgmode@gnu.org; Tue, 12 Apr 2011 14:30:36 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Q9iMD-0003WD-1l for emacs-orgmode@gnu.org; Tue, 12 Apr 2011 20:30:33 +0200 Received: from 88-134-173-46-dynip.superkabel.de ([88.134.173.46]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Apr 2011 20:30:33 +0200 Received: from tassilo by 88-134-173-46-dynip.superkabel.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Apr 2011 20:30:33 +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 --=-=-= Content-Type: text/plain Eden Cardim writes: > Tassilo> No, I just wasn't really sure what that SCAN argument > Tassilo> means, so I tried to be as safe as possible. If it's > Tassilo> always safe to provide nil, let's change that. > > Well, right now all it does is to check split rules against incoming > mail. But, if we have a link to a message in org, then that message > already went through the split process, so re-splitting is > unnecessary. Ok, so here we go: --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-Call-gnus-activate-group-without-SCAN-arg.patch >From 89fecc7b938385647618dc28c4df304df872e6eb Mon Sep 17 00:00:00 2001 From: Tassilo Horn Date: Tue, 12 Apr 2011 20:27:54 +0200 Subject: [PATCH] Call gnus-activate-group without SCAN arg. * org-gnus.el (org-gnus-follow-link): Don't request scan of group when following link. --- lisp/org-gnus.el | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/org-gnus.el b/lisp/org-gnus.el index eba4cb4..a5ece8b 100644 --- a/lisp/org-gnus.el +++ b/lisp/org-gnus.el @@ -249,7 +249,7 @@ If `org-store-link' was called with a prefix arg the meaning of (when article (setq article (org-substring-no-properties article))) (cond ((and group article) - (gnus-activate-group group t) + (gnus-activate-group group) (condition-case nil (let* ((method (gnus-find-method-for-group group)) (backend (car method)) -- 1.7.5.rc1 --=-=-= Content-Type: text/plain Bye, Tassilo --=-=-=--