1 Return-Path: <sojkam1@fel.cvut.cz>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 38682431FB6
\r
6 for <notmuch@notmuchmail.org>; Mon, 11 Aug 2014 07:31:22 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id YlG-dNLG3li8 for <notmuch@notmuchmail.org>;
\r
16 Mon, 11 Aug 2014 07:31:15 -0700 (PDT)
\r
17 Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])
\r
18 by olra.theworths.org (Postfix) with ESMTP id E95F0431FAF
\r
19 for <notmuch@notmuchmail.org>; Mon, 11 Aug 2014 07:31:14 -0700 (PDT)
\r
20 Received: from localhost (unknown [192.168.200.7])
\r
21 by max.feld.cvut.cz (Postfix) with ESMTP id 7919C3CFE93;
\r
22 Mon, 11 Aug 2014 16:31:13 +0200 (CEST)
\r
23 X-Virus-Scanned: IMAP STYX AMAVIS
\r
24 Received: from max.feld.cvut.cz ([192.168.200.1])
\r
25 by localhost (styx.feld.cvut.cz [192.168.200.7]) (amavisd-new,
\r
27 with ESMTP id xcj5BcSPvWfB; Mon, 11 Aug 2014 16:31:08 +0200 (CEST)
\r
28 Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])
\r
29 by max.feld.cvut.cz (Postfix) with ESMTP id 1CC0B3CFE89;
\r
30 Mon, 11 Aug 2014 16:31:07 +0200 (CEST)
\r
31 Received: from wsh by steelpick.2x.cz with local (Exim 4.82_1-5b7a7c0-XX)
\r
32 (envelope-from <sojkam1@fel.cvut.cz>)
\r
33 id 1XGqcs-00081A-Qm; Mon, 11 Aug 2014 16:31:06 +0200
\r
34 From: Michal Sojka <sojkam1@fel.cvut.cz>
\r
35 To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org
\r
36 Subject: Re: [PATCH RFC] Emacs: Add address completion mechanism implemented
\r
38 In-Reply-To: <87r411f604.fsf@maritornes.cs.unb.ca>
\r
39 References: <87bns8f6hi.fsf@steelpick.2x.cz>
\r
40 <1406653070-13174-1-git-send-email-sojkam1@fel.cvut.cz>
\r
41 <87r411f604.fsf@maritornes.cs.unb.ca>
\r
42 User-Agent: Notmuch/0.18.1+57~gbabacd5 (http://notmuchmail.org) Emacs/24.3.1
\r
43 (x86_64-pc-linux-gnu)
\r
44 Date: Mon, 11 Aug 2014 16:31:06 +0200
\r
45 Message-ID: <87r40np07p.fsf@steelpick.2x.cz>
\r
47 Content-Type: text/plain
\r
48 X-BeenThere: notmuch@notmuchmail.org
\r
49 X-Mailman-Version: 2.1.13
\r
51 List-Id: "Use and development of the notmuch mail system."
\r
52 <notmuch.notmuchmail.org>
\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
54 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
56 List-Post: <mailto:notmuch@notmuchmail.org>
\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
59 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
60 X-List-Received-Date: Mon, 11 Aug 2014 14:31:22 -0000
\r
64 On Fri, Aug 01 2014, David Bremner wrote:
\r
65 > Michal Sojka <sojkam1@fel.cvut.cz> writes:
\r
67 >> notmuch-company.el hooks itself into message-mode and uses
\r
68 >> company-mode to offer the completion to the user. The file is put into
\r
69 >> the contrib directory which means that the use has to install it
\r
70 >> himself. This is because company-mode is not a part of Emacs and
\r
71 >> bytecompiling notmuch-company.el fails due to used --quick option that
\r
72 >> causes user installed packages to be ignored.
\r
74 > what about for now just putting
\r
76 > ;; -*-no-byte-compile: t; -*-
\r
78 > at the top of the file? It seems usable uncompiled to me.
\r
80 > Then somebody who really wants it compiled can figure out how to do the
\r
81 > conditional compilation.
\r
83 >> It would probably make sense to implement another completion frontend
\r
84 >> based only on Emacs built-in functionality and integrate it with
\r
85 >> notmuch-addresses.el.
\r
89 >> + "`company-mode' completion back-end for `nevermore (nm)'."
\r
91 > missed "nevermore" ;)
\r
95 >> +(defun notmuch-flatten-thread-set (thread-set)
\r
96 >> + "Convert the result of 'notmuch show' to the plain list of messages."
\r
97 >> +(defun notmuch-flatten-thread (thread)
\r
99 >> +(defun notmuch-flatten-thread-node (thread-node)
\r
102 > what about putting those functions in notmuch-query.el?
\r
105 >> +(defun notmuch-async-harvest ()
\r
106 >> + "Collect possible addresses for completion. It queries the
\r
109 > logically it seems like this might belong in notmuch-address.el,
\r
110 > even if none of the functions in in it currently use
\r
112 Thanks for the comments. I incorporated them in a new version of the
\r
113 patch, which I'll send in a while.
\r