Re: ## error when running notmuch from emacsclient, but not from standalone emacs instance

Subject: Re: ## error when running notmuch from emacsclient, but not from standalone emacs instance

Date: Wed, 18 Jan 2023 15:55:35 +0100

To: David Bremner

Cc: ricardomartins@riseup.net, notmuch@notmuchmail.org

From: Michael J Gruber


Am Mi., 18. Jan. 2023 um 15:40 Uhr schrieb David Bremner <david@tethera.net>:
>
> ricardomartins@riseup.net writes:
>
> >
> > When I try to run notmuch from the emacsclient instance (M-x notmuch
> > <RET>), I get an error
> > "notmuch count --batch failed
> > Please check that the notmuch CLI is new enough to support `count
> > --batch'. In general we recommend running matching versions of
> > the CLI and emacs interface."
> >
>
> I agree it is strange strange to have problems only affecting
> emacsclient. The only thing I can think of off hand is that starting
> emacsclient does not reload the emacs initialization file, so make sure
> you run both experiments with a fresh restart of emacs.
>
> What is the output of M-x notmuch-version for both emacsclient and emacs?

... and how are you starting the emacs server? Depending on that,
server and standalone may get a different PATH from the environment so
that one uses the system notmuch and the other your personal install.
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: