[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug in lisp/term.el in cvs version

From: Csaba Henk
Subject: bug in lisp/term.el in cvs version
Date: Sat, 20 Nov 2004 00:41:09 -0700
User-agent: Mutt/1.2.5i


In Emacs CVS version, in term mode, hitting C-c doesn't properly escape
C-x-<something> keybindings. That is, "C-c C-x b" doesn't yield a switch
of buffers, etc.

The following patch fixes this:

--- /tmp/term.el        2004-11-20 00:19:11.505399120 -0700
+++ term.el     2004-11-20 00:18:48.078960480 -0700
@@ -871,6 +871,9 @@
   (setq c (make-string 1 c))
   (define-key term-raw-map c term-raw-escape-map)
   ;; Define standard bindings in term-raw-escape-map
+   ; C-x avant-fitted from old version -- HCs
+    (define-key term-raw-escape-map "\C-x"
+        (lookup-key (current-global-map) "\C-x"))
   (define-key term-raw-escape-map "\C-v"
     (lookup-key (current-global-map) "\C-v"))
   (define-key term-raw-escape-map "\C-u"

In fact, the two lines this patch adds, were lifted from emacs-21.3. I'm
sorry to disturb if it is an intentional omission, but it seems that
this is not the case, as no sensible alternative for the above
funcionality is at the horizon (not at mine, at least, not to speak of
the documentation).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]