On Mon, Feb 18, 2013 at 04:39:35PM +0100, Rainer M Krug wrote: > On 18/02/13 16:23, Suvayu Ali wrote: > > On Mon, Feb 18, 2013 at 04:05:26PM +0100, Rainer M Krug wrote: > >> On 18/02/13 15:42, David Bremner wrote: > >>> Rainer M Krug <r.m.krug-re5jqeeqqe8avxtiumw...@public.gmane.org> writes: > >>>> > >>>>> By the way, the library org-notmuch distributed with org-mode should > >>>>> make it easy to > >>>>> link into notmuch. > >>>> > >>>> Then I probably haven't loaded org-notmuch properly? What do I have to > >>>> put into my > >>>> .emacs file to load it properly? > >>>> > >>> > >>> I put what I know at > >>> > >>> http://notmuchmail.org/emacstips/#index24h2 > >> > >> Thanks - got it working under Ubuntu. One thing: in my org from git, > >> org-notmuch is in > >> .../org-mode/contrib/lisp and not .../lisp > > > > My following comment is probably OT, but still ... > > > > If you install org-mode from git following the instructions from the > > Makefile, then you should > > be putting something like the following in your local.mk. > > > > # Define if you want to include some (or all) files from contrib/lisp # > > just the filename > > please (no path prefix, no .el suffix), maybe with # globbing > > ORG_ADD_CONTRIB = org-notmuch > > > > If you do that, then David's instructions are accurate. > > Ok - what is the advantage of doing so? > > I usually prefer to have all my config in one file (here emacs.org) so I > don't have to remember > what I have to change where? >
This way make knows about it and compiles the contrib libraries you use. Also you do not have unnecessary libraries in your load-path. Since Achim is the expert, he will be able to tell you more. -- Suvayu Open source is the future. It sets us free.