unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug in lisp/term.el in cvs version
@ 2004-11-20  7:41 Csaba Henk
  0 siblings, 0 replies; only message in thread
From: Csaba Henk @ 2004-11-20  7:41 UTC (permalink / raw)


Hi!

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).

Cheers,
Csaba

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-11-20  7:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-20  7:41 bug in lisp/term.el in cvs version Csaba Henk

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).