emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs default bindings


From: Stefan Kangas
Subject: Re: Emacs default bindings
Date: Mon, 27 Sep 2021 17:54:19 -0700

Dmitry Gutov <dgutov@yandex.ru> writes:

> But where does "code" begins and ends?
>
> E.g. LibreOffice Calc does paren matching when one edits in the cell:
> https://ask.libreoffice.org/t/calc-parenthesis-highlighting/31988

It is indeed hard to know where it ends.  Related to your example, in
Org mode formulas paren highlighting would be obviously useful.  But
it's another thing when writing prose.  Maybe `show-paren-mode' should
grow the capability to only highlight parens in parts of a buffer?

One thing we do know is that code probably starts with `prog-mode'.  ;-)

> Do you have an implementation strategy in mind, BTW?

I didn't really think about it, no.  Sorry.

But I guess we can't just throw it in the body of `prog-mode' and call
it a day...



reply via email to

[Prev in Thread] Current Thread [Next in Thread]