GNU bug report logs - #35262
Maybe make opening in currently running emacs the default

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Sun, 14 Apr 2019 01:57:01 UTC

Severity: wishlist

Tags: confirmed

Merged with 7741, 22725

Found in versions 23.2.91, 24.5

Full log


Message #12 received at 35262 <at> debbugs.gnu.org (full text, mbox):

From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 35262 <at> debbugs.gnu.org
Subject: Re: bug#35262: Maybe make opening in currently running emacs the
 default
Date: Sun, 14 Apr 2019 03:25:41 +0100
積丹尼 Dan Jacobson <jidanni <at> 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




This bug report was last modified 6 years and 62 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.