I'm using emacs
on MacOS (v11.4 Big Sur) installed from homebrew-emacs-plus and, every time I want to open a file for a quick edit on the terminal (on iTerm2
) using emacsclient
, a character gets inserted at the beginning the file (please check the attached image).
Other function keys like delete
also insert sequences like [3~]
and, I know there must be a simple solution I can find a direct reference to this.
How can I fix this so that I can do quick edits on directly on my terminal?
Regards,
emacs -q
and then start the server withM-x emacs-server
and then try to edit a file withemacsclient <filename>
, do you get the extra characters?emacs -q
, throws some other errors but, opening withopen -a Emacs --args -q
, starting the server and then editing a file in the terminal do not inserts any other char!