Questions tagged [transient-library]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
20 views

Magit-transient: dynamic choices?

I am trying to make the choices in my transients dynamic but I cannot figure out how. Right now, the choices are only evaluated when loaded. Here's a static example: (define-infix-argument choice-rt ()...
0
votes
1answer
56 views

How to persist a transient to make a command repeatable?

I am converting some of my Hydras to Transient. One of them includes a command with shrinks or enlarges one of my split windows, so I hit it repeatedly until I like my size. How to do this in ...
0
votes
1answer
55 views

Defining a simple transient with a default value

I'm trying to add a very simple transient thus: (transient-define-prefix simple-transient () "A simple transient" ["Arguments" ("-a" "Address (...
0
votes
0answers
16 views

How can I define a new group on an existent transient?

I want to customize the forge-dispatch transient. Specifically I want to add new group, Remote, to the right side of Create. And add the new suffix there. As far as I know, transient-{append,replace}-...
1
vote
1answer
81 views

Can a transient suffix have a value like an infix?

I'm writing a transient for invoking debchange. It has a number of regular options like --multimaint which I am adding infixes for, and then a handful of mutually exclusive options like --append of ...
5
votes
1answer
413 views

How to change the default transient level temporarily? ("Show hidden magit commands")

Many commands that are rarely used in magit are hidden by default. Magit uses the transient.el library for popups and the visibility of infix and suffix commands are controlled by transient-default-...