GNU bug report logs - #23928
25.0.95; Performance regression observable with smartparens

Previous Next

Package: emacs;

Reported by: Aaron Jensen <aaronjensen <at> gmail.com>

Date: Sat, 9 Jul 2016 14:58:02 UTC

Severity: normal

Tags: moreinfo

Found in version 25.0.95

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Aaron Jensen <aaronjensen <at> gmail.com>
Cc: 23928 <at> debbugs.gnu.org, npostavs <at> users.sourceforge.net
Subject: Re: bug#23928: 25.0.95;
 Performance regression observable with smartparens
Date: Sun, 10 Jul 2016 20:14:13 +0300
> From: Aaron Jensen <aaronjensen <at> gmail.com>
> Date: Sun, 10 Jul 2016 16:53:45 +0000
> Cc: npostavs <at> users.sourceforge.net, 23928 <at> debbugs.gnu.org
> 
>  Does smartparens really care about this? Why?
> 
> I’d imagine because of things like ruby’s do/end. It wouldn’t want to match DO/Do/etc.

Then setting case-fold-search locally in the buffer (with setq-local
and its ilk) should do the trick.

> By the way, I tested without the bind and smartparens doesn’t even show up on the profile.

Does this mean that the slow operation is also gone when you do that?

> Would it be worth putting a warning in the docs of `let` for this case?

Maybe in the manual.

> Is it only case-fold-search or are there other vars that require per
> buffer updates to rebind?

Any variable which is global by default, but can be local in some
buffers.




This bug report was last modified 8 years and 305 days ago.

Previous Next


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