• =?UTF-8?B?RWRpdG9y4oCZcw==?= Server Mode

    From Lawrence D'Oliveiro@21:1/5 to All on Mon Mar 18 03:30:19 2024
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Kenny McCormack@21:1/5 to ldo@nz.invalid on Mon Mar 18 12:30:11 2024
    In article <ut8cgb$3vskv$1@dont-email.me>,
    Lawrence D'Oliveiro <ldo@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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Johanne Fairchild@21:1/5 to Kenny McCormack on Tue Mar 19 07:32:58 2024
    gazelle@shell.xmission.com (Kenny McCormack) writes:

    In article <ut8cgb$3vskv$1@dont-email.me>,
    Lawrence D'Oliveiro <ldo@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?

    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. :)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)