From: Gauthier Östervall Date: Thu, 22 May 2014 11:07:05 +0000 (+0200) Subject: emacs integration X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4e99a8f6f7860a18d8f1e6d81658d8f040279505;p=notmuch-archives.git emacs integration --- diff --git a/f8/38650a8716b991c2871926bdeef7ef278b1744 b/f8/38650a8716b991c2871926bdeef7ef278b1744 new file mode 100644 index 000000000..7484f7d47 --- /dev/null +++ b/f8/38650a8716b991c2871926bdeef7ef278b1744 @@ -0,0 +1,93 @@ +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 53C08431FB6 + for ; Thu, 22 May 2014 04:07:36 -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 AX6juFKrNzpE for ; + Thu, 22 May 2014 04:07:28 -0700 (PDT) +Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com + [209.85.212.177]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id DF6A3431FAE + for ; Thu, 22 May 2014 04:07:27 -0700 (PDT) +Received: by mail-wi0-f177.google.com with SMTP id f8so4118259wiw.4 + for ; Thu, 22 May 2014 04:07:25 -0700 (PDT) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:mime-version:from:date:message-id:subject:to + :content-type; + bh=GxM/3kefHXMBuf6JWCzXLT4tKKYFRhCnGgFJmCn0ilE=; + b=SClFv6AsykAxRUjiLnHBwSCYMsaNCIf1u7o38jBc+Ri6BU3BLzdig0ug3xMtzwi9Jy + ksbB+LCZGBl8tQgYWPFsyvvoC0vplzvzZQrSXkqrvhw7DV0QhPUgACGTpUpff2OOr7l2 + mFaV2Nrx52/7vpNXupBd8fkWD0qP236wQN3AEwBptbLzjY+MXLOhCka3xNAiXCs/x032 + YpUy1ekMTj+gGpLWEq3io0n+dJgD9dWiWHGniplR0HrDa9xw040n/Ot6xvSewEgQfeRL + tUB7GIn6KFND2VeVDoh2z6z/hOAxIgl2tpKEA0Wk3v+qATLBbqc0iISQm6PlZvpRAjq2 + /GZg== +X-Gm-Message-State: + ALoCoQk1oJypOl4j8rHwowOLMQWdAa4fRzohQT5IwVX6Mn5Hgj7yAtzwJcB56KNR473YcYtHBn3A +X-Received: by 10.180.13.113 with SMTP id g17mr15930360wic.48.1400756845546; + Thu, 22 May 2014 04:07:25 -0700 (PDT) +MIME-Version: 1.0 +Received: by 10.180.101.194 with HTTP; Thu, 22 May 2014 04:07:05 -0700 (PDT) +X-Originating-IP: [194.218.229.132] +From: =?UTF-8?Q?Gauthier_=C3=96stervall?= +Date: Thu, 22 May 2014 13:07:05 +0200 +Message-ID: + +Subject: emacs integration +To: notmuch@notmuchmail.org +Content-Type: text/plain; charset=UTF-8 +X-Mailman-Approved-At: Thu, 22 May 2014 13:52:11 -0700 +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: Thu, 22 May 2014 11:07:36 -0000 + +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.com/chrisdone/notmuch.git. +Is this ok? Where should I get them otherwise? + +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? + +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?