unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Oleksandr Gavenko <gavenkoa@gmail.com>
To: 22620@debbugs.gnu.org
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).
Date: Wed, 10 Feb 2016 19:56:34 +0200	[thread overview]
Message-ID: <87y4aspcnb.fsf@gavenkoa.example.com> (raw)

In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.2)
 of 2015-10-24 on trouble, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11702000
System Description:	Debian GNU/Linux testing (stretch)

I use convenient script for invoking Emacs in terminal as if it was "vi"
(because I hate a way vi works):

  http://hg.defun.work/utils/file/tip/emacs/e

which is actually call:

  emacsclient -t

Today I try to use "hg record" to select diff hunks manually inside M-x term
(instead of xterm).

My EDITOR=et which is above "emacsclient -t".

After entering to Emacs inside Emacs terminal emulation I can't save file or
iterate over buffers. For all commands with "C-x" prefix I see:

  C-x C-s is undefined
  C-x C-c is undefined

in outer Emacs (that was in X Window). So key sequences doesn't reach Emacs
inside Emacs terminal emulator.

After bisecting I found that with X Emacs:

  $ emacs -q

after evaluating:

  (global-hi-lock-mode 1)

and entering to "M-x term" Emacs in term-mode can't handle "C-x" sequences.

My 3 kLOC .emacs file with commented:

  (global-hi-lock-mode 1)

work fine.

-- 
http://defun.work/





             reply	other threads:[~2016-02-10 17:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-10 17:56 Oleksandr Gavenko [this message]
     [not found] ` <handler.22620.B.14551338951272.ack@debbugs.gnu.org>
2016-02-10 20:19   ` bug#22620: Acknowledgement (24.5; "(global-hi-lock-mode 1)" broke "C-x" key bindings inside "M-x term", especially for "emacs -nw" (Emacs inside Emacs).) Oleksandr Gavenko
2019-07-27  3:49     ` 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) Noam Postavsky
2021-07-08  1:25       ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y4aspcnb.fsf@gavenkoa.example.com \
    --to=gavenkoa@gmail.com \
    --cc=22620@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).