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

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

emacsclient command line use existing client


From: Tory S. Anderson
Subject: emacsclient command line use existing client
Date: Thu, 11 Sep 2014 08:58:44 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

The following are part of a .so file I use to let browser mailto: links open a 
message in Gnus. 

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?  



reply via email to

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