Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 2727C421192 for ; Tue, 17 Jan 2012 10:54:29 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.3 X-Spam-Level: X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9Z10x-GQvkcb for ; Tue, 17 Jan 2012 10:54:28 -0800 (PST) Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu [131.215.239.19]) by olra.theworths.org (Postfix) with ESMTP id BCF4C421189 for ; Tue, 17 Jan 2012 10:54:28 -0800 (PST) Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1]) by fire-doxen-postvirus (Postfix) with ESMTP id 6E0B72E50266 for ; Tue, 17 Jan 2012 10:54:28 -0800 (PST) X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new Received: from finestructure.net (cpe-76-174-137-84.socal.res.rr.com [76.174.137.84]) (Authenticated sender: jrollins) by fire-doxen-submit (Postfix) with ESMTP id B66852E50D65 for ; Tue, 17 Jan 2012 10:54:26 -0800 (PST) Received: by finestructure.net (Postfix, from userid 1000) id 696AD514; Tue, 17 Jan 2012 10:54:26 -0800 (PST) From: Jameson Graef Rollins To: Notmuch Mail Subject: [PATCH] emacs: have notmuch-search-archive-thread use -next-thread function Date: Tue, 17 Jan 2012 10:54:26 -0800 Message-Id: <1326826466-17378-1-git-send-email-jrollins@finestructure.net> X-Mailer: git-send-email 1.7.7.3 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2012 18:54:29 -0000 Use this standard function, to keep thread navigation in one place. --- emacs/notmuch.el | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/emacs/notmuch.el b/emacs/notmuch.el index ef4dcc7..e4bca51 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -617,7 +617,7 @@ thread or threads in the current region." This function advances the next thread when finished." (interactive) (notmuch-search-remove-tag-thread "inbox") - (forward-line)) + (notmuch-search-next-thread)) (defvar notmuch-search-process-filter-data nil "Data that has not yet been processed.") -- 1.7.7.3