devel/transient-devel 0.8.4.29 DragonFly
Emacs key and popup interface for complex keybindings
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- GPLv3+
- Categories
- devel, elisp
- Package size
- 146.1 KiB, 951.6 KiB installed
Description
Taking inspiration from prefix keys and prefix arguments, Transient implements a similar abstraction involving a prefix command, infix arguments and suffix commands. We could call this abstraction a "transient command", but because it always involves at least two commands (a prefix and a suffix) we prefer to call it just a "transient".
When the user calls a transient prefix command, then a transient (temporary) keymap is activated, which binds the transient's infix and suffix commands, and functions that control the transient state are added to `pre-command-hook` and `post-command-hook`. The available suffix and infix commands and their state are shown in a popup buffer until the transient is exited by invoking a suffix command.
Calling an infix command causes its value to be changed, possibly by reading a new value in the minibuffer.
Calling a suffix command usually causes the transient to be exited but suffix commands can also be configured to not exit the transient.
Install
Binary package:
pkg install transient-devel
From DPorts:
cd /usr/dports/devel/transient-devel && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
Run dependencies 3
Required by 2
Configuration
No options to configure.
- Service scripts
- none
- Flavors
transient-devel-emacs_nox-0.8.4.29,transient-devel-emacs_canna-0.8.4.29,transient-devel-emacs_devel-0.8.4.29,transient-devel-emacs_wayland-0.8.4.29,transient-devel-emacs_devel_nox-0.8.4.29