Sujet : Re: A Mandelbrot set generator in HG LISP
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.lispDate : 16. Apr 2025, 00:20:31
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vtmpjv$nt6i$7@dont-email.me>
References : 1 2 3
User-Agent : Pan/0.162 (Pokrosvk)
On Mon, 14 Apr 2025 12:22:33 -0400, Stefan Monnier wrote:
Eww!
I was just checking how Emacs implements its bracket-highlighting feature.
You know, if you position the insertion point at one opening or closing
parenthesis, it will highlight the corresponding member of the pair.
Turns out it’s a bit strange: you have to position the cursor *on* an
opening parenthesis in order for it to highlight the corresponding closer,
but *after* the closing parenthesis for it to highlight the corresponding
opener.
And remember, this is the editor that is famously written in Lisp.
So you see, the “parenthesis pileup” tradition forces Emacs to implement
this feature in a, shall we say, less than intuitive fashion.