From: Dmitry Kurochkin Date: Tue, 31 Jan 2012 04:54:20 +0000 (+0400) Subject: [PATCH v4 06/12] emacs: rename `notmuch-search-operate-all' to `notmuch-search-tag... X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=599f7d70aa14304dea7e8eee3dbc5cc3cb2e04fb;p=notmuch-archives.git [PATCH v4 06/12] emacs: rename `notmuch-search-operate-all' to `notmuch-search-tag-all' --- diff --git a/e6/c8a67b0a239a6f8c42f68ebdf9a75837be521f b/e6/c8a67b0a239a6f8c42f68ebdf9a75837be521f new file mode 100644 index 000000000..be0053a37 --- /dev/null +++ b/e6/c8a67b0a239a6f8c42f68ebdf9a75837be521f @@ -0,0 +1,100 @@ +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 0C356431FBC + for ; Mon, 30 Jan 2012 20:55:58 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.799 +X-Spam-Level: +X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.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 nFekWSxMvVIu for ; + Mon, 30 Jan 2012 20:55:57 -0800 (PST) +Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com + [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id EC47B429E34 + for ; Mon, 30 Jan 2012 20:55:56 -0800 (PST) +Received: by mail-bk0-f53.google.com with SMTP id 11so2152468bke.26 + for ; Mon, 30 Jan 2012 20:55:56 -0800 (PST) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; + h=from:to:subject:date:message-id:x-mailer:in-reply-to:references; + bh=IS2I/fDQuhZKYEDLbsaKdipmm2HUxGJhZFqDYsvb1NY=; + b=SESkMiPGqNg++D4peCnipwnsy5yW3SZotq8+o3vGncmqnw2jd+Jo57LCnekRbm3SMc + ZVfY32aFkvHqmrinr+dq+0qmqqa2iEiKRuMM440wsr6Xkzx2NLrFTRhQsXkBuGi5cx6j + 3B7ftsB08atlOsb29CJZm6JBhT4Ok5jQ57CNk= +Received: by 10.204.10.82 with SMTP id o18mr10165142bko.20.1327985756613; + Mon, 30 Jan 2012 20:55:56 -0800 (PST) +Received: from localhost ([91.144.186.21]) + by mx.google.com with ESMTPS id ga13sm42514162bkc.5.2012.01.30.20.55.55 + (version=TLSv1/SSLv3 cipher=OTHER); + Mon, 30 Jan 2012 20:55:56 -0800 (PST) +From: Dmitry Kurochkin +To: notmuch@notmuchmail.org +Subject: [PATCH v4 06/12] emacs: rename `notmuch-search-operate-all' to + `notmuch-search-tag-all' +Date: Tue, 31 Jan 2012 08:54:20 +0400 +Message-Id: <1327985666-29191-7-git-send-email-dmitry.kurochkin@gmail.com> +X-Mailer: git-send-email 1.7.9 +In-Reply-To: <1327985666-29191-1-git-send-email-dmitry.kurochkin@gmail.com> +References: <1327901644-15799-1-git-send-email-dmitry.kurochkin@gmail.com> + <1327985666-29191-1-git-send-email-dmitry.kurochkin@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, 31 Jan 2012 04:55:58 -0000 + +`Notmuch-search-tag-all' is more clear and consistent with other +tagging function names. +--- + emacs/notmuch.el | 6 +++--- + 1 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/emacs/notmuch.el b/emacs/notmuch.el +index ce8bef6..7d06109 100644 +--- a/emacs/notmuch.el ++++ b/emacs/notmuch.el +@@ -270,7 +270,7 @@ For a mouse binding, return nil." + (define-key map "t" 'notmuch-search-filter-by-tag) + (define-key map "f" 'notmuch-search-filter) + (define-key map [mouse-1] 'notmuch-search-show-thread) +- (define-key map "*" 'notmuch-search-operate-all) ++ (define-key map "*" 'notmuch-search-tag-all) + (define-key map "a" 'notmuch-search-archive-thread) + (define-key map "-" 'notmuch-search-remove-tag) + (define-key map "+" 'notmuch-search-add-tag) +@@ -419,7 +419,7 @@ any tags). + Pressing \\[notmuch-search-show-thread] on any line displays that thread. The '\\[notmuch-search-add-tag]' and '\\[notmuch-search-remove-tag]' + keys can be used to add or remove tags from a thread. The '\\[notmuch-search-archive-thread]' key + is a convenience for archiving a thread (removing the \"inbox\" +-tag). The '\\[notmuch-search-operate-all]' key can be used to add or remove a tag from all ++tag). The '\\[notmuch-search-tag-all]' key can be used to add or remove a tag from all + threads in the current buffer. + + Other useful commands are '\\[notmuch-search-filter]' for filtering the current search +@@ -883,7 +883,7 @@ non-authors is found, assume that all of the authors match." + (goto-char found-target))) + (delete-process proc)))) + +-(defun notmuch-search-operate-all (&rest actions) ++(defun notmuch-search-tag-all (&rest actions) + "Add/remove tags from all matching messages. + + This command adds or removes tags from all messages matching the +-- +1.7.9 +