|
From: | Dmitry Gutov |
Subject: | Re: Emacs default bindings |
Date: | Tue, 28 Sep 2021 03:23:40 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
On 28.09.2021 03:11, Stefan Kangas wrote:
Dmitry Gutov <dgutov@yandex.ru> writes:Perhaps you are in the minority?Perhaps, but I doubt it. For example, LibreOffice does not highlight parenthesis. This is very much a case of programmers imposing programmer defaults. But Emacs is not only used by programmers, it is a general purpose text editor.
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
And here's a person who apparently had a good reason to want paren matching in MS Word: https://word.tips.net/T001308_Checking_for_Matching_Parentheses.html
Good enough reason to end up writing a bunch of Basic code ;-(
We could flip it on universally, and then later change the behavior in text modes if we get some more negative feedback.Why not do it the other way around: flip it on for `prog-mode' and later turn it on elsewhere if we get feedback that it would be better.
Do you have an implementation strategy in mind, BTW?The one I suggested (putting 'prog-mode' into show-paren-global-modes) has a drawback of actually bothering _every_ existing user: those who have not enabled show-paren-mode will see it enabled; but those who have enabled it already, will see it disabled in all modes but prog-mode descendants, and will then have to hunt down the way to change this.
[Prev in Thread] | Current Thread | [Next in Thread] |