[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to use emacs as a "diff3 -m" compatible merge tool?

From: Emanuel Berg
Subject: Re: How to use emacs as a "diff3 -m" compatible merge tool?
Date: Tue, 14 Jun 2022 12:06:04 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Tassilo Horn wrote:

>>> "emacsclient <file>" exits on `server-edit' (C-x #) (or
>>> goes to the next buffer if more than one file were
>>> specified on the command line) but won't make emacs itself
>>> exit. So there is an exit code for emacsclient but it seem
>>> one cannot influence it.
>> OK, but is that hooked to whatever adheres to the interface
>> you showed,
> No, it's independent of my specific use-case but would be
> nice to have in general in scripting scenarios, i.e., where
> a script/program invokes emacsclient in order to let the
> user edit something where the user should be able to
> propagate back to the calling program if his edits were
> successfully completed or aborted.


  (server-send-string (car server-buffer-clients) "-error die")


underground experts united

reply via email to

[Prev in Thread] Current Thread [Next in Thread]