summaryrefslogtreecommitdiff
path: root/lisp
AgeCommit message (Collapse)Author
2026-01-01Release version 0.12.0v0.12.0Jonas Bernoulli
2026-01-01Improve indentation of interactiveJonas Bernoulli
Emacs 31.1 adds variable `lisp-indent-local-overrides'.
2026-01-01Improve indentation of condJonas Bernoulli
Emacs 31.1 adds variable `lisp-indent-local-overrides'.
2026-01-01Order local variablesJonas Bernoulli
2026-01-01Bump copyright yearsJonas Bernoulli
2025-12-10Give up on determining function arity upfrontJonas Bernoulli
`transient--arity-funcall' could deal with advice, but not `apply-partially' and probably other cases. Closes #421.
2025-12-03transient-help: CosmeticsJonas Bernoulli
2025-12-03Use cond-let moreJonas Bernoulli
2025-12-03transient--arity-funcall: New functionJonas Bernoulli
2025-11-30make: Add new EMACS_Q_ARG variableJonas Bernoulli
It defaults to "-Q" but users can instead use "-q", which is useful if "site-start.el" contains essential settings. Also add `EMACS_BATCH' and `EMACS_ORG', and rework use of related variables.
2025-11-30make: Duplicate %.elc targetJonas Bernoulli
Do so to keep "default.mk" and "lisp/Makefile" in sync with the respective files from other packages.
2025-11-30transient--pp-to-file: Rename argumentJonas Bernoulli
2025-11-30transient--pp-to-file: Avoid saving empty valueJonas Bernoulli
Do not create the file and containing directory if the value to be saved is nil. If the file already exists, then always update, even if the value is nil, to ensure an older value doesn't stick around. If someone customized where history is stored, but has to use "emacs -Q", then they used to end up with "~/.emacs.d/transient/history.el" with content "nil".
2025-11-29transient-format-description: Fix regressionJonas Bernoulli
This direct use of `transient--prefix's `value' slot was overlooked in [1: b4edb633]. 1: 2025-08-16 b4edb633488fc251df0883b69b1eb350cb2e94ec transient-get-value: Replace with three functions
2025-11-20transient-bind-q-to-quit: Add comma in docstringJonas Bernoulli
2025-11-18Release version 0.11.0v0.11.0Jonas Bernoulli
2025-11-15transient-hide-during-minibuffer-read: Remove obsolete variableJonas Bernoulli
2025-11-14Use Cond-Let's cond-let and cond-let*Jonas Bernoulli
2025-11-14Reapply "Use Cond-Let's when$"Jonas Bernoulli
This reverts commit 1d2710c7f8bba962bfbe6502d76158c2150840c1.
2025-11-14transient-format-description: CosmeticsJonas Bernoulli
2025-11-14Improve documentation of some optionsJonas Bernoulli
2025-10-30make: Rename and clean up autoloads targetJonas Bernoulli
2025-10-30make: Update loaddefs targetJonas Bernoulli
- Provide feature in autoload rubric. - Suppress most messages using `inhibit-message'. - No longer double down on `autoload-timestamps's default value.
2025-10-24Revert "Use Cond-Let's when$"Jonas Bernoulli
This reverts commit 158a773d802ea89f19483444f7ae5e2d96f4d13b, because our package managers aren't good enough, see magit#5460.
2025-10-20Temporarily lower minimal Cond-Let versionJonas Bernoulli
Closes #414.
2025-10-19Use Cond-Let's when$Jonas Bernoulli
2025-10-19Use Cond-Let's and$Jonas Bernoulli
2025-10-19Use Cond-Let's while-let*Jonas Bernoulli
2025-10-19Use Cond-Let's implementations of {if,when}-let{,*} and and-let*Jonas Bernoulli
2025-10-19Resume transient when isearch is exited using non-isearch bindingJonas Bernoulli
An event that has no binding in `isearch-mode-map' causes Isearch to be exited (see `isearch-pre-command-hook'). When that happens we have to resume the transient menu just like when the user explicitly uses a a command whose purpose it is to exit Isearch. We deal with regular Isearch exit commands by rebinding them to wrapper commands in our `isearch-mode-map' wrapper. We can deal with irregular isearch exits by using one of our wrapper commands as the default binding in that keymap.
2025-10-14Reapply "Use named-let instead of cl-labels"Jonas Bernoulli
This reverts commit f3b2176a7f8eda3deea5cf618fc2e1c83ffb1c25. We can do that because we now require Emacs 28.1.
2025-10-14Require Emacs 28.1Jonas Bernoulli
2025-10-06Release version 0.10.1v0.10.1Jonas Bernoulli
2025-10-05Revert "Generate command's docstring based on class's docstring slot"Jonas Bernoulli
This reverts commit c9aa876b4cc679b19c736acc5951f6e640bcbbf2. The planned `magit-section-jumper' class, for which this was added, did not pan out.
2025-09-22Generate command's docstring based on class's docstring slotJonas Bernoulli
Iff no docstring is explicitly specified for the command and the class's `docstring' is set. This likely still needs some refinement, so leave it undocumented for now. Meanwhile, see the `magit-section-jumper' class for an example.
2025-09-14Revert "Use named-let instead of cl-labels"Jonas Bernoulli
This reverts commit 834869e0bfc5043b9f40598f724b9d40f9da87b8. Turns out that wasn't added until Emacs 28.1.
2025-09-13transient--init-child: Fix alignmentJonas Bernoulli
2025-09-13Use named-let instead of cl-labelsJonas Bernoulli
2025-09-13Use correct binding formJonas Bernoulli
2025-09-10transient--get-savable-value: Fall back to transient-current-suffixesJonas Bernoulli
When we created `transient--get-savable-value' in [1: b4edb633], we (intentionally) stopped falling back to `transient-current-suffixes'. The value is saved to history before `transient--suffixes' is unset and our commands that explicitly set the value do not exit the menu. However, a third-party may add a command that sets the value and also exits the menu. I realized that when I made the above change, but figured I would hear about it, if anybody actually did that. That just happened with #410, so use `transient-current-suffixes' again. Closes #410. 1: 2025-08-16 b4edb633488fc251df0883b69b1eb350cb2e94ec transient-get-value: Replace with three functions
2025-09-03Use correct binding conditionalJonas Bernoulli
Correct IMO, obviously.
2025-09-01Release version 0.10.0v0.10.0Jonas Bernoulli
2025-08-16Support automatically remembering the prefix valueJonas Bernoulli
Closes #287.
2025-08-16transient--quit-commands: New variableJonas Bernoulli
This lists commands that quit a menu. I.e., not `transient-quit-seq'.
2025-08-16transient-toggle-level-limit: Make available even if on level 7Jonas Bernoulli
If this is enabled then even suffixes on level 0 are displayed. This is something that possibly should be changed, but until we do, it makes no sense to make this suffix inapt when on level 7.
2025-08-16transient-toggle-level-limit: Fix typo in docstringJonas Bernoulli
2025-08-16transient--init-suffix: No longer drop suffix if it is inactiveJonas Bernoulli
Each suffix is used to track its value. If we drop an inactive suffix and it later becomes active, then its value is lost, so stop doing that. The consequence is that we now have to account for `inactive' suffixes in several places, just like we already had to do for `inapt' suffixes. A suffix may be inactive for two reason. It may have an `:if*' predicate, which currently returns nil. Or it may be on a level that is currently not being used. Closes #316. Closes #364. Closes #407.
2025-08-16transient--make-transient-map: Use value of inapt slotJonas Bernoulli
2025-08-16transient-format-value: Dim argument and value if inaptJonas Bernoulli
2025-08-16transient--init-suffix: Avoid unnecessary workJonas Bernoulli