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 D5255431FC7 for ; Sat, 24 May 2014 10:44:01 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, 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 3NpUADqbzBbq for ; Sat, 24 May 2014 10:43:56 -0700 (PDT) Received: from mail-we0-f179.google.com (mail-we0-f179.google.com [74.125.82.179]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 2C2FD431FC4 for ; Sat, 24 May 2014 10:43:56 -0700 (PDT) Received: by mail-we0-f179.google.com with SMTP id q59so6152398wes.38 for ; Sat, 24 May 2014 10:43:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=ZSEWM5Dw7IKHoQ2kBuNVabiDpVzazkd8ibdV4FmwiVo=; b=doQDafZlEzOKoE4DCTdH3rIXoSmTAgo0aV1i2j9AMa8piytcF1MBpQ4iMGvFe98OP6 0Nxjus9bShMUPMkjeacMeZpOdjKqaBbL+IJ8+j4T+vTHlCFXa88w8UwuSNYUjYdg5T7L 5iDXSICEcq/V/ih7L0nznnzWnDPNfKSAiJh1XQZVrIrPdK3Po8h6wDvQsegUfBiNp0R7 2DiTND6kO/p/woIsb7uNjaFFFiv7ywBP9oiaZ4a0kYvhZqNL7gD3bpwYGgpLXRqGG+hz I7JoEalHxguFuJahI+lqdaZQv9SwFLl0JPVPRf9yAPoYkzFmknxi8X7p9Qzc7uPMCwoh YNbA== X-Received: by 10.194.157.68 with SMTP id wk4mr14326155wjb.42.1400953434948; Sat, 24 May 2014 10:43:54 -0700 (PDT) Received: from chitra.no-ip.org (sd44012d5.adsl.online.nl. [212.64.18.213]) by mx.google.com with ESMTPSA id m5sm11716740wie.23.2014.05.24.10.43.53 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 24 May 2014 10:43:54 -0700 (PDT) Sender: Suvayu Ali Date: Sat, 24 May 2014 19:43:51 +0200 From: Suvayu Ali To: notmuch@notmuchmail.org Subject: Re: emacs integration Message-ID: <20140524174351.GF28472@chitra.no-ip.org> Mail-Followup-To: notmuch@notmuchmail.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.22.1 (2013-10-16) 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: Sat, 24 May 2014 17:44:02 -0000 On Fri, May 23, 2014 at 04:02:16PM +0200, Gauthier Östervall wrote: > > I see, thank you. I am actually not interested in the source itself > for now, I only attempted to get the emacs integration to work. > I actually got notmuch via apt-get, and if I try to apt-get install > notmuch-emacs, it says I have it already. > So it seems I have notmuch-emacs installed, what I don't know is where > to point emacs to for it to find this installation. > > Now emacs seems to have found them somehow. I had a system restart in > between, maybe that's what fixed it. > After examining my load-path, I saw that > /usr/share/emacs24/site-lisp/notmuch was added there. > Who modified load-path, and how? I could see no environment variable > about notmuch, maybe everything under site-lisp/ is added to load-path > at each emacs start? This is a standard way to deal with external packages in emacs. The setup stuff goes in the site start file. The exact location is distribution dependent, but generally it is something like /usr/share/emacs/site-lisp/. You should not worry about these details if you are using notmuch-emacs as provided by your distribution. Just put your personal configurations in your ~/.emacs or better yet, use customize to set and save them. Then `M-x notmuch RET' should get you started. Hope this helps, -- Suvayu Open source is the future. It sets us free.