Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 884BC6DE1226 for ; Sat, 24 Oct 2015 10:43:03 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.099 X-Spam-Level: X-Spam-Status: No, score=0.099 tagged_above=-999 required=5 tests=[AWL=0.099] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wgLCvzI6E2Gc for ; Sat, 24 Oct 2015 10:43:00 -0700 (PDT) Received: from gitolite.debian.net (gitolite.debian.net [87.98.215.224]) by arlo.cworth.org (Postfix) with ESMTPS id 2BDC86DE100D for ; Sat, 24 Oct 2015 10:43:00 -0700 (PDT) Received: from remotemail by gitolite.debian.net with local (Exim 4.80) (envelope-from ) id 1Zq2p9-0001Hb-Ur; Sat, 24 Oct 2015 17:41:47 +0000 Received: (nullmailer pid 32257 invoked by uid 1000); Sat, 24 Oct 2015 17:41:28 -0000 From: David Bremner To: Mark Walters , notmuch@notmuchmail.org Subject: elisp completion patches v6 Date: Sat, 24 Oct 2015 14:41:21 -0300 Message-Id: <1445708484-32189-1-git-send-email-david@tethera.net> X-Mailer: git-send-email 2.6.1 In-Reply-To: <1445702019-10638-1-git-send-email-markwalters1009@gmail.com> References: <1445702019-10638-1-git-send-email-markwalters1009@gmail.com> X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.20 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: Sat, 24 Oct 2015 17:43:03 -0000 Main changes since v5: - replace use of notmuch-message-message-insinuate. I'm not sure if we should leave a stub function, or just break people's .emacs, and tell them not to call it anymore. - company is autoloaded, and used, if present. This can be disabled by setting notmuch-message-use-company to nil - notmuch-message-command being nil is now an explicit disabling of of completion - deduplicate=address is hardcoded Things I didn't have time to do - date timeout - make deduplication configurable - make TAB invoke company I'm still not sure about the use of notmuch-message-command as opposed to a seperate variable. This particular setup will be a smooth transition for those that have customized the variable. I'm also not sure if enabling company should turn off non-company based completion. A more conservative default would be to set notmuch-message-use-company to nil.