GNU bug report logs - #61098
29.0.60; Confusing behavior of show-paren-mode

Previous Next

Package: emacs;

Reported by: Rah Guzar <rahguzar <at> zohomail.eu>

Date: Fri, 27 Jan 2023 16:28:02 UTC

Severity: normal

Found in version 29.0.60

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


Message #47 received at 61098 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: rahguzar <at> zohomail.eu, Eli Zaretskii <eliz <at> gnu.org>, 61098 <at> debbugs.gnu.org
Subject: Re: bug#61098: 29.0.60; Confusing behavior of show-paren-mode
Date: Sun, 05 Feb 2023 13:57:06 -0500
> +  :variable ( (and show-paren-mode
> +                   (buffer-match-p show-paren-predicate (current-buffer)))
> +              .
>                (lambda (val) (setq-local show-paren-mode val)))

This doesn't look quote right because it doesn't pay attention to
`local-variable-p`.  We should extract the test performed in the timer
and reuse it here.


        Stefan





This bug report was last modified 2 years and 164 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.