Sometimes I need to issue a remote command which uses $EDITOR to pick the, well, editor (think git commit for example). Is it possible to use the local emacs session to open it via, for example, port forwarding (I have tramp installed)?
Setting `$EDITOR` to open file in local emacs session
emacs;remote