[Top][All Lists]

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

Re: [eev] eev without the key bindings

From: Alan Schmitt
Subject: Re: [eev] eev without the key bindings
Date: Fri, 21 Mar 2014 07:49:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin)

Eduardo Ochs <address@hidden> writes:

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

Thanks a lot, I'm going to give this a try.


reply via email to

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