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

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

Re: global-reveal-mode and term.el


From: Stefan Monnier
Subject: Re: global-reveal-mode and term.el
Date: Sun, 27 Mar 2005 09:30:20 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

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

> (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? 

One possibility is to change reveal.el to do:

     (define-key map [remap move-beginning-of-line] 'beginning-of-line)
     (define-key map [remap move-end-of-line] 'end-of-line)


-- Stefan




reply via email to

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