Subject: Re: bug#21634: text-scale-adjust suggestion

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 04 Jul 2022 12:51:25 +0200

Juri Linkov <[email-masked]> writes:

> Maybe something like this.  I'm still unsure about providing a prefix
> message without keys, because when the message arg is a string
> then better to display it as is.  Otherwise when it is `t', then
> the message will be constructed to "Repeat with <keys...>".
> I.e. the remaining question is that you already raised whether
> typically all keys should be mentioned in the message.
>
> OTOH, there are messages like "Use \\`+',\\`-',\\`0' for further adjustment"
> have not only a prefix, but also a suffix.

Perhaps the MESSAGE should be a format-spec string?  So the caller could
say "Use %k for further adjustment" and have the keymap description
inserted at the %k.  That should be plenty flexible.

Looks good otherwise.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no