From: Pieter Praet Date: Wed, 22 Feb 2012 20:09:14 +0000 (+0100) Subject: [PATCH] emacs: correct `notmuch-search-mode's docstring wrt `notmuch-search-tag-all' X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=ff1584b0e23ce2a159e4ff34e3a8a36421b7d4d9;p=notmuch-archives.git [PATCH] emacs: correct `notmuch-search-mode's docstring wrt `notmuch-search-tag-all' --- diff --git a/93/f332b922ea21929de2fa02cd75351cde06313b b/93/f332b922ea21929de2fa02cd75351cde06313b new file mode 100644 index 000000000..14da56ca9 --- /dev/null +++ b/93/f332b922ea21929de2fa02cd75351cde06313b @@ -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 186C4431FB6 + for ; Wed, 22 Feb 2012 12:11:38 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[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 y+BPfO6t72aF for ; + Wed, 22 Feb 2012 12:11:37 -0800 (PST) +Received: from mail-ww0-f41.google.com (mail-ww0-f41.google.com + [74.125.82.41]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client + certificate requested) by olra.theworths.org (Postfix) with ESMTPS id + 78C3E431FAE for ; Wed, 22 Feb 2012 12:11:37 -0800 + (PST) +Received: by wgbdt11 with SMTP id dt11so5305444wgb.2 + for ; Wed, 22 Feb 2012 12:11:33 -0800 (PST) +Received-SPF: pass (google.com: domain of pieter@praet.org designates + 10.216.139.9 as permitted sender) client-ip=10.216.139.9; +Authentication-Results: mr.google.com; + spf=pass (google.com: domain of pieter@praet.org + designates 10.216.139.9 as permitted sender) + smtp.mail=pieter@praet.org +Received: from mr.google.com ([10.216.139.9]) + by 10.216.139.9 with SMTP id b9mr9707675wej.23.1329941493537 (num_hops + = 1); Wed, 22 Feb 2012 12:11:33 -0800 (PST) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=google.com; s=gamma; + h=mime-version:from:to:cc:subject:date:message-id:x-mailer + :in-reply-to:references:x-gm-message-state; + bh=kBJ+DTosIDkJw2LGW8KLunZYegC6HnCG33ZOylKKXkU=; + b=SNPXOQMQrN3EukkNbmGrsDtJIU5PI/zjI2KoZuUer3Y29Y6NNr6SPO0tPjR8+dVzHq + yoGiArf3+lUZuO3i/zPRmov0s3u5MiBdioc97wl7kDBQxub79fFHIdLZmh6lA6OQwZ1u + 9qtJYFQmvycLj+zfZ0WwXKMia67Fni5XqGCxw= +MIME-Version: 1.0 +Received: by 10.216.139.9 with SMTP id b9mr8028690wej.23.1329941493349; + Wed, 22 Feb 2012 12:11:33 -0800 (PST) +Received: from localhost ([109.131.181.26]) + by mx.google.com with ESMTPS id by3sm31428070wib.3.2012.02.22.12.11.32 + (version=TLSv1/SSLv3 cipher=OTHER); + Wed, 22 Feb 2012 12:11:33 -0800 (PST) +From: Pieter Praet +To: Michal Sojka +Subject: [PATCH] emacs: correct `notmuch-search-mode's docstring wrt + `notmuch-search-tag-all' +Date: Wed, 22 Feb 2012 21:09:14 +0100 +Message-Id: <1329941354-28121-1-git-send-email-pieter@praet.org> +X-Mailer: git-send-email 1.7.8.1 +In-Reply-To: <8762ey8wil.fsf@praet.org> +References: <8762ey8wil.fsf@praet.org> +X-Gm-Message-State: + ALoCoQk3XtbGzk6VcAlGTjVIqvurLQ6UmnsxmG6mtsVUbQkz3d7PaicrNbo9L5DKWqu7iTdRI+X4 +Cc: Notmuch Mail +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: Wed, 22 Feb 2012 20:11:38 -0000 + +* emacs/notmuch.el (notmuch-search-mode): + `notmuch-search-tag-all' currently uses the current query string + instead of `notmuch-search-find-thread-id-region-search', which + might cause a race condition. +--- + emacs/notmuch.el | 5 +++-- + 1 files changed, 3 insertions(+), 2 deletions(-) + +diff --git a/emacs/notmuch.el b/emacs/notmuch.el +index f851c6f..0a9fffd 100644 +--- a/emacs/notmuch.el ++++ b/emacs/notmuch.el +@@ -435,8 +435,9 @@ (defun notmuch-search-mode () + 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-tag-all]' key can be used to add or remove a tag from all +-threads in the current buffer. ++tag). The '\\[notmuch-search-tag-all]' key can be used to add and/or remove tags from all ++messages (as opposed to threads) that match the current query. Use with caution, as this ++will also tag matching messages that arrived *after* constructing the buffer. + + Other useful commands are '\\[notmuch-search-filter]' for filtering the current search + based on an additional query string, '\\[notmuch-search-filter-by-tag]' for filtering to include +-- +1.7.8.1 +