unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Marcelo Lacerda <marceloslacerda@gmail.com>
Cc: 12842@debbugs.gnu.org
Subject: bug#12842: 24.2.50; ansi-term does not recognize escape sequence
Date: Fri, 09 Nov 2012 14:45:04 -0500	[thread overview]
Message-ID: <pytxsymugv.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <oed2zm8uuk.fsf@fencepost.gnu.org> (Glenn Morris's message of "Fri, 09 Nov 2012 14:00:35 -0500")


I suppose this change will bring back the traditional ansi-term
behaviour. The other option is to remove this term-set-escape-char call
altogether (then we get the same bug report from someone used to the C-x
binding).

*** lisp/term.el	2012-09-27 07:05:37 +0000
--- lisp/term.el	2012-11-09 19:41:36 +0000
***************
*** 4180,4186 ****
    ;; your mileage may definitely vary, maybe it's better to put this in your
    ;; .emacs ...
  
!   (term-set-escape-char ?\C-x)
  
    (switch-to-buffer term-ansi-buffer-name))
  
--- 4180,4187 ----
    ;; your mileage may definitely vary, maybe it's better to put this in your
    ;; .emacs ...
  
!   (let (term-escape-char)
!     (term-set-escape-char ?\C-x))
  
    (switch-to-buffer term-ansi-buffer-name))





  reply	other threads:[~2012-11-09 19:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-09  9:35 bug#12842: 24.2.50; ansi-term does not recognize escape sequence Marcelo Lacerda
2012-11-09 19:00 ` Glenn Morris
2012-11-09 19:45   ` Glenn Morris [this message]
2012-11-15  6:18     ` Glenn Morris

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=pytxsymugv.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=12842@debbugs.gnu.org \
    --cc=marceloslacerda@gmail.com \
    /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).