Questions tagged [transients]
The transients tag has no usage guidance.
7
questions
1
vote
1
answer
27
views
Is it possible to eval code as a transient group description?
I want to customize the title of a transient group based on the value of some variable, my--current-section. The following doesn't work
(transient-define-prefix my--prefix ()
"Sample docstring&...
1
vote
1
answer
44
views
modify existing transient - set some argument "active" by default
I'm trying to modify a transient defined in python-pytest and add some suffix for pytest-django extension. I would like one of my arguments to be "active". It is similar to https://emacs....
0
votes
1
answer
31
views
How can I use 'transients' in 'magit' to enable case-insensitive search? [closed]
I got it working a year ago, then my machine died. I've been unable to figure out the interface to transient.
When I view the levels (green and red, with numbers in them), I hit '-i' but see an error '...
2
votes
1
answer
277
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
1
answer
195
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
0
answers
92
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
0
answers
233
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 ...