all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Reuben Thomas <rrt@sc3d.org>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: 7741@debbugs.gnu.org
Subject: bug#7741: 23.2.91; Please allow emacs to run emacsclient
Date: Mon, 4 Jul 2011 17:23:36 +0100	[thread overview]
Message-ID: <CAOnWdojsHjODBgVLwcPs_Y6qt7beMs-+HuiDsgOiOH_v8jwCEQ@mail.gmail.com> (raw)
In-Reply-To: <CAAeL0STWEdopP72mKPV3OQZUJwq2E7jFyBSvn+UheLoQjpO0dA@mail.gmail.com>

On 4 July 2011 12:43, Juanma Barranquero <lekktu@gmail.com> wrote:
> On Mon, Dec 27, 2010 at 13:39, Reuben Thomas <rrt@sc3d.org> wrote:
>
>> It would be
>> nice if emacs did the same, i.e. if emacs had a -client flag which made
>> it work like emacsclient. Even if it did something as simple as passing
>> the remaining arguments to emacsclient.
>
> Isn't that the kind of thing that's easily done with a shell script?
> (I certainly do much more complicated things to start emacs /
> emacsclient with Windows' CMD.EXE, which is far less powerful that any
> POSIX shell...)

Of course, a shell script could do the task, it just would be good to
have out of the box. Given the amount of effort that has already gone
into making it possible to use emacsclient (e.g. ALTERNATE_EDITOR and
its magic behavior when it exists but is empty), it seems worth
pursuing making things simpler. Here, I'm after a solution that means
that one can set EDITOR=emacs, and it will just DTRT, i.e. start Emacs
if not already started, or use emacsclient otherwise.

All the required behavior already exists, but it's still necessary to
use emacsclient and set up some environment variables to make it all
work; it should be possible to do pretty much everything out of the
box, which would give users who don't have the time or expertise to
set everything up access to the same convenience and functionality.

-- 
http://rrt.sc3d.org





  reply	other threads:[~2011-07-04 16:23 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 [this message]
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
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

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

  git send-email \
    --in-reply-to=CAOnWdojsHjODBgVLwcPs_Y6qt7beMs-+HuiDsgOiOH_v8jwCEQ@mail.gmail.com \
    --to=rrt@sc3d.org \
    --cc=7741@debbugs.gnu.org \
    --cc=lekktu@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.