GNU bug report logs -
#50895
28.0.50; show-paren-mode is distracting in some modes
Previous Next
Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>
Date: Wed, 29 Sep 2021 17:26:02 UTC
Severity: wishlist
Merged with 50894
Found in version 28.0.50
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On 30.09.2021 16:39, Lars Ingebrigtsen wrote:
> Dmitry Gutov <dgutov <at> yandex.ru> writes:
>
>> The value of font-lock-global-modes affects how global-font-lock-mode works.
>
> Right. But we could make (show-paren-mode 1) set the mooted
> show-paren-global-modes to t. Since it's show-paren-mode is on by
> default, show-paren-global-modes would basically only be used by those
> people who's not explicitly saying (show-paren-mode 1).
>
> And (show-paren-mode -1), for that matter.
>
> So introducing a variable like that (with a default value of `(not
> special-mode)') should not affect people who are already explicitly
> switching the mode on or off.
>
> Or am I missing something?
That should be doable, yes.
I just can't think of another mode that does something similar. So this
kind of special behavior might catch people by surprise.
Anyway, this is not a strong objection, and I might be convinced by a
particular implementation. We could even adopt this practice in more
places, if it really makes sense to people.
At the moment, though, I'm more in favor of adding a *-global-modes
variable, and then, having collected feedback, changing its default in
some future version.
This bug report was last modified 2 years and 316 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.