emacs-pretest-bug
[Top][All Lists]
Advanced

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

global-reveal-mode and term.el


From: Dan Nicolaescu
Subject: global-reveal-mode and term.el
Date: Sat, 26 Mar 2005 19:01:22 -0800

It seems that global-reveal-mode conflicts with the C-a and C-e key
bindings in term.el

emacs -Q
M-x term RET RET

C-c M-x describe-key RET C-a RET

C-a runs the command term-send-raw


But after doing:
M-x global-reveal-mode RET 

The key binding changes to:
C-a runs the command beginning-of-line

Indeed reveal.el has this code (added on 2004-11-22):

(defvar reveal-mode-map
  (let ((map (make-sparse-keymap)))
    ;; Override the default move-beginning-of-line and move-end-of-line
    ;; which skips valuable invisible text.
    (define-key map [?\C-a] 'beginning-of-line)
    (define-key map [?\C-e] 'end-of-line)
    map))

It is desirable that C-a and C-e are bound to term-send-raw for
term.el
I am not sure how to fix this. Can somebody please take a look? 

Thanks.  

                --dan




reply via email to

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