From: Mark Walters Date: Tue, 29 Oct 2013 22:55:29 +0000 (+0000) Subject: [PATCH 02/11] emacs: tree: remove unneeded declarations X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=df571d00e82a466fdb77b74af89c6f48a79c80e6;p=notmuch-archives.git [PATCH 02/11] emacs: tree: remove unneeded declarations --- diff --git a/c2/1b3a77f16f77210d4e95a7a536642ee0ac9861 b/c2/1b3a77f16f77210d4e95a7a536642ee0ac9861 new file mode 100644 index 000000000..5a452b287 --- /dev/null +++ b/c2/1b3a77f16f77210d4e95a7a536642ee0ac9861 @@ -0,0 +1,102 @@ +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 46D72431FD7 + for ; Tue, 29 Oct 2013 15:55:55 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0.201 +X-Spam-Level: +X-Spam-Status: No, score=0.201 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001, + RCVD_IN_DNSWL_LOW=-0.7] 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 WCGJR7Ftb3XS for ; + Tue, 29 Oct 2013 15:55:49 -0700 (PDT) +Received: from mail-we0-f176.google.com (mail-we0-f176.google.com + [74.125.82.176]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 9BAAF431FBC + for ; Tue, 29 Oct 2013 15:55:49 -0700 (PDT) +Received: by mail-we0-f176.google.com with SMTP id w62so536061wes.21 + for ; Tue, 29 Oct 2013 15:55:47 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=from:to:cc:subject:date:message-id:in-reply-to:references; + bh=1DeehcNjoK+tQAW7ueuyEyaYrbBExLhB2wfrxDcxqEs=; + b=s95cjDLB8gwUSinmF6VW7nVwfEQesR1ELE2x4//RJQA9BB6FhO+qiahUsXj6c+en27 + BmNo5euJTSSBRlWM1bthfTa53Ijj4O34y7yKY5RLwqf0OwI+f8K/B/GdH4VdHL1hguxL + hsFQFBfgDJUKqcjA38W6p6PAYhFXhKmhQLqaxlOQAs+TwgyDrNP3/hsAnQ/rTpqjSzP7 + z0TwggNjeEqDAPFkC5GZt1Gkw/erYogei65vRi2t0IMcdeSgGMNfVRfI0grBG6qQd+7N + g2yBuPcMoY1TgbjjBM0Teqpc4PxmY877MumGkX9kknkebvLv0jaA9TXOXWPwkiQaiLFQ + t/Ng== +X-Received: by 10.194.219.1 with SMTP id pk1mr1788776wjc.36.1383087345942; + Tue, 29 Oct 2013 15:55:45 -0700 (PDT) +Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31]) + by mx.google.com with ESMTPSA id + by10sm9561930wib.10.2013.10.29.15.55.45 for + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Tue, 29 Oct 2013 15:55:45 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org +Subject: [PATCH 02/11] emacs: tree: remove unneeded declarations +Date: Tue, 29 Oct 2013 22:55:29 +0000 +Message-Id: <1383087338-10220-3-git-send-email-markwalters1009@gmail.com> +X-Mailer: git-send-email 1.7.9.1 +In-Reply-To: <1383087338-10220-1-git-send-email-markwalters1009@gmail.com> +References: <1383087338-10220-1-git-send-email-markwalters1009@gmail.com> +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, 29 Oct 2013 22:55:55 -0000 + +There are some crufty declare-functions and requires in notmuch-tree: +since it requires notmuch.el itself this all works but in preparation +for the move to mainline tidy this up. +--- + contrib/notmuch-pick/notmuch-tree.el | 13 ++++--------- + 1 files changed, 4 insertions(+), 9 deletions(-) + +diff --git a/contrib/notmuch-pick/notmuch-tree.el b/contrib/notmuch-pick/notmuch-tree.el +index 512589f..d3330a0 100644 +--- a/contrib/notmuch-pick/notmuch-tree.el ++++ b/contrib/notmuch-pick/notmuch-tree.el +@@ -27,20 +27,15 @@ + (require 'notmuch-lib) + (require 'notmuch-query) + (require 'notmuch-show) ++(require 'notmuch-tag) ++(require 'notmuch-parser) + (require 'notmuch) ;; XXX ATM, as notmuch-search-mode-map is defined here + + (eval-when-compile (require 'cl)) +- ++(declare-function notmuch-search "notmuch" (&optional query oldest-first target-thread target-line)) + (declare-function notmuch-call-notmuch-process "notmuch" (&rest args)) +-(declare-function notmuch-show "notmuch-show" (&rest args)) +-(declare-function notmuch-tag "notmuch" (query &rest tags)) +-(declare-function notmuch-show-strip-re "notmuch-show" (subject)) +-(declare-function notmuch-show-spaces-n "notmuch-show" (n)) + (declare-function notmuch-read-query "notmuch" (prompt)) +-(declare-function notmuch-read-tag-changes "notmuch" (current-tags &optional prompt initial-input)) +-(declare-function notmuch-update-tags "notmuch" (current-tags tag-changes)) +-(declare-function notmuch-hello-trim "notmuch-hello" (search)) +-(declare-function notmuch-search-find-thread-id "notmuch" ()) ++(declare-function notmuch-search-find-thread-id "notmuch" (&optional bare)) + (declare-function notmuch-search-find-subject "notmuch" ()) + + ;; the following variable is defined in notmuch.el +-- +1.7.9.1 +