Re: [PATCH] emacs: Added "is:<tag>" style completion to notmuch-read-query.
authorCharles Celerier <cceleri@cs.stanford.edu>
Sat, 29 Nov 2014 16:40:16 +0000 (11:40 +1900)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:46:52 +0000 (14:46 -0700)
ac/639d31602f867e8edda85427a02b48ae6f1b1f [new file with mode: 0644]

diff --git a/ac/639d31602f867e8edda85427a02b48ae6f1b1f b/ac/639d31602f867e8edda85427a02b48ae6f1b1f
new file mode 100644 (file)
index 0000000..11b4712
--- /dev/null
@@ -0,0 +1,97 @@
+Return-Path: <cceleri@cs.stanford.edu>\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 29207431FC2\r
+       for <notmuch@notmuchmail.org>; Sat, 29 Nov 2014 08:40:35 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3] 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 Ek-UN4LK0wPe for <notmuch@notmuchmail.org>;\r
+       Sat, 29 Nov 2014 08:40:27 -0800 (PST)\r
+Received: from smtp2.cs.Stanford.EDU (smtp2.cs.stanford.edu [171.64.64.26])\r
+       (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 8788A431FBF\r
+       for <notmuch@notmuchmail.org>; Sat, 29 Nov 2014 08:40:27 -0800 (PST)\r
+Received: from [154.35.132.83] (port=60095 helo=Jane.lan)\r
+       by smtp2.cs.Stanford.EDU with esmtpsa (UNKNOWN:AES128-GCM-SHA256:128)\r
+       (Exim 4.80.1) (envelope-from <cceleri@cs.stanford.edu>)\r
+       id 1Xul4K-0001w4-Au; Sat, 29 Nov 2014 08:40:25 -0800\r
+From: Charles Celerier <cceleri@cs.stanford.edu>\r
+To: David Bremner <david@tethera.net>, David Edmondson <dme@dme.org>,\r
+       notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] emacs: Added "is:<tag>" style completion  to\r
+       notmuch-read-query.\r
+In-Reply-To: <87wq6ectxm.fsf@maritornes.cs.unb.ca>\r
+References: <1417219835-92141-1-git-send-email-cceleri@cs.stanford.edu>\r
+       <cunk32efnnp.fsf@gargravarr.hh.sledj.net>\r
+       <87wq6ectxm.fsf@maritornes.cs.unb.ca>\r
+User-Agent: Notmuch/0.18.1+208~g6302bf1 (http://notmuchmail.org) Emacs/24.4.1\r
+       (x86_64-apple-darwin14.0.0)\r
+Date: Sat, 29 Nov 2014 11:40:16 -0500\r
+Message-ID: <m2bnnqarkf.fsf@Jane.lan>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+X-Scan-Signature: dcedbbeaec314583a5a6d4e37e27e533\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: Sat, 29 Nov 2014 16:40:36 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain\r
+\r
+Just updated the patch to use lexical-let as suggested. I'm not too\r
+familiar with emacs-lisp, so please tell me if you had something else in\r
+mind.\r
+\r
+charles\r
+\r
+David Bremner <david@tethera.net> writes:\r
+\r
+> David Edmondson <dme@dme.org> writes:\r
+>\r
+>> On Sat, Nov 29 2014, Charles Celerier wrote:\r
+>\r
+>>\r
+>> Should use a `let' binding rather than `setq'. Otherwise, looks good.\r
+>>\r
+>>>    (lexical-let\r
+>>>        ((completions\r
+>>>    (append (list "folder:" "path:" "thread:" "id:" "date:" "f\r
+>\r
+> What about using lexical-let*  to combine the two binding forms?\r
+>\r
+> d\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature; name="signature.asc"\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG/MacGPG2 v2\r
+\r
+iQEcBAEBAgAGBQJUefbwAAoJEOjk698fDjuAfTsH/jmapR98e8Q3YJba8ODWMuK6\r
+CgQictnu0b3d6vWWVlo1kuq9bDUEiyGFbEApBAOzUEel+gdssuzZekZVRhE+xWTq\r
+0ioLLj5Dyzzh3IZNB7NStQ6n1CGvXEhJbpCEo4F/TlrnuVnJlq1wNwVE7an2C/De\r
+vHNT6gRmRZKt5KBShEjo3O/TXROqsScrzfX3sRX4RDaJiCawc6WOdfnzb85Bq/LF\r
+0mYU8cyRLHzn1OhU8jYUmW997byBVihYnjmfpL+lQNQUO5zOqAQ1IPP37rIPu1ix\r
+nCcoKhkFBHNUuy78pMkpFZc8gBiUUx2K17Q58pyVyiMDzX+RuGXDhWN1cSwQ9Z0=\r
+=zT/h\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r