Skip to main content
Share Your Experience: Take the 2024 Developer Survey
4 votes
Accepted

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

SECOND EDIT If you have saved the prefix its state using C-x s or C-x C-s, then the prefix value is taken from transient-values variable or from the transient-values-file. To set the value as ...
dalanicolai's user avatar
  • 7,855
1 vote

How to persist a transient to make a command repeatable?

transient provide a transient-variable abstract class. Inspired by magit magit--git-variable which store variables in git config file, I tried to use global elisp variable. (setq-default my-variable &...
Balaïtous's user avatar
1 vote
Accepted

How add Evil keybindings to Magit, without removing all Magit prefix-keys

Transients activate their own keymaps. The Modifying Existing Transients section of the transient manual describes how to extend existing transients. Unfortunately, it generally takes quite some ...
dalanicolai's user avatar
  • 7,855
1 vote
Accepted

Is it possible to eval code as a transient group description?

The following works: (setq my--current-section "XXX") (defun my--set-section () (format "Manage (current section: %s)" my--current-section)) (transient-define-prefix my--prefix ...
orgtre's user avatar
  • 1,080
1 vote

modify existing transient - set some argument "active" by default

I was using the macro transient-define-argument wrong. As explained in the Developer Quick Start Guide, I can use :init-value to achieve my goal: (transient-define-argument python-pytest-django:--ds ()...
Matteo Gamboz's user avatar
1 vote

How can I use 'transients' in 'magit' to enable case-insensitive search?

I have fixed that regression, see #209.
tarsius's user avatar
  • 25.8k

Only top scored, non community-wiki answers of a minimum length are eligible