help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacsclient command line use existing client


From: Michael Heerdegen
Subject: Re: emacsclient command line use existing client
Date: Fri, 12 Sep 2014 04:42:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

torys.anderson@gmail.com (Tory S. Anderson) writes:

> elisp_expr="(mailto-compose-mail \"$mailto\")"
>
> emacsclient -a "" -c -n --eval "$elisp_expr" \
>       '(set-window-dedicated-p (selected-window) t)'
>
> But somehow when I run this it starts a new emacsclient rather than
> using the one I have running. If I remove the `-a ""` then nothing
> happens at all. Why won't it connect to my existing emacsclient?

What exactly do you mean with "existing emacsclient"?  You must have a
running server.  A running Emacs is not enough.

Michael.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]