[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/emacs-24 r110872: ansi-term escape-char fix
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/emacs-24 r110872: ansi-term escape-char fix |
Date: |
Wed, 14 Nov 2012 22:17:56 -0800 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 110872
fixes bug: http://debbugs.gnu.org/12842
committer: Glenn Morris <address@hidden>
branch nick: emacs-24
timestamp: Wed 2012-11-14 22:17:56 -0800
message:
ansi-term escape-char fix
* lisp/term.el (ansi-term): Don't let C-x escape-char binding
clobber the more standard C-c binding.
modified:
lisp/ChangeLog
lisp/term.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2012-11-15 01:27:52 +0000
+++ b/lisp/ChangeLog 2012-11-15 06:17:56 +0000
@@ -1,3 +1,8 @@
+2012-11-15 Glenn Morris <address@hidden>
+
+ * term.el (ansi-term): Don't let C-x escape-char binding
+ clobber the more standard C-c binding. (Bug#12842)
+
2012-11-15 Stefan Monnier <address@hidden>
* emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
=== modified file 'lisp/term.el'
--- a/lisp/term.el 2012-11-10 01:48:44 +0000
+++ b/lisp/term.el 2012-11-15 06:17:56 +0000
@@ -4178,11 +4178,16 @@
(term-mode)
(term-char-mode)
- ;; I wanna have find-file on C-x C-f -mm
- ;; your mileage may definitely vary, maybe it's better to put this in your
- ;; .emacs ...
-
- (term-set-escape-char ?\C-x)
+ ;; Historical baggage. A call to term-set-escape-char used to not
+ ;; undo any previous call to t-s-e-c. Because of this, ansi-term
+ ;; ended up with both C-x and C-c as escape chars. Who knows what
+ ;; the original intention was, but people could have become used to
+ ;; either. (Bug#12842)
+ (let (term-escape-char)
+ ;; I wanna have find-file on C-x C-f -mm
+ ;; 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))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/emacs-24 r110872: ansi-term escape-char fix,
Glenn Morris <=