* Re: notmuch Digest, Vol 121, Issue 1
[not found] <mailman.1.1572721201.24609.notmuch@notmuchmail.org>
@ 2019-11-06 13:22 ` Aren Tyr
0 siblings, 0 replies; only message in thread
From: Aren Tyr @ 2019-11-06 13:22 UTC (permalink / raw)
To: notmuch
> From: Antoine Beaupr? <anarcat@orangeseeds.org>
>
> Wouldn't it be nice if notmuch-emacs-mua would start instead?
>
> Worry not my notmuch friends! I have a solution for you!11!!!
>
> First, you need to drop something like this in /usr/share/applications/notmuch-emacs-mua.desktop
>
> [Desktop Entry]
> Categories=Office;Network;Email;
> Comment=Notmuch mail
> Exec=notmuch-emacs-mua --client --create-frame --auto-daemon %u
> Name=notmuch-emacs-mua
> MimeType=x-scheme-handler/mailto;
> Type=Application
This is great, thank you (And your message was hilarious!).
Works a treat. One question though.
I already run emacs as a server, so I obviously removed the --auto-daemon
switch.
But how do I pass custom emacsclient parameters when calling via
notmuch-emacs-mua? Adding them after the --client switch doesn't work.
Specifically, I run emacs with this command:
emacsclient -nc -s instance1
So the question is, how do I pass the "-nc -s instance1" parameters via
the notmuch-emacs-mua command, so that it loads up my running custom
emacs environment rather than just stock emacs?
e.g. This does not work:
notmuch-emacs-mua --client -nc -s instance1 --create-frame %u
Since the notmuch-emacs-mua knows nothing of the -nc and -s switches.
Thanks
Aren.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-11-06 13:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.1.1572721201.24609.notmuch@notmuchmail.org>
2019-11-06 13:22 ` notmuch Digest, Vol 121, Issue 1 Aren Tyr
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).