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 EF31A6DE1329 for ; Fri, 23 Oct 2015 17:36:38 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.47 X-Spam-Level: X-Spam-Status: No, score=0.47 tagged_above=-999 required=5 tests=[AWL=-0.274, URIBL_SBL=0.644, URIBL_SBL_A=0.1] 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 fwXDB3Mverj9 for ; Fri, 23 Oct 2015 17:36:36 -0700 (PDT) Received: from gitolite.debian.net (gitolite.debian.net [87.98.215.224]) by arlo.cworth.org (Postfix) with ESMTPS id C6D126DE1226 for ; Fri, 23 Oct 2015 17:36:35 -0700 (PDT) Received: from remotemail by gitolite.debian.net with local (Exim 4.80) (envelope-from ) id 1ZpmoS-0006r1-BX; Sat, 24 Oct 2015 00:36:00 +0000 Received: (nullmailer pid 28458 invoked by uid 1000); Sat, 24 Oct 2015 00:35:41 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: Re: [Patch v5 3/3] Emacs: Add address completion based on company-mode In-Reply-To: <1445646037-25994-4-git-send-email-david@tethera.net> References: <1445646037-25994-1-git-send-email-david@tethera.net> <1445646037-25994-4-git-send-email-david@tethera.net> User-Agent: Notmuch/0.20.2+93~g33c8777 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Fri, 23 Oct 2015 21:35:41 -0300 Message-ID: <87r3klksrm.fsf@zancas.localnet> MIME-Version: 1.0 Content-Type: text/plain 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 00:36:39 -0000 David Bremner writes: > +;;;###autoload > +(add-hook 'notmuch-message-mode-hook '(lambda () > + (company-mode) > + (make-local-variable 'company-backends) > + (setq company-backends '(notmuch-company)))) > + > +(provide 'notmuch-company) > -- I know I just sent this message a few minutes ago, but I didn't write it ;). Why is this second autoload cookie here? this means that in principle this form will end up in the autoloads file.