bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21634: text-scale-adjust suggestion


From: Lars Ingebrigtsen
Subject: bug#21634: text-scale-adjust suggestion
Date: Fri, 01 Jul 2022 11:17:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Juri Linkov <juri@linkov.net> writes:

> We don't need post-command-hook here - this leaves us with just
> set-transient-map.  As was already suggested, we need either
> to add a new optional arg TIMEOUT to set-transient-map,
> or allow a number of seconds in the existing arg KEEP-PRED.
>
> Then another question is how the users could customize the timeout.
> One variable to customize timeout for all commands that use
> set-transient-map?  Or separate variables for every command:
> one for indent-rigidly, one for text-scale-adjust?

I think one variable for the timeout would be sufficient, and a value of
(say) `timeout' for KEEP-PRED could instruct set-transient-map to use
that timeout, perhaps?

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]