Questions tagged [transients]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
27 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 ()...
1
vote
1answer
110 views

How to provide a dynamic default value for option in magit transient?

I can define a custom option with: (transient-define-infix my-option-infix () :description "My Option" :class 'transient-option :shortarg "-o" :argument "--my-option=&...
0
votes
1answer
80 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
0answers
51 views

How to kill a transient buffer?

I'm a emacs 28.0.50 user (compiled by my own) and my config is based on spacemacs v0.200.8 I've noticed that, when I'm on a transient buffer and type 'q', the buffer goes away but still in my buffers ...
3
votes
0answers
119 views

How to deal with user arguments with magit transients?

I understand the infix flags work. However, I'm not sure how best to work with argument inputs. I have read the docs as well as looked at some examples from the magit source code but it's still a ...