--- /dev/null
+Return-Path: <pieter@praet.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id 186C4431FB6\r
+ for <notmuch@notmuchmail.org>; Wed, 22 Feb 2012 12:11:38 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+ tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id y+BPfO6t72aF for <notmuch@notmuchmail.org>;\r
+ Wed, 22 Feb 2012 12:11:37 -0800 (PST)\r
+Received: from mail-ww0-f41.google.com (mail-ww0-f41.google.com\r
+ [74.125.82.41]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client\r
+ certificate requested) by olra.theworths.org (Postfix) with ESMTPS id\r
+ 78C3E431FAE for <notmuch@notmuchmail.org>; Wed, 22 Feb 2012 12:11:37 -0800\r
+ (PST)\r
+Received: by wgbdt11 with SMTP id dt11so5305444wgb.2\r
+ for <notmuch@notmuchmail.org>; Wed, 22 Feb 2012 12:11:33 -0800 (PST)\r
+Received-SPF: pass (google.com: domain of pieter@praet.org designates\r
+ 10.216.139.9 as permitted sender) client-ip=10.216.139.9; \r
+Authentication-Results: mr.google.com;\r
+ spf=pass (google.com: domain of pieter@praet.org\r
+ designates 10.216.139.9 as permitted sender)\r
+ smtp.mail=pieter@praet.org\r
+Received: from mr.google.com ([10.216.139.9])\r
+ by 10.216.139.9 with SMTP id b9mr9707675wej.23.1329941493537 (num_hops\r
+ = 1); Wed, 22 Feb 2012 12:11:33 -0800 (PST)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+ d=google.com; s=gamma;\r
+ h=mime-version:from:to:cc:subject:date:message-id:x-mailer\r
+ :in-reply-to:references:x-gm-message-state;\r
+ bh=kBJ+DTosIDkJw2LGW8KLunZYegC6HnCG33ZOylKKXkU=;\r
+ b=SNPXOQMQrN3EukkNbmGrsDtJIU5PI/zjI2KoZuUer3Y29Y6NNr6SPO0tPjR8+dVzHq\r
+ yoGiArf3+lUZuO3i/zPRmov0s3u5MiBdioc97wl7kDBQxub79fFHIdLZmh6lA6OQwZ1u\r
+ 9qtJYFQmvycLj+zfZ0WwXKMia67Fni5XqGCxw=\r
+MIME-Version: 1.0\r
+Received: by 10.216.139.9 with SMTP id b9mr8028690wej.23.1329941493349;\r
+ Wed, 22 Feb 2012 12:11:33 -0800 (PST)\r
+Received: from localhost ([109.131.181.26])\r
+ by mx.google.com with ESMTPS id by3sm31428070wib.3.2012.02.22.12.11.32\r
+ (version=TLSv1/SSLv3 cipher=OTHER);\r
+ Wed, 22 Feb 2012 12:11:33 -0800 (PST)\r
+From: Pieter Praet <pieter@praet.org>\r
+To: Michal Sojka <sojkam1@fel.cvut.cz>\r
+Subject: [PATCH] emacs: correct `notmuch-search-mode's docstring wrt\r
+ `notmuch-search-tag-all'\r
+Date: Wed, 22 Feb 2012 21:09:14 +0100\r
+Message-Id: <1329941354-28121-1-git-send-email-pieter@praet.org>\r
+X-Mailer: git-send-email 1.7.8.1\r
+In-Reply-To: <8762ey8wil.fsf@praet.org>\r
+References: <8762ey8wil.fsf@praet.org>\r
+X-Gm-Message-State:\r
+ ALoCoQk3XtbGzk6VcAlGTjVIqvurLQ6UmnsxmG6mtsVUbQkz3d7PaicrNbo9L5DKWqu7iTdRI+X4\r
+Cc: Notmuch Mail <notmuch@notmuchmail.org>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 22 Feb 2012 20:11:38 -0000\r
+\r
+* emacs/notmuch.el (notmuch-search-mode):\r
+ `notmuch-search-tag-all' currently uses the current query string\r
+ instead of `notmuch-search-find-thread-id-region-search', which\r
+ might cause a race condition.\r
+---\r
+ emacs/notmuch.el | 5 +++--\r
+ 1 files changed, 3 insertions(+), 2 deletions(-)\r
+\r
+diff --git a/emacs/notmuch.el b/emacs/notmuch.el\r
+index f851c6f..0a9fffd 100644\r
+--- a/emacs/notmuch.el\r
++++ b/emacs/notmuch.el\r
+@@ -435,8 +435,9 @@ (defun notmuch-search-mode ()\r
+ Pressing \\[notmuch-search-show-thread] on any line displays that thread. The '\\[notmuch-search-add-tag]' and '\\[notmuch-search-remove-tag]'\r
+ keys can be used to add or remove tags from a thread. The '\\[notmuch-search-archive-thread]' key\r
+ is a convenience for archiving a thread (removing the \"inbox\"\r
+-tag). The '\\[notmuch-search-tag-all]' key can be used to add or remove a tag from all\r
+-threads in the current buffer.\r
++tag). The '\\[notmuch-search-tag-all]' key can be used to add and/or remove tags from all\r
++messages (as opposed to threads) that match the current query. Use with caution, as this\r
++will also tag matching messages that arrived *after* constructing the buffer.\r
+ \r
+ Other useful commands are '\\[notmuch-search-filter]' for filtering the current search\r
+ based on an additional query string, '\\[notmuch-search-filter-by-tag]' for filtering to include\r
+-- \r
+1.7.8.1\r
+\r