GNU bug report logs -
#55301
Wishlist: Customize should have a way to edit keymaps
Previous Next
Full log
Message #41 received at 55301 <at> debbugs.gnu.org (full text, mbox):
>>>>> On Mon, 9 May 2022 11:02:20 +0100, Phil Hudson <phil.hudson <at> iname.com> said:
Phil> On Mon, 9 May 2022 at 10:54, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:
>>
>> Phil Hudson <phil.hudson <at> iname.com> writes:
>>
>> > How about ":type '(alist :key-type key-sequence :value-type function)"?
>>
>> Like I said, that wouldn't be very useful, because people don't want the
>> entire keymap in their .emacs files anyway.
Phil> Isn't that exactly the right place for declarative personal preferences?
Yes, but if a keymap were a defcustom, then the whole keymap would be
in your .emacs, and you would not receive any updates if the keymap
definition changed, since that affects the *default* defcustom value.
Now if you wanted to define a defcustom type for changing bindings in an
existing keymap, thatʼs a different proposition (and we already have
define-key, so Iʼm not so sure of the utility).
Robert
--
This bug report was last modified 3 years and 4 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.