From: Peter Graves <peter@ar...> - 2003-06-30 20:07:05
0.20.0.5 (lisp 0.0.1.1) is up:
http://armedbear.org/j-jar.zip (just j.jar)
This snapshot starts to add a bit of semi-useful Lisp functionality to
You can now define a little function like this in ~/.j/init.lisp:
(defun toggle-line-numbers ()
(setf (variable-value 'show-line-numbers :buffer (current-buffer))
(not (variable-value 'show-line-numbers)))
Then, after you load init.lisp (or restart j), you can do Alt X,
"(toggle-line-numbers)", and the right thing will happen (in this case
on a buffer-specific basis).
The point being that preferences (which can be global, mode-specific,
or buffer-specific) are now available in Lisp, after the obvious
conversion from studly caps to a Lisp-style name.
Note that we're using a JVar here (see JVar.java), rather than an
ordinary Lisp variable, in order to be able to support the hierarchical
inheritance scheme (among other things).
Slavishly emulating Hemlock...
Thanks for your support.
Get latest updates about Open Source Projects, Conferences and News.