unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: torys.anderson@gmail.com (Tory S. Anderson)
To: emacs list <help-gnu-emacs@gnu.org>
Subject: emacsclient command line use existing client
Date: Thu, 11 Sep 2014 08:58:44 -0400	[thread overview]
Message-ID: <87zje671q3.fsf@gmail.com> (raw)

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	other threads:[~2014-09-11 12:58 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-11 12:58 Tory S. Anderson [this message]
2014-09-12  2:42 ` emacsclient command line use existing client Michael Heerdegen
2014-09-12  7:43   ` Thorsten Jolitz
2014-09-12 12:16   ` Tory S. Anderson
2014-09-12 13:42     ` Oliver Kappel
2014-09-15 11:22       ` Tory S. Anderson
2014-09-15 12:04         ` Michael Heerdegen
2014-09-15 12:28         ` Oliver Kappel
2014-09-19 17:12           ` Tory S. Anderson
2014-09-19 17:38             ` Subhan Michael Tindall
2014-09-19 17:44               ` Tory S. Anderson
2014-09-20  2:14             ` Charles Philip Chan
2014-09-20 10:42               ` Tory S. Anderson
2014-09-20 11:35                 ` Charles Philip Chan
2014-09-20 13:04                   ` Tory S. Anderson
2014-09-21  1:32                     ` Charles Philip Chan
2014-09-21  1:32                     ` Charles Philip Chan
2014-09-22 18:53                       ` Tory S. Anderson
2014-09-12 16:28     ` Subhan Michael Tindall
2014-09-13 17:29     ` Harry Putnam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zje671q3.fsf@gmail.com \
    --to=torys.anderson@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).