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 5FDC3431FC4 for ; Fri, 23 May 2014 00:20:21 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 K8Li5a-gKlX2 for ; Fri, 23 May 2014 00:20:17 -0700 (PDT) Received: from mail-wg0-f41.google.com (mail-wg0-f41.google.com [74.125.82.41]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 071D0431FAE for ; Fri, 23 May 2014 00:20:16 -0700 (PDT) Received: by mail-wg0-f41.google.com with SMTP id z12so4468367wgg.24 for ; Fri, 23 May 2014 00:20:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:subject:in-reply-to:references:user-agent :from:date:message-id:mime-version:content-type; bh=ThbLv9kChNM40QV06+Ug1sUKwV91WWk1455gCudcuMc=; b=k8pKbh19MvttFAVXe67VxvY6tKFSx//FW/Xus6p8cIYMqv5sNpB5ebW8kmN/KxjcG/ uDySrmp4m9NwadwSxXJC8upSTCyTpWy2r9buU6fPwDA8RlXKs/0NXbgnk8ZPkIsVzh91 qFj2poxm792GkYCs4VQi48FcmCdOCMtQS2GXCt85qiQy8gtpbwliLALuc+ROGmRrL5jK OdQDkmmj/EIeRYp5j2uO7Tqz+5EMtD7djHUu7MVkGSAtW+bVd1uxLEa6qoj9p8raXHbE zOgH8thchjW7Ve4ORN1w0R2XDHRHUnfPNqq9cskMN1LEgDkMRhGvFtkqwprCvNBx2v9S wmwA== X-Gm-Message-State: ALoCoQk41IwZHILJUPIkR21MSR7UC6uEhZ7FTCeS2W+7KbOiNxtpk7t1Xe1Bl0h0uVe9eBJPd+0u X-Received: by 10.194.91.144 with SMTP id ce16mr1515333wjb.18.1400829613504; Fri, 23 May 2014 00:20:13 -0700 (PDT) Received: from localhost ([2a01:348:1a2:1:2d10:6ff8:4a36:5dd0]) by mx.google.com with ESMTPSA id dr6sm1390806wid.6.2014.05.23.00.20.11 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 May 2014 00:20:12 -0700 (PDT) To: Gauthier =?utf-8?Q?=C3=96stervall?= , notmuch@notmuchmail.org Subject: Re: emacs integration In-Reply-To: References: User-Agent: Notmuch/0.18 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu) From: David Edmondson Date: Fri, 23 May 2014 08:20:04 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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, 23 May 2014 07:20:21 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Thu, May 22 2014, Gauthier =C3=96stervall wrote: > I just installed notmuch and could index from the command line. > I read from the Setup section of the "emacs tips" page ( > notmuch@notmuchmail.org ) that integrating to emacs is as simple as > (require 'notmuch). > > 1. First, I had a hard time to get the el files at all. I finally got > them from github.comb/chrisdone/notmuch.git. > Is this ok? Where should I get them otherwise? http://notmuchmail.org lists both http://notmuchmail.org/releases/ and git://notmuchmail.org/git/notmuch as sources of notmuch. The emacs UI is in emacs/ when you've grabbed the source. > 2. I put the git repot in ~/.emacs.d/includes/notmuch, and added that > to my load-path: > (add-to-list 'load-path "~/.emacs.d/includes/notmuch") > before the require line. > Require seemed to work (besides this error message: "Symbol's value as > variable is void: zenburn-blue") > Anything wrong here? This is a local change in the repository that you cloned - it's not an official mirror. > 3. Opening notmuch.el revealed that notmuch had to be built, with > $ sudo make install-emacs. > Unfortunately this yields: > gauthier:~/.emacs.d/includes/notmuch $ sudo make install-emacs > make -C .. install-emacs > make[1]: Entering directory `/home/gauthier/.emacs.d/includes' > make[1]: *** No rule to make target `install-emacs'. Stop. > make[1]: Leaving directory `/home/gauthier/.emacs.d/includes' > make: *** [install-emacs] Error 2 > > I am not sure why the makefile has "-C ..", but I am not either sure > how to solve it. > Where do I go from there? The repository that you cloned is a modified, partial copy of the original source. It's better to go to the original (see above). --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iKYEARECAGYFAlN+9qVfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl bnBncC5maWZ0aGhvcnNlbWFuLm5ldDc1M0Y5NDJDMEExNjc3MDE4OURGMUYyMDY5 RUNEMEFCRjA0OTY1MTYACgkQaezQq/BJZRbHPgCffNcxgr0ILJUTaHMvivlr+YTY IK4An329sIWeVlzYXl9E9WEJsGPIqXFd =qogW -----END PGP SIGNATURE----- --=-=-=--