From: Michal Sojka Date: Fri, 19 Sep 2014 18:16:39 +0000 (+0200) Subject: [PATCH v4 0/3] Emacs: Address completion implemented in elisp X-Git-Url: http://git.tremily.us/?p=notmuch-archives.git;a=commitdiff_plain;h=6cf57b39dfc9baaf0a05da5495f53d4b1d7db894 [PATCH v4 0/3] Emacs: Address completion implemented in elisp --- diff --git a/2f/8a16c48535ed6e5f164a12d25d0bd29ffa368d b/2f/8a16c48535ed6e5f164a12d25d0bd29ffa368d new file mode 100644 index 000000000..ac19305c5 --- /dev/null +++ b/2f/8a16c48535ed6e5f164a12d25d0bd29ffa368d @@ -0,0 +1,82 @@ +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 4AC7D431FC7 + for ; Fri, 19 Sep 2014 11:17:12 -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 16tldqNUOzhv for ; + Fri, 19 Sep 2014 11:17:06 -0700 (PDT) +Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36]) + by olra.theworths.org (Postfix) with ESMTP id 6C911431FBC + for ; Fri, 19 Sep 2014 11:17:06 -0700 (PDT) +Received: from localhost (unknown [192.168.200.7]) + by max.feld.cvut.cz (Postfix) with ESMTP id 4343719F33B8; + Fri, 19 Sep 2014 20:17:01 +0200 (CEST) +X-Virus-Scanned: IMAP STYX AMAVIS +Received: from max.feld.cvut.cz ([192.168.200.1]) + by localhost (styx.feld.cvut.cz [192.168.200.7]) (amavisd-new, + port 10044) + with ESMTP id 05hp7XXW-6Nl; Fri, 19 Sep 2014 20:16:57 +0200 (CEST) +Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34]) + by max.feld.cvut.cz (Postfix) with ESMTP id C690219F33C7; + Fri, 19 Sep 2014 20:16:56 +0200 (CEST) +Received: from wsh by steelpick.2x.cz with local (Exim 4.84) + (envelope-from ) + id 1XV2jn-0005hz-TT; Fri, 19 Sep 2014 20:16:55 +0200 +From: Michal Sojka +To: notmuch@notmuchmail.org +Subject: [PATCH v4 0/3] Emacs: Address completion implemented in elisp +Date: Fri, 19 Sep 2014 20:16:39 +0200 +Message-Id: <1411150602-21892-1-git-send-email-sojkam1@fel.cvut.cz> +X-Mailer: git-send-email 2.1.0 +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Fri, 19 Sep 2014 18:17:12 -0000 + +Hi, + +this is another version of my address completion patchset. It +obsoletes id:1407771091-12651-1-git-send-email-sojkam1@fel.cvut.cz. + +This version works reasonably well on systems with rotating disk, +which was my main problem with the previous version. It also +incorporates suggestions pointed out by others. + +This is not (yet) based on Jani's patch for printing the addresses by +notmuch search (id:1410021689-15901-1-git-send-email-jani@nikula.org). +I'll at this as a next step as it will simplify the elisp code and +make the address completion faster. + +Michal Sojka (3): + Emacs: Display a message when generating address completion candidates + Emacs: Add address completion mechanism implemented in elisp + Emacs: Add address completion based on company-mode + + emacs/Makefile.local | 6 ++- + emacs/notmuch-address.el | 126 +++++++++++++++++++++++++++++++++++++++++++---- + emacs/notmuch-company.el | 81 ++++++++++++++++++++++++++++++ + emacs/notmuch-lib.el | 3 ++ + 4 files changed, 206 insertions(+), 10 deletions(-) + create mode 100644 emacs/notmuch-company.el + +-- +2.1.0 +