From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23928: 25.0.95; Performance regression observable with smartparens Date: Sun, 10 Jul 2016 20:14:13 +0300 Message-ID: <83r3b1e7q2.fsf@gnu.org> References: <83wpkug2zs.fsf@gnu.org> <83h9bxftx4.fsf@gnu.org> <83y459eah8.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1468170948 3937 80.91.229.3 (10 Jul 2016 17:15:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Jul 2016 17:15:48 +0000 (UTC) Cc: npostavs@users.sourceforge.net, 23928@debbugs.gnu.org To: Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 10 19:15:37 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bMIKO-0007gk-N6 for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Jul 2016 19:15:36 +0200 Original-Received: from localhost ([::1]:56033 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMIKO-0006uM-1N for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Jul 2016 13:15:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMIJu-0005tz-Vg for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2016 13:15:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMIJq-0005aq-NH for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2016 13:15:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33140) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMIJq-0005am-Jh for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2016 13:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bMIJq-0000ad-GM for bug-gnu-emacs@gnu.org; Sun, 10 Jul 2016 13:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Jul 2016 17:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23928 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 23928-submit@debbugs.gnu.org id=B23928.14681708712211 (code B ref 23928); Sun, 10 Jul 2016 17:15:02 +0000 Original-Received: (at 23928) by debbugs.gnu.org; 10 Jul 2016 17:14:31 +0000 Original-Received: from localhost ([127.0.0.1]:45477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMIJK-0000Za-P7 for submit@debbugs.gnu.org; Sun, 10 Jul 2016 13:14:30 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47361) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bMIJJ-0000ZN-8G for 23928@debbugs.gnu.org; Sun, 10 Jul 2016 13:14:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bMIJB-0005OL-0e for 23928@debbugs.gnu.org; Sun, 10 Jul 2016 13:14:24 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59063) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bMIJA-0005Mi-TN; Sun, 10 Jul 2016 13:14:20 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3121 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bMIJ8-0004QS-Ts; Sun, 10 Jul 2016 13:14:19 -0400 In-reply-to: (message from Aaron Jensen on Sun, 10 Jul 2016 16:53:45 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:120786 Archived-At: > From: Aaron Jensen > Date: Sun, 10 Jul 2016 16:53:45 +0000 > Cc: npostavs@users.sourceforge.net, 23928@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.