[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNU ELPA] Transient version 0.8.1
From: |
ELPA update |
Subject: |
[GNU ELPA] Transient version 0.8.1 |
Date: |
Mon, 09 Dec 2024 05:04:26 -0500 |
Version 0.8.1 of package Transient has just been released in GNU ELPA.
You can now find it in M-x list-packages RET.
Transient describes itself as:
==================
Transient commands
==================
More at https://elpa.gnu.org/packages/transient.html
## Summary:
1 Transient command menus
═════════════════════════
Transient is the library used to implement the keyboard-driven “menus”
in [Magit]. It is distributed as a separate package, so that it can
be used to implement similar menus in [other packages].
[Magit] <https://github.com/magit/magit/>
[other packages] <https://melpa.org/#/transient>
1.1 Some things that Transient can do
─────────────────────────────────────
• Display current state of arguments
• Display and manage lifecycle of modal bindings
• Contextual user interface
• Flow control for wizard-like composition of interactive forms
• History & persistence
• Rendering arguments for controlling CLI programs
1.2 Complexity in CLI programs
──────────────────────────────
## Recent NEWS:
# -*- mode: org -*-
* v0.8.1 2024-12-08
Bug fixes:
- Interactively setting the level of a transient prefix resulted in
an error. #337.
* v0.8.0 2024-12-06
- While the minibuffer is in use, the menu window is now hidden by
default. The new option ~transient-show-during-minibuffer-read~ not
only controls whether the menu stays visible while the minibuffer
is in use, but also whether it may be resized if necessary. This
new option replaces ~transient-hide-during-minibuffer-read~. #330
- When returning to a prefix whose ~refresh-suffixes~ slot is non-nil,
its suffixes are now re-initialized. #327
- Added documentation for ~inapt-if*~ slots to manual. 179545a6
- ~transient-args~ and ~transient-scope~ now both take a prefix command or
a list of prefix commands as argument. ~transient-scope~ can still be
called without an argument, but that should only be done in functions
that take part in setting up a menu, not in a suffix command.
- Added new generic function ~transient-prefix-value~, giving finer
control over how the value returned by ~transient-args~ is determined.
- Added support for implementing ~transient-init-scope~ methods for
prefix classes.
- ~transient-setup-buffer-hook~ is now run later to allow overriding
more default settings.
- The new prefix slots ~display-action~ and ~mode-line-format~, can be
used to override ~transient-display-buffer-action~ and
~transient-mode-line-format~ for individual prefix menus. #332
- Updated the manual considerably.
Bug fixes:
- Fixes some menu navigation edge-cases.
* v0.7.9 2024-11-04
Bug fixes:
- Fixed a recent regression in ~transient-suffix-object~. #325
- The height of the transient window was fixed even it used the full
frame height. 5478d4e6
* v0.7.8 2024-11-02
- Additional potential mistakes in menu definitions are now detected.
bbda5bb6, 8873c300
- Added new (and still experimental) ~environment~ prefix slot, which
can be used to, for example, implement a cache to be used while
refreshing the menu. 05c011b8
- When navigating through the menu using the keyboard or hovering a
suffix command with the mouse, information about the command is now
shown in the echo area or using a tooltip. #282
Bug fixes:
- When the command that exits a transient uses the minibuffer,
~transient-current-*~ variables were not immediately reset to
~nil~. #323
- Key sequences with three or more events broke
~transient-suffix-object~. #324
* v0.7.7 2024-10-04
Bug fix:
- Fix a regression introduced by the previous commit, which broke
dynamic prefixes that use a ~:setup-children~ function to prepare
their suffixes. #313
* v0.7.6 2024-10-01
- ~transient-active-prefix~ now accepts a single prefix symbol, in place
of a list of such symbols. #307
- ~other-frame-prefix~ and ~other-window-prefix~ can now be used while a
transient prefix is active. #305
- Added new macro ~transient-with-help-window~ for use in ~:show-help~
functions. #309
* v0.7.5 2024-09-01
- Updated tooling.
Bug fixes:
- ~static-if~ is now used correctly. 0e35673e
- When an existing window ends up being used to display the transient
buffer, then the previous value of the ~no-other-window~ parameter is
now restored, when the transient is exited. #302
- The names assigned to suffixes, which are defined using lambdas in
the prefix definition, are now guaranteed to be unique. #304
* v0.7.4 2024-08-05
- Added new function ~transient-active-prefix~.
* v0.7.3 2024-07-13
- Refactored code responsible for inserting columns.
Bug fix:
- The ~transient-current-*~ variables are intended to only be used by
suffix commands, when they are invoked from a prefix. Previously
they were only cleared when the prefix is ultimately exited, which
meant that they unintentionally were accessible in timers. Now the
values of these variables are nil when used outside their intended
scope. 0e0ece32, f2cb28a5
* v0.7.2 2024-06-24
...
...
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNU ELPA] Transient version 0.8.1,
ELPA update <=