emacs-devel
[Top][All Lists]
Advanced

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

grep-mode-map & compilation-minor-mode-map


From: Sam Steingold
Subject: grep-mode-map & compilation-minor-mode-map
Date: Wed, 07 May 2008 15:40:28 -0400
User-agent: Thunderbird 2.0.0.0 (X11/20070326)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

1. grep.el uses (cons 'keymap compilation-minor-mode-map) instead of
more "abstract"
~  (let ((map (make-sparse-keymap)))
~    (set-keymap-parent map compilation-minor-mode-map)
is there a specific reason for that?

2. is it OK to add these to compilation-minor-mode-map?
~  (define-key map "g" 'recompile) ; revert
~  (define-key map "q" 'quit-window)
they appear to be rather standard for non-self-insert buffers and rather
useful as well.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIIgWsPp1Qsf2qnMcRAmEEAJ96ptWzD3bK+v7HbK0m+hVAx5iP5ACeJab9
Mcljr4rhE7dlQn8I+e4XVtM=
=w4T2
-----END PGP SIGNATURE-----





reply via email to

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