Subject: Re: bug#14397: 24.3; <C-kp-1> and <M-kp-1> undefined

From: Juri Linkov <[email-masked]>
Date: Thu, 05 Dec 2013 03:28:40 +0200

> Here's a cleaner snippet to achieve the same behaviour, now using
> function-key-map :
>
> (dotimes (i 10)
>   (dolist (prefix (list "M" "C"))
>     (define-key function-key-map
>       (kbd (format "<%s-kp-%s>" prefix i))
>       (kbd (format "%s-%d" prefix i)))))

Do you think the patch from
http://thread.gmane.org/gmane.emacs.devel/153656/focus=153681
will fix your issue?

As I recall the problem was where to define the function `powerset'
used to create all combinations of modifiers C-, M-, S-, etc.

Now that we have `todo-powerset' in lisp/calendar/todo-mode.el
we could use it in lisp/bindings.el.