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 E12FE431FB6 for ; Thu, 14 Apr 2011 05:55:11 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] 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 ExKC-il1nw1i for ; Thu, 14 Apr 2011 05:55:11 -0700 (PDT) Received: from tesla.chaoflow.net (tesla.chaoflow.net [188.40.54.22]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 2DE27431FB5 for ; Thu, 14 Apr 2011 05:55:11 -0700 (PDT) Received: from eve.chaoflow.net (p5DE9466C.dip.t-dialin.net [93.233.70.108]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: flo@chaoflow.net) by tesla.chaoflow.net (Postfix) with ESMTPSA id 5C874A43; Thu, 14 Apr 2011 14:55:08 +0200 (CEST) Received: by eve.chaoflow.net (Postfix, from userid 1000) id 10139B3A; Thu, 14 Apr 2011 12:55:08 +0000 (Local time zone must be set--see zic manual page) From: Florian Friesdorf To: Matthieu Lemerre , micah anderson , notmuch Subject: Re: Org-mode support In-Reply-To: <87aagubq75.fsf@free.fr> Message-ID: <87vcyh6lrg.fsf@eve.chaoflow.net> References: <87aai7k0ae.fsf@free.fr> <87lj0fhg3g.fsf@algae.riseup.net> <87aagubq75.fsf@free.fr> User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-unknown-linux-gnu) Date: Thu, 14 Apr 2011 14:55:07 +0200 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Virus-Scanned: clamav-milter 0.96.5 at tesla X-Virus-Status: Clean 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, 14 Apr 2011 12:55:12 -0000 --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= First, thanks a lot for org-notmuch! I attached a minimal patch to require org so it is enough to require org-notmuch in user init. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-org-notmuch-require-org-for-org-add-link-type-and-ot.patch Content-Transfer-Encoding: quoted-printable From=204128169c3d22527342c90b675e847f4227f3b0c1 Mon Sep 17 00:00:00 2001 From: Florian Friesdorf Date: Thu, 14 Apr 2011 14:44:54 +0200 Subject: [PATCH] org-notmuch: require org for org-add-link-type and others =2D-- contrib/lisp/org-notmuch.el | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/contrib/lisp/org-notmuch.el b/contrib/lisp/org-notmuch.el index 9cde34f..9283385 100644 =2D-- a/contrib/lisp/org-notmuch.el +++ b/contrib/lisp/org-notmuch.el @@ -41,6 +41,8 @@ =20 ;;; Code: =20 +(require 'org) + ;; Install the link type (org-add-link-type "notmuch" 'org-notmuch-open) (add-hook 'org-store-link-functions 'org-notmuch-store-link) =2D-=20 1.7.4.4 --=-=-= Content-Transfer-Encoding: quoted-printable =2D-=20 Florian Friesdorf GPG FPR: 7A13 5EEE 1421 9FC2 108D BAAF 38F8 99A3 0C45 F083 Jabber/XMPP: flo@chaoflow.net IRC: chaoflow on freenode,ircnet,blafasel,OFTC --=-=-=-- --==-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAEBAgAGBQJNpu6rAAoJEDj4maMMRfCD8yIP/3alMU53meY92yL4IFqrr1en V+6ZIIGs75zx3i6TiyWgTHlKA8i0aB4UL2tB/bqMErE/i29EkVrSNUYxk1AvdAn+ c5LqDoiE29Z3mKfOHCArJNiI9goV7o89uZV9ON6Di2wj9cy1tfrJepIkRcBk+5/z EeOfwjTT9waRKpuTYV9TQ42T/pQkEHRRTEZ0Dj0howyAC5wa6LowR6dtuNjm/RgS 4YSK2RytWSVnpMW+DVF6Q2YznTkeGy4aQxPciqOEF4UFcEDleqhEQtPkuB5Xz0tu iWSnp4Qi9iTIUEa77ZXgMZgfxe7ottzHxfQhhOzhRbkgSwBj+QIJPLN/oUbXpyXZ nZLFvjBuPuuk5hPcLsWIWdtaX8w70mHI0sOLZa1VD/VBhQP8ftqRd42dbhkLav+u BMmgxq6D8NyqGejYz4awYUYJptyn1Qafm5URSoAYmqHgCI3mt/qKHzKm7W1f9qu6 awVkZzQZTnfDgfTT6Pd+HX0NqrXmQCyJyydDW04LUna9+fuDS3KsUGDrMLC7MBPU VSgzzISfbB8OYNnJQGLlJq0bDgArvaoR3eHj3JfUc7kcnSXHwxZu0MwcNKXkinD8 GNa+e7XsRewf5KF9mWW80k5aEGRCoK+TyVAHEptK8bqShu+hFziv0lWUVzONFIQW QwvKjsrjziQ/b4WDDL5f =qQzt -----END PGP SIGNATURE----- --==-=-=--