all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Basil L. Contovounesios" <contovob@tcd.ie>
To: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
Cc: 35262@debbugs.gnu.org
Subject: bug#35262: Maybe make opening in currently running emacs the default
Date: Sun, 14 Apr 2019 03:25:41 +0100	[thread overview]
Message-ID: <8736mle316.fsf@tcd.ie> (raw)
In-Reply-To: <87ef65eqym.8.fsf@jidanni.org> ("積丹尼 Dan Jacobson"'s message of "Sun, 14 Apr 2019 01:48:49 +0800")

積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:

> Say, most other programs are smart enough to know that
> $ chromium       a.html & #starts chromium
> $ chromium       b.html   #opens b.html in the above running chromium
> $ chromium       c.html   #opens c.html in the above running chromium
>
> Alas, for emacs one still needs
> $ emacs          a.html & #starts emacs
> $ emacsclient -n b.html   #opens b.html in the above running emacs
> $ emacsclient -n c.html   #opens c.html in the above running emacs
> plus one needs server-start...
>
> Anyway maybe the new way should be the default when running in
> X-windows, etc. And maybe even eliminate the need for the & on the
> first line, to be able to type the further lines.

The &, -n, and server-start aren't strictly necessary.  Here's one
alternative:

$ emacs --daemon
$ emacsclient a.html
$ emacsclient b.html
$ emacsclient c.html

And here's another:

$ export ALTERNATE_EDITOR=
$ emacsclient a.html
$ emacsclient b.html
$ emacsclient c.html

It's not clear to me exactly what it is you're asking for, though.  What
is the "new way" you refer to?  Can you please elaborate?

Thanks,

-- 
Basil





  reply	other threads:[~2019-04-14  2:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-13 17:48 bug#35262: Maybe make opening in currently running emacs the default 積丹尼 Dan Jacobson
2019-04-14  2:25 ` Basil L. Contovounesios [this message]
2019-04-14  3:01   ` 積丹尼 Dan Jacobson
2019-04-14 12:59     ` Basil L. Contovounesios
2019-04-16 20:53       ` Glenn Morris

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=8736mle316.fsf@tcd.ie \
    --to=contovob@tcd.ie \
    --cc=35262@debbugs.gnu.org \
    --cc=jidanni@jidanni.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.