emacs-devel
[Top][All Lists]
Advanced

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

Re: Moving kbd to subr.el


From: Philip Kaludercic
Subject: Re: Moving kbd to subr.el
Date: Fri, 22 Oct 2021 18:16:52 +0000

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Philip Kaludercic <philipk@posteo.net> writes:
>
>> How come? It could just as well be argued that throwing errors while
>> parsing key bindings is also confusing, especially when guessing that
>> C-f1 is the same C-<f1> isn't that far of a jump.
>
> Because then you end up with code that says
>
> (define-keymap
> ...
> "C-f1" 'some-function
> "C-<f2>" 'other-function)
>
> and the person reading it will then wonder "but what's the difference"?

But doesn't this issue already exist? e.g. kbd parses both "C-c" and
"^C", which might lead to the same confusion ("is one of these for X11
and the other one for TUI Emacs?", they might ask).

-- 
        Philip Kaludercic



reply via email to

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