[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More customizing command loops



While we're on the customizing command loops stuff, my wish would be to
be able to do more than just read with Symbolics's supplied read routines
that are designed for that.  I want to do something on the order of LINEREAD
if, say, it doesn't start with a colon or open parenthesis.  The application
is that the user is typing in English sentences most of the time, but I'd
be very happy if he could type in commands.  WITHOUT THE SOURCES, it is hard
to figure this out.  I had just punted and didn't use the new command
code.  I see I'm not the only one who found the command interface opaque
(for the programmer).

By the way, isn't it confusing how CP:READ-ACCELERATED-COMMAND will return
a flag saying a :COMMAND, :FORM, or :ACCELERATOR was read, but then the function
is documented as "Reads a command processor command input as a single-key
accelerator".  I tried calling it with :FORM-P T and it still seemed as
though it would only read a single character.  My only guess is that the
command *only* reads accelerator keys and the documentation and keywords are
confusing or wrong.  Now, if I only had the source code...