GNU bug report logs - #78797
31.0.50; hints in a repeat map cause an error

Previous Next

Package: emacs;

Reported by: Jacek Świerk <jacekswierk <at> gmail.com>

Date: Sun, 15 Jun 2025 09:58:02 UTC

Severity: normal

Fixed in version 31.0.50

Done: Juri Linkov <juri <at> linkov.net>

Full log


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

From: Juri Linkov <juri <at> linkov.net>
To: Jacek Świerk <jacekswierk <at> gmail.com>
Cc: 78797 <at> debbugs.gnu.org
Subject: Re: bug#78797: 31.0.50; hints in a repeat map cause an error
Date: Thu, 19 Jun 2025 09:41:06 +0300
close 78797 31.0.50
thanks

> (defvar-keymap navigation-repeat-map
>   :repeat t
>   "M-n" #'next-line
>   "M-p" #'previous-line)
>
> it displayed just "Repeat with ESC", but after this commit
> correctly displays "Repeat with M-n, M-p".
>
> So we need to decide how to display hints for keys with modifiers.
>
> Without modifiers, it displays "Repeat with *n*ext, *p*revious".
> Maybe with modifiers it could display "Repeat with M-*n*ext, M-*p*revious".
> But what if the character is in the middle of the hint?

Ok, now fixed with the following format:

1. for "n" #'next-line

  "Repeat with [n]ext"

2. for "M-n" #'next-line

  "Repeat with M-n ([n]ext)"




This bug report was last modified 1 day ago.

Previous Next


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