unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Mathias Dahl" <mathias.dahl@gmail.com>
To: "Stefan Monnier" <monnier@iro.umontreal.ca>
Cc: "Lennart Borgman \(gmail\)" <lennart.borgman@gmail.com>,
	emacs-devel@gnu.org
Subject: Re: How to get "emacsclient --eval x" to DWIM when Emacs is not started
Date: Mon, 31 Mar 2008 09:44:14 +0200	[thread overview]
Message-ID: <7dbe73ed0803310044h9fcec7bw729dda4a15cc2fd6@mail.gmail.com> (raw)
In-Reply-To: <jwv8wzzg787.fsf-monnier+emacs@gnu.org>

>  I think it would be a good change for emacsclient to auto-start an Emacs
>  server if the server is not running yet.

When Emacs is used as alternate editor, why can't emacsclient simply
wait until it is started and then try doing the eval the user
requested with --eval? I already have (server-start) in my .emacs so
there is no need for emacsclient to start it.




  parent reply	other threads:[~2008-03-31  7:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-30 20:09 How to get "emacsclient --eval x" to DWIM when Emacs is not started Mathias Dahl
2008-03-30 20:21 ` Lennart Borgman (gmail)
2008-03-30 21:45   ` Mathias Dahl
2008-03-30 21:52     ` Lennart Borgman (gmail)
2008-03-30 22:06       ` Mathias Dahl
2008-03-30 22:33         ` Lennart Borgman (gmail)
2008-03-30 22:49   ` Stefan Monnier
2008-03-30 22:55     ` Lennart Borgman (gmail)
2008-03-30 23:24       ` Juanma Barranquero
2008-03-31  7:44     ` Mathias Dahl [this message]
2008-03-31  7:49       ` Lennart Borgman (gmail)

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=7dbe73ed0803310044h9fcec7bw729dda4a15cc2fd6@mail.gmail.com \
    --to=mathias.dahl@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=lennart.borgman@gmail.com \
    --cc=monnier@iro.umontreal.ca \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).