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

Previous Next

Package: emacs;

Reported by: Oleksandr Gavenko <gavenkoa <at> gmail.com>

Date: Wed, 10 Feb 2016 19:52:02 UTC

Severity: normal

Tags: confirmed

Found in versions 24.5, 26.2

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #13 received at control <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> gmail.com>
To: Oleksandr Gavenko <gavenkoa <at> gmail.com>
Cc: 22620 <at> debbugs.gnu.org
Subject: Re: 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).
Date: Fri, 26 Jul 2019 23:49:18 -0400
tags 22620 + confirmed
found 22620 26.2
quit

Oleksandr Gavenko <gavenkoa <at> gmail.com> 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?





This bug report was last modified 3 years and 322 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.