GNU bug report logs -
#35262
Maybe make opening in currently running emacs the default
Previous Next
Full log
View this message in rfc822 format
積丹尼 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.