[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bind buffer-modifying keys to `undefined' in buffers where no modifi
Kim F. Storm
Re: bind buffer-modifying keys to `undefined' in buffers where no modification should occur?
Mon, 18 Oct 2004 10:26:35 +0200
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)
"Drew Adams" <address@hidden> writes:
> can you effectively
> unbind a (global) key sequence for a given mode?]
(define-key local-map [remap self-insert-command] 'ignore)
However C-h b doesn't show the effect of this in a very sensible
<remap> <self-insert-command> ignore
This shows three problems with C-h b:
- it should list the actual bindings rather than <remap> ...
- it should not list the unmapped bindings
- it should skip bindings to 'ignore' (effectively omitting
all bindings that don't have any effect).
Kim F. Storm <address@hidden> http://www.cua.dk