Does anyone see what's wrong in my attempt to run notmuch in emacs?

My attempt to run notmuch

helm-M-x notmuch: Cannot open load file: Not a directory, notmuch

My .spacemacs

(autoload 'notmuch "notmuch" "notmuch mail" t)

Notmuch installed and running

notmuch 0.28.2

GNU Emacs 26.1

closed as off-topic by Stefan, DoMiNeLa10 Mar 18 at 17:09

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not appear to be about emacs, within the scope defined in the help center." – Stefan, DoMiNeLa10
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    If you have installed notmuch from the git-repository you have to setup your load-path to include the absolute path of the notmuch/emacs directory. – Tobias Mar 15 at 1:29

I had to install notmuch in order to solve the problem. Apparently I only had the [0]notmuch-runtime installed but not [1] notmuch itself.

Installing notmuch with $ sudo pacman -S notmuch was my solution.

[0] https://www.archlinux.org/packages/community/x86_64/notmuch-runtime/

[1] https://www.archlinux.org/packages/community/x86_64/notmuch/

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

  • Please explain, in your answer, how this answers the question. IOW, please elaborate. – Drew Mar 17 at 20:18
  • Can you add more information to your answer? – DoMiNeLa10 Mar 17 at 23:08

Not the answer you're looking for? Browse other questions tagged or ask your own question.