[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A different way to interactively pass options to commands
From: |
Lars Ingebrigtsen |
Subject: |
Re: A different way to interactively pass options to commands |
Date: |
Wed, 17 Feb 2021 21:09:32 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Clemens <clemera@posteo.net> writes:
> Adjusting commands on call is traditionally done via universal prefix
> argument. This is mostly nice for numeric repetitions but often it is
> also used to change the behavior of a command in other ways and
> sometimes even multiple ways depending on the number of times `C-u` is
> used.
Yes, `C-u' is the only hammer we have here, unfortunately... (And
adding commands that are variants of each other.)
> The recent discussion around changing `interactive' made me think
> about ways to improve that. Magit has shown a real nice UI approach to
> pass options with its transient menus. Maybe a simpler but similar
> mechanism could be added which could also be configured via
> `interactive'. Any opinions on this?
What does the Magit UI look like?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no