[Top][All Lists]

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

Re: [eev] eev without the key bindings

From: Eduardo Ochs
Subject: Re: [eev] eev without the key bindings
Date: Thu, 20 Mar 2014 17:12:54 -0300

Hi Alan, thanks for the feedback...

I used to try to make easy to load eev with a reduced keymap, like
this - note that when an eev-mode-map already exists eev-mode.el
doesn't override it...

  ;; See: (find-eevfile "eev-mode.el")
  (setq eev-mode-map (make-sparse-keymap))
  (define-key eev-mode-map "\M-e" 'ee-eval-sexp-eol)
  (define-key eev-mode-map "\M-k" 'ee-kill-this-buffer)
  (define-key eev-mode-map "\M-K" 'bury-buffer)
  (define-key eev-mode-map "\M-j" 'eejump)

  ;; Load eev2.
  ;; See:  (find-file "~/eev-current/")
  ;;       (find-file "~/eev-current/eev-readme.el")
  ;; Generated by: (find-eev-update-links "~/eev-current/")
  (add-to-list 'load-path "~/eev-current/")
  (require 'eev2-all)                 ; (find-eev "eev2-all.el")
  (eev-mode 1)                        ; (find-eev "eev-mode.el")

We can inspect the resulting eev-mode-map with:

  ;; (find-efunctiondescr 'eev-mode)
  ;; (find-eminorkeymapdescr 'eev-mode)

...but bad news: it got just a bit smaller, because I've been
spreading "(define-key eev-mode-map ...)"s carelessly through the code
for the last year or so, as can be seen by running this...

  ;; (find-eevgrep "grep -nH -e eev-mode-map *.el")

I'll fix this over the next few days! A temporary solution is to use
eev with eev-mode turned off, and bind the keys you like into another
keymap, but that's ugly...

More soon! Thanks again, if it weren't by your message I wouldn't
remember that fixing the keymap thing should be a priority... =(

  Cheers =),
    Eduardo Ochs

On Thu, Mar 20, 2014 at 12:41 PM, Alan Schmitt <address@hidden> wrote:

I stopped using eev because it was using too many key bindings I'm very
much used to. There are several feature I very much like in eev, and
I was wondering if it was possible to load it without loading the
key bindings.

Thanks a lot,


eev mailing list

reply via email to

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