On Wednesday, December 2, 2026 at 05:59:39 AM PST, Nala Ginrut 
<[email protected]> wrote:

> Superb!
> I guess it's a guile based nano editor.
> Is it possible to write plugins in Guile?

Yes? Maybe? Not out of the box.

There is a record type called cbuf that holds the contents of
a file and all the editor parameters. There are a set of text operations
methods that do all the normal cursor motion and text modification
operations that operate on a cbuf. And there is a command keybinding map.

It should be simple enough to build other commands by 
taking combinations of these methods and then binding them to a new
key. So it can do that: creating complex commands bound to a key.

But for it to be a 'plugin', well, I guess it would need a functionality
to look for new commands in a different directory and parse them at
load-time. It doesn't have anything like that. And its execution model is that 
every command is bound to a key: it doesn't have a background process or a 
timer.

Regards,
Mike Gran

Reply via email to