> Juri Linkov writes: > >> Actually, I can imagine when someone might want to keep a transient map >> active with KEEP-PRED, but still deactivate it after a timeout. So >> a separate TIMEOUT looks cleaner. > > Yup, makes sense. > >> Anyway, repeat-mode has separate options for repeat-exit-timeout >> and constructs a message, so I could copy the same code from repeat-mode >> to set-transient-map. > > Sounds good. 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 ". 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.