all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
To: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: Change in emacsclient behavior
Date: Sun, 02 Sep 2007 22:34:58 +0200	[thread overview]
Message-ID: <85abs4q00d.fsf@lola.goethe.zz> (raw)
In-Reply-To: <878x7ox224.fsf@jurta.org> (Juri Linkov's message of "Sun\, 02 Sep 2007 23\:14\:05 +0300")

Juri Linkov <juri@jurta.org> writes:

>> I don't think that it makes sense to fantasize a whole bunch of
>> behaviors for emacsclient: emacsclient should be modeled to mimic
>> Emacs itself as closely as possible with regard to command line
>> options and stuff: that way, one does not need half a million of info
>> pages to explain how clever it is.
>
> I agree that emacsclient should mimic emacs as much as possible.
> Maybe even there should be a common wrapper (with a different name)
> for emacs and emacsclient: running it will start emacs if it is
> not started yet or connect to an existing Emacs server.

emacsclient -a emacs

> At least, command line options shouldn't be so different as now,
> e.g. instead of -t, --tty better to use --no-window-system, -nw...

I want to be able to say something like

emacsclient -a emacs -f emerge-files-command file-a file-b file-c

and have it work as expected.  It is not too hard to do if one leaves
the command line parsing mainly to emacs-server and have it set up
(and then consume) command-line-args-left.  The ugly part is probably
rerouting kill-emacs (called in emerge-command-exit) within the Emacs
server.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

  reply	other threads:[~2007-09-02 20:34 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-30 20:50 Change in emacsclient behavior Richard Stallman
2007-08-30 21:04 ` Drew Adams
2007-08-31 18:21   ` Richard Stallman
2007-08-31 18:26     ` Drew Adams
2007-08-30 21:23 ` Eli Zaretskii
2007-08-30 21:41   ` Henrik Enberg
2007-08-31 18:21   ` Richard Stallman
2007-09-01  7:41     ` Eli Zaretskii
2007-09-01  8:26       ` David Kastrup
2007-08-31  6:39 ` Stefan Monnier
2007-08-31  8:06   ` Tassilo Horn
2007-08-31 14:31     ` Stefan Monnier
2007-09-02 18:52     ` Juri Linkov
2007-09-02 19:20       ` David Kastrup
2007-09-02 20:14         ` Juri Linkov
2007-09-02 20:34           ` David Kastrup [this message]
2007-09-02 20:44             ` Tom Tromey
2007-09-03 18:26           ` Richard Stallman
2007-09-02 23:20         ` Manoj Srivastava
2007-09-02 19:34       ` Tassilo Horn
2007-09-02 20:14         ` Juri Linkov
2007-09-03 19:15           ` Tassilo Horn
2007-09-03 15:31       ` Jeremy Maitin-Shepard
2007-09-03 18:26       ` Richard Stallman
2007-09-03 20:37       ` Stefan Monnier
2007-09-03 23:46         ` Juri Linkov
2007-09-04 23:08       ` Davis Herring
2007-09-05 20:02         ` Richard Stallman
2007-09-05 20:34           ` David Kastrup
2007-09-07  6:30             ` Richard Stallman
2007-09-07  7:06               ` David Kastrup
2007-09-08  7:01                 ` Richard Stallman
2007-08-31  8:09   ` David Kastrup
2007-08-31 14:29     ` Stefan Monnier
2007-09-03  5:47 ` Edward O'Connor
2007-09-04  0:56   ` Richard Stallman
2007-09-04  5:56     ` David Kastrup
2007-09-04 22:57       ` Richard Stallman

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=85abs4q00d.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=juri@jurta.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 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.