Re: Better support for helm in the address completion
authorSebastian Fischmeister <sfischme@uwaterloo.ca>
Thu, 18 Sep 2014 13:25:07 +0000 (09:25 +2000)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:04:34 +0000 (10:04 -0800)
19/7eb80f33ccea58c9681c8f0d2b414ea0e35cfc [new file with mode: 0644]

diff --git a/19/7eb80f33ccea58c9681c8f0d2b414ea0e35cfc b/19/7eb80f33ccea58c9681c8f0d2b414ea0e35cfc
new file mode 100644 (file)
index 0000000..f3ff078
--- /dev/null
@@ -0,0 +1,64 @@
+Return-Path: <sebastian.fischmeister@uwaterloo.ca>\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 82C49431FAE\r
+       for <notmuch@notmuchmail.org>; Thu, 18 Sep 2014 06:25:15 -0700 (PDT)\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 6IQJuPxxLTO2 for <notmuch@notmuchmail.org>;\r
+       Thu, 18 Sep 2014 06:25:08 -0700 (PDT)\r
+Received: from connect.uwaterloo.ca (connhub2.connect.uwaterloo.ca\r
+       [129.97.149.119]) (using TLSv1 with cipher AES128-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 54983431FBC\r
+       for <notmuch@notmuchmail.org>; Thu, 18 Sep 2014 06:25:08 -0700 (PDT)\r
+Received: from uwaterloo.ca (188.20.152.214) by connhub2.connect.uwaterloo.ca\r
+       (129.97.149.119) with Microsoft SMTP Server (TLS) id 14.3.195.1;\r
+       Thu, 18 Sep 2014 09:25:07 -0400\r
+From: Sebastian Fischmeister <sfischme@uwaterloo.ca>\r
+To: Tomi Ollila <tomi.ollila@iki.fi>, <notmuch@notmuchmail.org>\r
+Subject: Re: Better support for helm in the address completion\r
+In-Reply-To: <m2vbonxkum.fsf@guru.guru-group.fi>\r
+References: <87vbonhgwe.fsf@uwaterloo.ca> <m2vbonxkum.fsf@guru.guru-group.fi>\r
+User-Agent: Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.3.1\r
+       (x86_64-unknown-linux-gnu)\r
+X-Homepage: http://esg.uwaterloo.ca\r
+Date: Thu, 18 Sep 2014 09:25:07 -0400\r
+Message-ID: <87ioklkqn8.fsf@uwaterloo.ca>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+Reply-To: sfischme@uwaterloo.ca\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: Thu, 18 Sep 2014 13:25:17 -0000\r
+\r
+> (setq notmuch-address-selection-function\r
+>       (lambda (prompt collection initial-input)\r
+>         (completing-read prompt (cons initial-input collection) nil t nil 'notmuch-address-history)))\r
+>\r
+> there (or use customize to do that (?)).\r
+\r
+That's perfectly fine as well, and even simpler to use. Maybe adding\r
+this to the emacstips page [1] under "Address completion when composing"\r
+would be a good idea.\r
+\r
+  Sebastian\r
+\r
+PS: http://notmuchmail.org/emacstips/\r