Discussion:
Editor’s Server Mode
(too old to reply)
Lawrence D'Oliveiro
about a year ago
Permalink
It can be helpful for GUI-based editors, like Emacs, to offer a “server
mode”. What this means is, instead of starting it up for every file you
want to edit, you leave it running, and use another command to tell it via
IPC to open selected files for editing. Such a command can be added as a
custom right-click menu item in common file managers, so you can just do
“Open In Editor” on any file while browsing directories.

In Emacs, this is done with the “emacsclient” command. This can be invoked
in blocking mode (wait until Emacs signals the edit is done before
proceeding), or non-blocking mode as “emacsclient -n”, where it just tells
Emacs to open the file and then immediately exits.

The latter is the natural one to use for such GUI invocation, though the
former one has its uses.
Kenny McCormack
about a year ago
Permalink
In article <ut8cgb$3vskv$***@dont-email.me>,
Lawrence D'Oliveiro <***@nz.invalid> wrote:
...
In Emacs, this is done with the emacsclient command. This can be invoked
in blocking mode (wait until Emacs signals the edit is done before
proceeding), or non-blocking mode as emacsclient -n, where it just tells
Emacs to open the file and then immediately exits.
The latter is the natural one to use for such GUI invocation, though the
former one has its uses.
I'm sorry. Your editor-related question was?
--
Men rarely (if ever) manage to dream up a God superior to themselves.
Most Gods have the manners and morals of a spoiled child.
Johanne Fairchild
about a year ago
Permalink
Post by Kenny McCormack
...
In Emacs, this is done with the emacsclient command. This can be invoked
in blocking mode (wait until Emacs signals the edit is done before
proceeding), or non-blocking mode as emacsclient -n, where it just tells
Emacs to open the file and then immediately exits.
The latter is the natural one to use for such GUI invocation, though the
former one has its uses.
I'm sorry. Your editor-related question was?
This is the USENET, not a question-and-answer website. I don't know
what the OP's purpose was, but he can post his thoughts on whatever he
wants. He seems to be sharing his preference for the emacsclient -n,
perhaps hoping someone would engage in conversation.

But, like you, I also have nothing to say. :)

Loading...