GNU bug report logs - #14397
24.3; <C-kp-1> and <M-kp-1> undefined

Previous Next

Package: emacs;

Reported by: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>

Date: Tue, 14 May 2013 10:43:02 UTC

Severity: normal

Found in version 24.3

Fixed in version 24.4

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 14397 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
Cc: 14397 <at> debbugs.gnu.org
Subject: Re: bug#14397: 24.3; <C-kp-1> and <M-kp-1> undefined
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.




This bug report was last modified 11 years and 167 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.