Emacs expression mode does not recognize commands

I recently upgraded to emacs 24.4 and whenever I try to execute a command while in terms (like C-x C-f

to open a file) it just says C-x C-f is undefined

.

How do I enable commands to run in term mode?

+3


source to share


1 answer


In emacs, term

many keystrokes are disabled to allow programs in the terminal to handle them - most keys involving are C-x

redirected to C-c

eg. C-c C-f

for find-file

.

If you want to use the term

same way shell

, you can switch to "line mode" with C-c C-j

, where keys are processed by emacs. If you want to go back to sending keys directly to the terminal, press C-c C-k

("char mode").



Details are in the manual .

+6


source







All Articles