[Openmcl-devel] Alternative parens
lisp at clairvaux.org
Fri Apr 26 08:55:54 CDT 2013
This works once you define the character attributes:
With point at the start the form shown below, C-M f will move point to the end of the form, and then C-M b will move you back to the start:
[foo [bar]] [foo [bar]]
If the attributes are not defined, C-M f will move you to the end of 'foo':
The nested form also seems to work appropriately when the attributes are defined. The "Forward Form" command calls the basic hemlock function, hemlock::form-offset.
What functionality are you not getting?
On Apr 25, 2013, at 8:44 PM, Ron Garret <ron at flownet.com> wrote:
> Looking at the code in
> it would appear that if one did, e.g.:
> (setf (hi::character-attribute :lisp-syntax #\[) :open-paren)
> (setf (hi::character-attribute :lisp-syntax #\]) :close-paren)
> that the editor should then treat square-bracketed expressions the same as paren-bracketed ones. But it doesn't seem to work. What is the right way to get Hemlock to recognize other kinds of balanced delimiters?
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
More information about the Openmcl-devel