Eduardo Ochs <eduardoo...@gmail.com> 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. Best, _______________________________________________ eev mailing list eev@nongnu.org https://lists.nongnu.org/mailman/listinfo/eev