If I use an EDITOR of 'emacsclient -c' (This is with Emacs 23, -c
causes it to open the file in new graphical window), and then launch
the sd interactive prompt and do something involving the editor, it
fails with:
Error in editor - exit val = 16777215, signal = 127, coredump? = 128: Bad file descriptor at /usr/local/share/perl/5.10.0/Proc/InvokeEditor.pm line 192.
If I use EDITOR='emacsclient -t' (Open a new editor on the current
terminal), or just 'emacsclient' (Open the file in an existing frame),
it work, as does not using the interactive shell, e.g.
EDITOR='emacsclient -c' git sd config edit
'emacsclient -c' is my default EDITOR, and it works in every other app
I've tried, so I don't really think it's horribly broken.