Version 3.3.0 of package With-Editor has just been released in NonGNU ELPA. You can now find it in M-x list-packages RET.
With-Editor describes itself as: ============================== Use the Emacsclient as $EDITOR ============================== More at https://elpa.nongnu.org/nongnu/with-editor.html ## Summary: 1 With-Editor ═════════════ This library makes it possible to reliably use the Emacsclient as the `$EDITOR' of child processes. It makes sure that they know how to call home. For remote processes a substitute is provided, which communicates with Emacs on standard output/input instead of using a socket as the Emacsclient does. ## Recent NEWS: [Not available 🙁]