Hi Chris,
Not sure what behavior you want, but if you double-click on the character just after the opening paren of an expression -- for example on the "l" in "(let ...)" -- acme will expand the selection to the closing paren, correctly enclosing any nested expressions.
Similarly, if you double click on the closing paren of an expression, it will expand the selection to the opening paren (i.e. to the left).
This behavior is mentioned obliquely in the acme(1) man page, referring to the double-click behaviour of sam(1). It’s implemented by textdoubleclick() in $PLAN9/src/cmd/acme/text.c if you want to look at the logic.
Also works for brackets, newlines, etc.
C
On 28 Jun 2021, at 8:30, Chris Banda wrote:
Hello;Does anyone have a script to auto match lisp parenthesis in acme?
--
---
You received this message because you are subscribed to the Google Groups "plan9port-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to plan9port-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/plan9port-dev/74be10aa-d907-4d49-a838-2a6a59e2cbcbn%40googlegroups.com.
Hello;Does anyone have a script to auto match lisp parenthesis in acme?
I never understood that whole cursor-jump thing where the editor completes the parans for you, and then jumps your cursor AFTER the terminating paren.. and then you have to move back one character to enter stuff.
--
---
You received this message because you are subscribed to the Google Groups "plan9port-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to plan9port-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/plan9port-dev/36112600-7395-4dd4-9677-ed452dbcac35%40www.fastmail.com.