GNU bug report logs - #77876
31.0.50; elec-pair --- `electric-pair-inhibit-predicate' ignored for `electric-pair-pairs'

Previous Next

Package: emacs;

Reported by: Fernando de Morais <fernandodemorais.jf <at> gmail.com>

Date: Thu, 17 Apr 2025 20:23:05 UTC

Severity: normal

Found in version 31.0.50

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: João Távora <joaotavora <at> gmail.com>, Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: fernandodemorais.jf <at> gmail.com, 77876 <at> debbugs.gnu.org
Subject: bug#77876: 31.0.50; elec-pair --- `electric-pair-inhibit-predicate' ignored for `electric-pair-pairs'
Date: Sat, 24 May 2025 12:15:42 +0300
Stefan, can you help us understand what is TRT in this case?

> From: João Távora <joaotavora <at> gmail.com>
> Date: Sat, 17 May 2025 11:32:19 +0100
> Cc: Fernando de Morais <fernandodemorais.jf <at> gmail.com>, 77876 <at> debbugs.gnu.org, 
> 	Stefan Monnier <monnier <at> iro.umontreal.ca>
> 
> I think unconditional is how that variable is supposed to work.  The syntax-aware stuff is what I did, and it
> uses other mechanisms. So this change appears to be fusing two mechanisms. Ask Stefan Nonnier
> perhaps. he introduced this library into Emacs and guided my work on it. 
> 
> João
> 
> On Sat, May 17, 2025, 09:44 Eli Zaretskii <eliz <at> gnu.org> wrote:
> 
>  > From: Fernando de Morais <fernandodemorais.jf <at> gmail.com>
>  > Cc: João Távora <joaotavora <at> gmail.com>,
>  >   77876 <at> debbugs.gnu.org
>  > Date: Sat, 10 May 2025 11:31:45 -0300
>  > 
>  > Eli Zaretskii <eliz <at> gnu.org> writes:
>  > 
>  > > Ping! Any progress with this issue?
>  > 
>  > Sorry for my late reply.  I had trouble finding the tests and then
>  > figuring out how to use them, but attached are the results: both for the
>  > tests applied to the `elec-pair' without modifications, and with them.
>  > 
>  > Eight tests---the same ones---failed in both scenarios.  The others were
>  > successful.  Additionally, I’ve been using `elec-pair' with the
>  > modifications since my original email, and I haven’t encountered any
>  > inconsistencies or errors in my daily use.
> 
>  Thanks.  My results are different: all tests pass both before and
>  after the change.
> 
>  João, based on these results, I think we can install the change?  Or
>  do you remember why the 'unconditional' condition was in the code?




This bug report was last modified 20 days ago.

Previous Next


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