unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Aren Tyr <aren.tyr@gmail.com>
To: notmuch@notmuchmail.org
Subject: Re: notmuch Digest, Vol 121, Issue 1
Date: Wed, 06 Nov 2019 13:22:38 +0000	[thread overview]
Message-ID: <87sgn1m95t.fsf@emacs> (raw)
In-Reply-To: <mailman.1.1572721201.24609.notmuch@notmuchmail.org>

> 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.

           reply	other threads:[~2019-11-06 13:22 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <mailman.1.1572721201.24609.notmuch@notmuchmail.org>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sgn1m95t.fsf@emacs \
    --to=aren.tyr@gmail.com \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).