all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Setting key bindings in view-mode-hook
@ 2005-11-27  3:26 Bill Wohler
  2005-11-27 16:57 ` Drew Adams
  2005-11-27 19:36 ` Richard M. Stallman
  0 siblings, 2 replies; 9+ messages in thread
From: Bill Wohler @ 2005-11-27  3:26 UTC (permalink / raw)


I'd like to bind "q" in `view-mode' to `View-kill-and-leave'.

I customized view-mode-hook with

  (lambda nil (local-set-key "q" (quote View-kill-and-leave)))

However, "C-h c q" in a buffer in view mode still shows View-quit.

What gives? How come my setting isn't honored?

This is in recent CVS snapshot of Emacs 22, but a quick check reveals
that this Emacs 21 shows the same behavior.

-- 
Bill Wohler <wohler@newt.com>  http://www.newt.com/wohler/  GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.

^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <mailman.15844.1132359525.20277.help-gnu-emacs@gnu.org>]
* Setting key bindings in view-mode-hook
@ 2005-11-18 23:26 Bill Wohler
  0 siblings, 0 replies; 9+ messages in thread
From: Bill Wohler @ 2005-11-18 23:26 UTC (permalink / raw)


I'd like to bind "q" in `view-mode' to `View-kill-and-leave'.

I customized view-mode-hook with

  (lambda nil (local-set-key "q" (quote View-kill-and-leave)))

However, "C-h c q" in a buffer in view mode still shows View-quit.

What gives? How come my setting isn't honored?

This is in recent CVS snapshot of Emacs 22, but a quick check reveals
that this Emacs 21 shows the same behavior.

-- 
Bill Wohler <wohler@newt.com>  http://www.newt.com/wohler/  GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-12-01  0:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-27  3:26 Setting key bindings in view-mode-hook Bill Wohler
2005-11-27 16:57 ` Drew Adams
2005-11-27 19:03   ` Bill Wohler
2005-11-27 19:36 ` Richard M. Stallman
2005-11-27 19:49   ` Bill Wohler
2005-11-28  4:46     ` Richard M. Stallman
2005-12-01  0:50     ` Drew Adams
     [not found] <mailman.15844.1132359525.20277.help-gnu-emacs@gnu.org>
2005-11-19  0:50 ` Johan Bockgård
  -- strict thread matches above, loose matches on Subject: below --
2005-11-18 23:26 Bill Wohler

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.