[Top][All Lists]

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

Re: emacsclient command line use existing client

From: Tory S. Anderson
Subject: Re: emacsclient command line use existing client
Date: Fri, 19 Sep 2014 13:12:23 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

*sigh* still no go. I've put the full path in the calls everywhere, and I've 
named the server "server" instead of "emacs-client" (you were right; that was 
one problem). When I use a shortcut that calls just the "emacs-client -c" it 
opens, attached to "server" (with all the same buffers still available). When I 
go to the start menu and find "emacs client", it is also working appropriately. 
However, when I hit ~/ from my Firefox, it launches a new server. 
Adding the fully qualified path, and/or "-s server" doesn't change this. 

$ whereis emacsclient
emacsclient: /usr/bin/emacsclient /usr/share/man/man1/emacsclient.1.gz

I have only one location. Is there some reason that .so script (I could just as 
well rename it to .sh) is opening it as a new server? 

GNU Emacs 24.3.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.10.9) of 2014-08-18 
Fedora 20 x64 in KDE

<< full contents of >>
# emacs-mailto-handler

mailto=$(printf '%s\n' "$mailto" | sed -e 's/[\"]/\\&/g')
elisp_expr="(mailto-compose-mail \"$mailto\")"

/usr/bin/emacsclient -a "" -c -n -s "$emacs_server" --eval "$elisp_expr" \
        '(set-window-dedicated-p (selected-window) t)'

reply via email to

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