From 251cbf79445b25f4e01a234e593d438b826c1305 Mon Sep 17 00:00:00 2001 From: Sebastian Fischmeister Date: Fri, 19 Sep 2014 09:25:07 +2000 Subject: [PATCH] Re: Better support for helm in the address completion --- 19/7eb80f33ccea58c9681c8f0d2b414ea0e35cfc | 64 +++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 19/7eb80f33ccea58c9681c8f0d2b414ea0e35cfc diff --git a/19/7eb80f33ccea58c9681c8f0d2b414ea0e35cfc b/19/7eb80f33ccea58c9681c8f0d2b414ea0e35cfc new file mode 100644 index 000000000..f3ff07869 --- /dev/null +++ b/19/7eb80f33ccea58c9681c8f0d2b414ea0e35cfc @@ -0,0 +1,64 @@ +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 82C49431FAE + for ; Thu, 18 Sep 2014 06:25:15 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -2.3 +X-Spam-Level: +X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_MED=-2.3] 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 6IQJuPxxLTO2 for ; + Thu, 18 Sep 2014 06:25:08 -0700 (PDT) +Received: from connect.uwaterloo.ca (connhub2.connect.uwaterloo.ca + [129.97.149.119]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 54983431FBC + for ; Thu, 18 Sep 2014 06:25:08 -0700 (PDT) +Received: from uwaterloo.ca (188.20.152.214) by connhub2.connect.uwaterloo.ca + (129.97.149.119) with Microsoft SMTP Server (TLS) id 14.3.195.1; + Thu, 18 Sep 2014 09:25:07 -0400 +From: Sebastian Fischmeister +To: Tomi Ollila , +Subject: Re: Better support for helm in the address completion +In-Reply-To: +References: <87vbonhgwe.fsf@uwaterloo.ca> +User-Agent: Notmuch/0.18.1 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-unknown-linux-gnu) +X-Homepage: http://esg.uwaterloo.ca +Date: Thu, 18 Sep 2014 09:25:07 -0400 +Message-ID: <87ioklkqn8.fsf@uwaterloo.ca> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +Reply-To: sfischme@uwaterloo.ca +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Thu, 18 Sep 2014 13:25:17 -0000 + +> (setq notmuch-address-selection-function +> (lambda (prompt collection initial-input) +> (completing-read prompt (cons initial-input collection) nil t nil 'notmuch-address-history))) +> +> there (or use customize to do that (?)). + +That's perfectly fine as well, and even simpler to use. Maybe adding +this to the emacstips page [1] under "Address completion when composing" +would be a good idea. + + Sebastian + +PS: http://notmuchmail.org/emacstips/ -- 2.26.2