Re: [PATCH 2/6] emacs: have tag-completion return all tags for nil input
authorDmitry Kurochkin <dmitry.kurochkin@gmail.com>
Mon, 2 Apr 2012 08:35:31 +0000 (12:35 +0400)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:45:59 +0000 (09:45 -0800)
f4/55f8dc3e1dcc05b353a7264e18c7d5484db27b [new file with mode: 0644]

diff --git a/f4/55f8dc3e1dcc05b353a7264e18c7d5484db27b b/f4/55f8dc3e1dcc05b353a7264e18c7d5484db27b
new file mode 100644 (file)
index 0000000..16f5bec
--- /dev/null
@@ -0,0 +1,103 @@
+Return-Path: <dmitry.kurochkin@gmail.com>\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 571EB431FC7\r
+       for <notmuch@notmuchmail.org>; Mon,  2 Apr 2012 01:37:16 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_FROM=0.001, 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 IVRBwOUrHRD5 for <notmuch@notmuchmail.org>;\r
+       Mon,  2 Apr 2012 01:37:15 -0700 (PDT)\r
+Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com\r
+       [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 9025F431FC2\r
+       for <notmuch@notmuchmail.org>; Mon,  2 Apr 2012 01:37:15 -0700 (PDT)\r
+Received: by bkwj4 with SMTP id j4so2261070bkw.26\r
+       for <notmuch@notmuchmail.org>; Mon, 02 Apr 2012 01:37:14 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=from:to:subject:in-reply-to:references:date:message-id:mime-version\r
+       :content-type; bh=z+V2GN2ft2cQjNlgRelP7CdLfvuJT3LqDg10Km6VkYc=;\r
+       b=AGumeJuuAqXO4tegc5/D+2UWiHrKEaeD+W+9/3OONc+vVUNu6rrVHC9XAc0T9f/3pe\r
+       92VwXpbby59GQRxZQkIwCTpREevpl4gsdRZQGkxmci3GngDKmHssTvzxpS1gK2z04CLC\r
+       UsZ2bjZK9TYKlKJCKTC12gkd+odHm9Z5Vl/iXROAqJXxtp76EQ1Hb62JCOCAiznhEJF1\r
+       9Ef/AWKJN9mGk/yNYXWblZDaHioV1APTlYiCVujSXlfeKvzRuX3DwYpIXMI9j9AWSrAd\r
+       RDy+6Uu9TrJmeBjoByJ/duJjoJmdb5nIdgXyW+/G3q3fjCDY6pAXOgnq2ur/u6xqGJlt\r
+       qbAg==\r
+Received: by 10.204.156.217 with SMTP id y25mr3139403bkw.36.1333355834049;\r
+       Mon, 02 Apr 2012 01:37:14 -0700 (PDT)\r
+Received: from localhost ([91.144.186.21]) by mx.google.com with ESMTPS id\r
+       zx16sm36495457bkb.13.2012.04.02.01.37.11\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Mon, 02 Apr 2012 01:37:12 -0700 (PDT)\r
+From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>\r
+To: Jameson Graef Rollins <jrollins@finestructure.net>,\r
+       Notmuch Mail <notmuch@notmuchmail.org>\r
+Subject: Re: [PATCH 2/6] emacs: have tag-completion return all tags for nil\r
+       input\r
+In-Reply-To: <1333354853-25729-3-git-send-email-jrollins@finestructure.net>\r
+References: <1333354853-25729-1-git-send-email-jrollins@finestructure.net>\r
+       <1333354853-25729-2-git-send-email-jrollins@finestructure.net>\r
+       <1333354853-25729-3-git-send-email-jrollins@finestructure.net>User-Agent:\r
+       Notmuch/0.12+70~g06ecbeb (http://notmuchmail.org) Emacs/23.4.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Mon, 02 Apr 2012 12:35:31 +0400\r
+Message-ID: <877gxyil9o.fsf@gmail.com>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\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: Mon, 02 Apr 2012 08:37:16 -0000\r
+\r
+Jameson Graef Rollins <jrollins@finestructure.net> writes:\r
+\r
+> Previously the function would fail if the initial input was nil.  Now\r
+> it will return a list of all tags, which obviously makes much more\r
+> sense.\r
+> ---\r
+>  emacs/notmuch.el |    2 ++\r
+>  1 files changed, 2 insertions(+), 0 deletions(-)\r
+>\r
+> diff --git a/emacs/notmuch.el b/emacs/notmuch.el\r
+> index 38ae005..0ab8fc2 100644\r
+> --- a/emacs/notmuch.el\r
+> +++ b/emacs/notmuch.el\r
+> @@ -85,6 +85,8 @@ For example:\r
+>  `notmuch-read-tag-changes' function.")\r
+>  \r
+>  (defun notmuch-tag-completions (&optional search-terms)\r
+> +  (if (eq search-terms nil)\r
+\r
+Please use `null'.\r
+\r
+Regards,\r
+  Dmitry\r
+\r
+> +      (setq search-terms (list "*")))\r
+>    (split-string\r
+>     (with-output-to-string\r
+>       (with-current-buffer standard-output\r
+> -- \r
+> 1.7.9.1\r
+>\r
+> _______________________________________________\r
+> notmuch mailing list\r
+> notmuch@notmuchmail.org\r
+> http://notmuchmail.org/mailman/listinfo/notmuch\r