podar@sbcs.UUCP (Sunil Podar) (06/19/85)
{for gosling emacs 2.... on BSD4.2}
With the aim of learning mlisp and spending leisure time
constructively, I indulged in writing a small mlisp package that
provides intext word completion like the csh ESC and like the
various "get-tty-...." functions that fill in suffices. It
essentially works by a lot of pattern matching and by maintaining
dictionary files. This package is not for regular English words but
for all other kinds of words such as long LaTeX words, pascal
keywords, long variable names in programs, any other
spelling-error-prone and too-long-for-one-finger-typists-like-me
words or phrases.
It was primarily written for help with LaTeX since LaTeX commands
tend to be much more verbose than many real programming languages
but its usage is fairly general. I think, such a program ought to
be written in C and perhaps would be fairly easy if one is familiar
with emacs source codes, since then the various procedures that
deal with the "get-tty-...." commands could simply be "included",
but I chose to write them in mlisp for reasons stated above and
that I do not know C.
I have also written a few functions that using the same package
*almost* emulate the "get-tty-...." command-like features including
the popup-help-buffer and other bells & whistles, but are not to my
satisfaction though they work.
Moral of the story: would you like me to post it? I shall await
some mail and shall mail it personally to people if the response is
not sufficient. You see, I'm very scared of being flamed upon by
professionals. If you send me positive mail, please also indicate
if I should post the second half of the package which you will have
to modify according to your requirements (I prefer not to post
it and only mail it if someone really requires it);The first half
(i.e. intext-completion) works fine.
If someone has already written such a facility in C or otherwise
then please let me/us know.
with due apologies for being rather verbose,
--
Sunil Podar
SUNY at Stony Brook
CSNET: podar@sbcs.csnet
ARPA: podar%suny-sb.csnet@csnet-relay.arpa
UUCP: {allegra, hocsd, philabs, ogcvax} !sbcs!podar