unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Reuben Thomas <rrt@sc3d.org>
Cc: 7741@debbugs.gnu.org
Subject: bug#7741: More about folding emacsclient into emacs
Date: Sun, 12 Jul 2015 22:00:16 -0400	[thread overview]
Message-ID: <3owpy4g6kv.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <CAOnWdog6amYaqj6DAXPB-uj77uy1WnOxHeEGcfN4z=Md8ohFyQ@mail.gmail.com> (Reuben Thomas's message of "Fri, 18 Oct 2013 00:11:24 +0100")

Reuben Thomas wrote:

> So again, it would be good if emacsclient were folded into emacs. I just
> had a look at their respective command-line options, and I can't see any
> that clash (where the same option is used for both programs, it's used for
> the same thing).
>
> What would remain is to add options --[no]client to force "emacs" to [not]
> behave as "emacsclient", and decide a sensible default policy. A sensible
> place to start seems to be to behave like emacsclient when called with
> --alternate-editor="", that is, try to connect to a server, and if one
> can't be found, start normally (emacsclient would instead run "emacs
> --daemon" here and try to connect to it).
>
> Regardless of whether anyone feels like hacking on this, I'd like to know
> whether it's a tractable design problem (have I missed anything major?) and
> clikely to be accepted. If so, I might be up for hacking on it.

I had the same thoughts recently and found that, of course, there is
already an open report for it.

So I'm just chiming in very late to say that I agree with pretty much
everything you said, and I would like to see a patch for this.





  reply	other threads:[~2015-07-13  2:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-27 12:39 bug#7741: 23.2.91; Please allow emacs to run emacsclient Reuben Thomas
2011-07-04 11:43 ` Juanma Barranquero
2011-07-04 16:23   ` Reuben Thomas
2011-07-04 17:32     ` Juanma Barranquero
2011-07-04 17:44       ` Reuben Thomas
2011-07-04 17:53         ` Juanma Barranquero
2013-10-17 23:11 ` bug#7741: More about folding emacsclient into emacs Reuben Thomas
2015-07-13  2:00   ` Glenn Morris [this message]
2015-07-13  3:10     ` Vaidheeswaran C
2015-07-13 16:02       ` Eli Zaretskii
2015-07-14  1:25         ` Vaidheeswaran C
2015-07-13 23:07       ` Xue Fuqiao
2015-07-14  1:09         ` Vaidheeswaran C
2015-07-14 23:13           ` Xue Fuqiao
2015-07-13  8:49     ` Reuben Thomas

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=3owpy4g6kv.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=7741@debbugs.gnu.org \
    --cc=rrt@sc3d.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.
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).