ssh onto a remote machine from
ansi-term and wish to open various files in Emacs. As I see it, there are two options:
emacs -nw filename- hiding the terminal, opening the file in the current buffer and generally creating all sorts of havoc with the key-bindings
emacs filename- opening in new window
Ideally, I'd like to use
emacs filename to open the file in a separate buffer in the current window. I'm wondering if such a function exists, or if it might be easily written. Between
tramp, the machinery seems to be there.