unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: 1298@emacsbugs.donarmstrong.com
Subject: bug#1298: allow 'emacsclient -a "emacs --daemon && emacsclient -c"'
Date: Mon, 08 Dec 2008 11:44:55 -0500	[thread overview]
Message-ID: <jwv4p1ezkjn.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <200812080754.mB87sXSV016391@mothra.ics.uci.edu> (Dan Nicolaescu's message of "Sun, 7 Dec 2008 23:54:33 -0800 (PST)")

>> > How about something like:
>> > emacsclient --start-daemon
>> You mean "emacsclient --start-daemon-if-needed FILENAME" ?
>> Yes, probably something like that.  It could potentially be folded into
>> the alternate-editor (e.g. if alternate-editor has some special value
>> such as the empty string).
> How does the patch below look like?

I'd prefer to combine it with --alternate-editor since the two args are
mutually exclusive.  Have you tried it and it caused problems?

> There's one refinement possible: make --start-daemon-if-needed take an
> argument --start-daemon-if-needed=ARG and use it like this:
> emacs --daemon=ARG

I think this ARG should automatically be taken from the
usual --socket-name argument.


        Stefan






  reply	other threads:[~2008-12-08 16:44 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200812112123.mBBLNGpI001493@mothra.ics.uci.edu>
2008-11-02 18:18 ` bug#1298: allow 'emacsclient -a "emacs --daemon && emacsclient -c"' Dan Nicolaescu
2008-11-18  8:22   ` Dan Nicolaescu
2008-11-18 16:36     ` Stefan Monnier
2008-11-18 18:17       ` Dan Nicolaescu
2008-11-18 21:34         ` Stefan Monnier
2008-11-18 22:19           ` Dan Nicolaescu
2008-11-18 23:01             ` Stefan Monnier
2008-11-18 23:27               ` Dan Nicolaescu
2008-11-19  2:21                 ` Stefan Monnier
2008-12-08  7:54                   ` Dan Nicolaescu
2008-12-08 16:44                     ` Stefan Monnier [this message]
2008-12-08 17:09                       ` Dan Nicolaescu
2008-12-08 20:07                         ` Stefan Monnier
2008-12-08 20:20                           ` Dan Nicolaescu
2008-12-08 21:48                             ` Stefan Monnier
2008-12-09 18:58                               ` Dan Nicolaescu
2008-12-09 19:30                                 ` Juanma Barranquero
2008-12-09 20:07                                 ` Stefan Monnier
2008-12-10  7:58                                   ` Dan Nicolaescu
2008-12-10  9:49                                     ` Juanma Barranquero
2008-12-10 15:03                                       ` Dan Nicolaescu
2008-12-10 15:10                                         ` Juanma Barranquero
2008-12-10 15:29                                           ` Dan Nicolaescu
2008-12-10 15:32                                             ` Juanma Barranquero
2008-12-10 15:43                                               ` Dan Nicolaescu
2008-12-10 15:55                                                 ` Juanma Barranquero
2008-12-11 16:37                                         ` Stefan Monnier
2008-12-11 17:08                                           ` Dan Nicolaescu
2008-12-11 19:05                                             ` Juanma Barranquero
2008-12-11 19:06                                             ` Stefan Monnier
2008-12-11 19:08                                               ` Juanma Barranquero
2008-12-11 19:28                                               ` Dan Nicolaescu
2008-12-11 19:58                                                 ` Juanma Barranquero
2008-12-11 20:39                                                   ` Dan Nicolaescu
2008-12-11 20:48                                                     ` Juanma Barranquero
2008-12-11 20:58                                                 ` Stefan Monnier
2008-11-18 23:01             ` Andreas Schwab
2008-11-18 19:43     ` Eli Zaretskii
2008-12-11 21:25   ` bug#1298: marked as done (allow 'emacsclient -a "emacs --daemon && emacsclient -c"') Emacs bug Tracking System

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=jwv4p1ezkjn.fsf-monnier+emacsbugreports@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=1298@emacsbugs.donarmstrong.com \
    --cc=dann@ics.uci.edu \
    /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).