Subject: bug#22620: 24.5; "(global-hi-lock-mode 1)" broke "C-x" key bindings inside "M-x term", especially for "emacs -nw" (Emacs inside Emacs).

From: Noam Postavsky <[email-masked]>
Date: Fri, 26 Jul 2019 23:49:18 -0400

tags 22620 + confirmed
found 22620 26.2
quit

Oleksandr Gavenko <[email-masked]> writes:

>   (global-hi-lock-mode 1)
>
> again broke "C-x" prefix.

Yes, the problem is that hi-lock-mode defines keys using the C-x prefix,
and it is a minor mode so it overrides term.el's major mode binding of
C-x to term-send-raw.  It's not immediately clear to me what the correct
fix is though.

I guess we could add term-mode to hi-lock-exclude-modes?