cc0f881fed
fix tests for rename
2023-01-02 18:22:46 +00:00
e4ed51e137
add gtk stuff to show completions as user types
2022-12-31 16:46:34 +00:00
fb834f496c
rename on-input -> on-activate
...
it's only called when RET is pressed, not during editing
2022-12-31 16:46:34 +00:00
28080a1387
define-command parameters now specify a 'completer' function
2022-12-31 16:46:27 +00:00
5069e6aff1
move command state into per-frame table
...
lots of dependent changes here, unfortunately
- get rid of Buffer.current (it's per-frame now)
- in define-command, functions providing default parameter values
now accept frame as parameter
- in keymaps, parameter values are functions that accept frame as
parameter
2022-12-27 12:25:50 +00:00
2610930690
mark command.reset-state as private (except for tests)
2022-12-23 19:52:40 +00:00
8d871b20b8
define command parameters as array not kv table
...
a command should be able to say in which order it wants to ask for
unsupplied parameter values
2022-12-23 19:48:17 +00:00
1c1608fe1f
add invoke-interactively, for use in keymaps
...
move commander widget to Command.widget
2022-12-21 18:04:20 +00:00
491f3225b0
deactivate commander at startup
...
use M-x to activate it
2022-12-21 15:26:24 +00:00
0e103a673c
first pass at commands with args
...
very rudimentary ui, and only handles string args
2022-12-21 15:26:24 +00:00