Commit Graph

23 Commits (main)

Author SHA1 Message Date
Daniel Barlow 24613ea424 hook up the history logger thing 2023-01-02 22:03:03 +00:00
Daniel Barlow bc17c3af6c show url in echo area when it changes 2023-01-01 20:55:11 +00:00
Daniel Barlow 055e8b792f hide commander and print messages in echo area 2023-01-01 19:12:54 +00:00
Daniel Barlow b1bdc326ef WIP popup commander 2023-01-01 16:49:15 +00:00
Daniel Barlow a81d9d4d4c remove hardcoded keyvals 2023-01-01 11:27:33 +00:00
Daniel Barlow 3fac6a2601 ESC cancels command 2023-01-01 11:10:14 +00:00
Daniel Barlow 64d4dfe2ff hook up progress-bar, uri display
the road to callback hell is plagued with good intentions:
I am not unwilling to revisit this code if it gets any more gnarly
2023-01-01 00:11:01 +00:00
Daniel Barlow 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
Daniel Barlow dea9d925a5 add lume module 2022-12-27 12:23:24 +00:00
Daniel Barlow dd139c9796 express keymap bindings as [command-name args]
instead of using functions directly. This is so that the
appropriate frame-relevant commander can be used to execure
the command, but also makes the keymaps a little less opaque
2022-12-26 16:53:41 +00:00
Daniel Barlow e639e4c73d remove duplicate handler for entry activation 2022-12-23 19:45:37 +00:00
Daniel Barlow cde0b8cd56 pass keymap into the frame 2022-12-23 15:21:06 +00:00
Daniel Barlow 15c0ce3417 allow modifiers in keymaps 2022-12-23 14:43:29 +00:00
Daniel Barlow 25d31e0262 use keymap to choose command to invoke 2022-12-22 22:42:45 +00:00
Daniel Barlow 1c1608fe1f add invoke-interactively, for use in keymaps
move commander widget to Command.widget
2022-12-21 18:04:20 +00:00
Daniel Barlow 491f3225b0 deactivate commander at startup
use M-x to activate it
2022-12-21 15:26:24 +00:00
Daniel Barlow 0e103a673c first pass at commands with args
very rudimentary ui, and only handles string args
2022-12-21 15:26:24 +00:00
Daniel Barlow e2c6e2c5f6 use CamelCase for tables/modules that implement classes
Frame => bound to (require :frame)
frame => result of evaluating (Frame.new)
2022-12-20 12:28:32 +00:00
Daniel Barlow 87448bd5ee add visit-location command
though it does hardcode the URL, making it less than generally useful
2022-12-20 11:14:27 +00:00
Daniel Barlow a34e63877d add buffer 2022-12-20 10:34:37 +00:00
Daniel Barlow 102afaa90e add command parameters (as long as there are none) 2022-12-19 21:01:10 +00:00
Daniel Barlow 38786d3790 add command line 2022-12-19 20:57:23 +00:00
Daniel Barlow 5760268c0d rename pane to frame 2022-12-19 18:48:51 +00:00