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

[cgreek:00315] TLG index utilities



About three years ago, I circulated some simple utilities 
for reading and searching the TLG's word form indexes from
within emacs, using the cgreek package.  With the release of
cgreek for emacs-21, that package became obsolete, and I 
have not been able to update it until recently.  I now have
a new version with some very minor fixes that (as I hope,
anyway) should work with both emacs-20 and emacs-21 (the
package should detect the version and behave accordingly).

There were two problems with the older package, one downright stupid
and one concerning emacs-20 vs. emacs-21.  The stupid mistake was that
I used strlcat and strlcpy, which aren't present in libc on (say)
Linux; I replaced them with the (less safe) strncat and strncpy.  The
version problem was that the versions of tlg2emacs supplied with
cgreek-emacs20 and with cgreek21 have different calling syntax, so I
needed to add a test of emacs-major-version to some functions in
cgreek-tlgindexutil.el to get the right number of parameters.

Otherwise, these are still relatively primitive utilities, but they
do permit one to extract and use the information on word form
occurrences found in the TLG's indexes.  If anyone else should 
happen to succeed in getting this to work, I'd be interested to
know:

Information at http://aristotle.tamu.edu/~rasmith/cgreek-tlgindexutil/

Tarball at http://aristotle.tamu.edu/~rasmith/cgreek-tlgindexutil/tlgindexutil.tgz


Robin Smith              
Department of Philosophy            rasmith@xxxxxxxx
Texas A&M University                Voice (979) 845-5696
College Station, TX 77843-4237      FAX   (979) 845-0458