help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Advice Required


From: Stefan Monnier
Subject: Re: Advice Required
Date: Mon, 27 Oct 2014 08:45:33 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> - the calling script launches ediff and then attempts to read from a
>   named pipe and blocks until input is available
> - the advice after ediff-quit sends a character to the named pipe and
>   un-blocks the read operation

You might get the same result more simply by doing something like

    emacsclient --eval '(progn (ediff-merge-files-with-ancestor ...) 
(recursive-edit))'

Then emacsclient will only return when you exit the recursive edit
(i.e. when something runs (throw 'exit <value>) which you could add to
ediff's exit hook).


        Stefan




reply via email to

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