GNU bug report logs - #12842
24.2.50; ansi-term does not recognize escape sequence

Previous Next

Package: emacs;

Reported by: Marcelo Lacerda <marceloslacerda <at> gmail.com>

Date: Fri, 9 Nov 2012 16:57:02 UTC

Severity: important

Found in version 24.2.50

Fixed in version 24.3

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Glenn Morris <rgm <at> gnu.org>
To: Marcelo Lacerda <marceloslacerda <at> gmail.com>
Cc: 12842 <at> debbugs.gnu.org
Subject: Re: bug#12842: 24.2.50; ansi-term does not recognize escape sequence
Date: Fri, 09 Nov 2012 14:00:35 -0500
Marcelo Lacerda wrote:

> Whenever I try to use a escape sequence in ansi-term "C-c" it is sent
> immediatelly to the shell.
>
> Steps:
>
> emacs -Q RET
> M-x ansi-term RET
> C-c

Thanks for the report. I think this is due to the 2012-05-11 changes to
term-set-escape-char.

term.el does this at top-level:

(term-set-escape-char (or term-escape-char ?\C-c))

M-x ansi-term does this:

(term-set-escape-char ?\C-x)

In Emacs 24.2, the net result is that both C-x and C-c acts as escape
chars in ansi-term. In 24.2.50, the C-x binding replaces the C-c one.
I don't know what the intended ansi-term behaviour was.




This bug report was last modified 12 years and 275 days ago.

Previous Next


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