unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Advice Required
Date: Mon, 27 Oct 2014 08:45:33 -0400	[thread overview]
Message-ID: <jwvoasxheef.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: 21582.5824.834302.348583@mail.eng.it

> - 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	other threads:[~2014-10-27 12:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-27  9:56 Advice Required Gian Uberto Lauri
2014-10-27 12:45 ` Stefan Monnier [this message]
2014-10-27 13:25   ` Gian Uberto Lauri
2014-10-27 13:54     ` Stefan Monnier
2014-10-27 14:11       ` Gian Uberto Lauri
2014-10-27 15:03         ` Stefan Monnier
2014-10-27 15:11           ` Gian Uberto Lauri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvoasxheef.fsf-monnier+gmane.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).