[Top][All Lists]

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

Re: master 192f935 1/3: Add 'define-keymap' and 'defvar-keymap'

From: Lars Ingebrigtsen
Subject: Re: master 192f935 1/3: Add 'define-keymap' and 'defvar-keymap'
Date: Mon, 04 Oct 2021 15:09:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> +@item :copy
>> +If non-@code{nil}, copy this keymap and use it as the basis
>> +(@pxref{Creating Keymaps}).
> Could we remove this option?  I think we shouldn't encourage use of
> `copy-keymap`, and I can't remember the last time I needed to copy
> a keymap: inheritance works as well.

I wanted to have a feature set that would enable rewriting all
-mode-maps without any change in the resulting maps, and `copy-keymap'
is used in a few of them.  So I added it, even though it's obscure to me
why it's being used...

(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

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