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.