Questions tagged [transient-library]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers

Unknown fix for error: cl--generic-build-combined-method: Cyclic definition: %S: loadhist-unload-element

I'm using emacs 27.2 and magit version 20231109.935. When I'm inside a directory and try to run magit-status or magit-init I get the error message in the title: cl--generic-build-combined-method: ...
bashfuloctopus's user avatar
1 vote
1 answer

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&...
Alessandro Bertulli's user avatar
0 votes
1 answer

Why is the last run in transient-define-prefix?

I use transient.el Press key a but (insert "B") is executed ;; NG case ;; desc is same ;; press a -> B (progn (transient-define-prefix my-test1 () [("a" "desc" (...
megeton's user avatar
  • 37
2 votes
0 answers

how to teach magit to pass multiple push-options at once

GitLab has a few push options for which I'd like to create switches in magit-push's transient. Causing -n to add -oci.skip is simple enough: (transient-append-suffix 'magit-push "-n" '("...
adl's user avatar
  • 143
3 votes
1 answer

Acceptance test for a flow that uses the transient package?

I am trying to write a test around a flow that uses transient. Here is the sample code: ;; -*- lexical-binding: t; coding: utf-8 -*- (require 'transient) (require 'buttercup) (require 'with-simulated-...
Trevoke's user avatar
  • 2,440
0 votes
1 answer

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 ...
Webdev Tory's user avatar
0 votes
1 answer

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 (...
Dave F's user avatar
  • 553
0 votes
0 answers

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}-...
PuercoPop's user avatar
  • 396
1 vote
1 answer

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 ...
mithrandi's user avatar
  • 121
6 votes
1 answer

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-...
ebpa's user avatar
  • 7,389