Can not switch to line mode in term-mode
wlandry opened this issue · 1 comments
wlandry commented
I start emacs with emacs -Q
and evaluate
(add-to-list 'load-path "/home/boo/ergoemacs-mode/")
(require 'ergoemacs-mode)
(setq ergoemacs-theme nil)
(setq ergoemacs-keyboard-layout "us")
(ergoemacs-mode 1)
Running M-a term
, I am not able to switch to line mode. The menu item is grayed out. If I invoke it manually with C-c M-x term-line-mode
, the terminal does not actually change to line mode. It seems that it has been disabled.
wlandry commented
Looking through the term-mode code, I find this function for determining whether the terminal is in char mode or not.
(defmacro term-in-char-mode () '(eq (current-local-map) term-raw-map))
Since ergoemacs overwrites current-local-map
, this will always be false.