[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 ~/email.so 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?
Running:
GNU Emacs 24.3.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.10.9) of 2014-08-18
on buildvm-21.phx2.fedoraproject.org
Fedora 20 x64 in KDE
<< full contents of email.so >>
-------------------------------
#!/bin/sh
# emacs-mailto-handler
mailto=$1
mailto="mailto:${mailto#mailto:}"
mailto=$(printf '%s\n' "$mailto" | sed -e 's/[\"]/\\&/g')
emacs_server="server"
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)'
- emacsclient command line use existing client, Tory S. Anderson, 2014/09/11
- Re: emacsclient command line use existing client, Michael Heerdegen, 2014/09/11
- Re: emacsclient command line use existing client, Thorsten Jolitz, 2014/09/12
- Re: emacsclient command line use existing client, Tory S. Anderson, 2014/09/12
- RE: emacsclient command line use existing client, Subhan Michael Tindall, 2014/09/12
- Re: emacsclient command line use existing client, Harry Putnam, 2014/09/13
- Re: emacsclient command line use existing client, Oliver Kappel, 2014/09/15
- Re: emacsclient command line use existing client, Tory S. Anderson, 2014/09/15
- Re: emacsclient command line use existing client, Michael Heerdegen, 2014/09/15
- Re: emacsclient command line use existing client, Oliver Kappel, 2014/09/15
- Re: emacsclient command line use existing client,
Tory S. Anderson <=
- RE: emacsclient command line use existing client, Subhan Michael Tindall, 2014/09/19
- Re: emacsclient command line use existing client, Tory S. Anderson, 2014/09/19
- Re: emacsclient command line use existing client, Charles Philip Chan, 2014/09/19
- Re: emacsclient command line use existing client, Tory S. Anderson, 2014/09/20
- Re: emacsclient command line use existing client, Charles Philip Chan, 2014/09/20
- Re: emacsclient command line use existing client, Tory S. Anderson, 2014/09/20
- Re: emacsclient command line use existing client, Charles Philip Chan, 2014/09/21
- Re: emacsclient command line use existing client, Charles Philip Chan, 2014/09/21
- Re: emacsclient command line use existing client, Tory S. Anderson, 2014/09/22