From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 5E97E6DE0EEA for ; Wed, 6 Nov 2019 05:22:52 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.376 X-Spam-Level: X-Spam-Status: No, score=-0.376 tagged_above=-999 required=5 tests=[AWL=-0.175, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CunF8pDxTNJi for ; Wed, 6 Nov 2019 05:22:48 -0800 (PST) Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by arlo.cworth.org (Postfix) with ESMTPS id EE1006DE0E86 for ; Wed, 6 Nov 2019 05:22:47 -0800 (PST) Received: by mail-wr1-f45.google.com with SMTP id n1so25744101wra.10 for ; Wed, 06 Nov 2019 05:22:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=YibMcJzWM72GslN2ripPllVySo8zVVGQ7Xa2MXsIB9U=; b=Q89B6IDTtnVb0s4oQKl8tn+5f3eg4sjPERvV+ykiy44aPlgU9f2TV4GmklHuBsuJ0w KFxcrbQ9296Nh9oAuP0l6JiLw0fhu//vBDc9PJV32puhll5cPo+4GtsWq12kb3tWBtqD za3HfVHEZp3A9+6fCfrcBHvBfVPQfw88OpqIFyV0KBcfbTtVpv1IKejoXKiLiYNKzHfm LOz6M4JjgzhI9O7H4os3q+JQZRAk5HYMHBSIqK3E+Zm0r34RQ1iQAe3wCt3fONCAtfOl ib9HhEa12hwkgsSOm9XQ1y+k0yZOsMGfR0azQV/JOI5leakYwJ9ZTdNQZorKH1gJScAc y5XQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=YibMcJzWM72GslN2ripPllVySo8zVVGQ7Xa2MXsIB9U=; b=rT44nFVgqUyjF5yVABEBKAECOHudp8EpaB09sOGZemm+A+9FGbMmccVawc8gzm7Mrj vTRJ/Q7mP9bsllmhaA+OFWOYurHNhL4oGLYYUVGKCS+cDd6m8FNpg0QNx2aDuS/mMYGb k0I/lPf1Ct97NhldiMg5E8aqC1Ja/rcU9wt++YxFirHCqFnIpergmYL982uHBL/+sXQg 2zLlTFE3RJIQDkiS+wnKlTtw52JYGn4K0lTij/kMF2iljyztLEx6GWWJmsuEDuSZsCIl BNeb2tvuulhhYSHX6MXwwyc9r2rfqYiDZr7NC025p3k3Jtzc4Fg3CNbPSZkyfOeiceGG 5ruw== X-Gm-Message-State: APjAAAV0hPLPkMncvTbEp8+2YzdJHDLidQ9m15JfKDZni4m1c8LfDN6b g+C0DSbuWKSZNacbQeuo0gZ7km8= X-Google-Smtp-Source: APXvYqyb5iX8aFGmaV5/9vxEZs1j9hCJtOS/yIFor0qm0fFL93UvKcFdPchdiaaQbIBnzWT2187OqQ== X-Received: by 2002:a5d:4808:: with SMTP id l8mr2663062wrq.118.1573046563909; Wed, 06 Nov 2019 05:22:43 -0800 (PST) Received: from localhost (host109-152-6-19.range109-152.btcentralplus.com. [109.152.6.19]) by smtp.gmail.com with ESMTPSA id d199sm2777356wmd.35.2019.11.06.05.22.43 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Nov 2019 05:22:43 -0800 (PST) From: Aren Tyr To: notmuch@notmuchmail.org Subject: Re: notmuch Digest, Vol 121, Issue 1 In-Reply-To: References: Date: Wed, 06 Nov 2019 13:22:38 +0000 Message-ID: <87sgn1m95t.fsf@emacs> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Nov 2019 13:22:52 -0000 > From: Antoine Beaupr? > > 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.