[Date Prev][Date Next][Subject Prev][Subject Next][Date Index][Subject Index]

A keyboard attempt plus random comments



Aloha Xyscripters,

Inspired by all the work with Claude going on in this group, I made an attempt myself.  I wanted a
keyboard setup with my beloved Emacs keybindings.  The idea for me at least is the set up Xyscript
as my go-to editor for writing short form fiction (I currently use Nano which is great but hardly in
the same league).

So I asked Claude.  I also fed Claude the manual and reference and Claude came up with emacs.kdb and
emacs.lib in reasonably short order.  It said it needed to create a function to help with mapping
key chording to Xyscript, which it says is not directly supported.

I tried it out and it failed to load at first but the problem was simple.  Claude used "#
" to start a comment and apparently in keyboard files it has to be "; ".  (It's a bit
confusing that xpl files use one comment marker and kbd files use another.)

So then everything loaded.  It kind of works up to a point.  Some of the chording and especially the
Meta combinations don't.  This is not Xyscript's fault, this is Claude's.

I will continue to work on this as time allows and post the result when I think it's close enough to
Emacs.  This is all very encouraging and somewhat amazing.

Random things:

1. Comment inconsistency as noted above.

2. In my installation trying to open a file in the current directory by just giving
the file name on the command line doesn't work.  It creates a buffer with the right title but no
content.  A full path name is necessary, for instance

xyscript foo.txt

doesn't work but

xyscript /home/bnewell/foo.txt

does work.

3. It would be nice if the file open dialog would start in the current working directory or even
better the last used file directory.  This would save a lot of 
time when working with multiple files in a single directory.

4. This may exist already but a cumulative buffer of all messages (especially error messages) which
can be saved and edited would help a lot in debugging.

Again, thanks to Carl over there in far away New York City for giving us something of inestimable
value.

With aloha from Hawai`i nei,

Bob Newell
Honolulu