From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#29710: Emacs becomes unresponsive when typing brackets (haskell-mode) Date: Fri, 15 Dec 2017 10:54:07 +0200 Message-ID: <83ind8tlqo.fsf@gnu.org> References: <871sjwd8nb.fsf@users.sourceforge.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1513328110 17611 195.159.176.226 (15 Dec 2017 08:55:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 15 Dec 2017 08:55:10 +0000 (UTC) Cc: hariharanrangasamy@gmail.com, 29710@debbugs.gnu.org, linusshoravi@gmail.com To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 15 09:55:06 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePllp-0004Ke-56 for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Dec 2017 09:55:05 +0100 Original-Received: from localhost ([::1]:45172 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePllw-00008R-GH for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Dec 2017 03:55:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51202) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePllr-000088-B9 for bug-gnu-emacs@gnu.org; Fri, 15 Dec 2017 03:55:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePllm-0000xb-HB for bug-gnu-emacs@gnu.org; Fri, 15 Dec 2017 03:55:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54111) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ePllm-0000xM-DI for bug-gnu-emacs@gnu.org; Fri, 15 Dec 2017 03:55:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ePllm-00029O-3a for bug-gnu-emacs@gnu.org; Fri, 15 Dec 2017 03:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Dec 2017 08:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29710 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 29710-submit@debbugs.gnu.org id=B29710.15133280618215 (code B ref 29710); Fri, 15 Dec 2017 08:55:02 +0000 Original-Received: (at 29710) by debbugs.gnu.org; 15 Dec 2017 08:54:21 +0000 Original-Received: from localhost ([127.0.0.1]:34559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePll7-00028R-8I for submit@debbugs.gnu.org; Fri, 15 Dec 2017 03:54:21 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePll5-00028E-R1 for 29710@debbugs.gnu.org; Fri, 15 Dec 2017 03:54:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePll0-0000Pw-1Y for 29710@debbugs.gnu.org; Fri, 15 Dec 2017 03:54:14 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50576) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePlku-0000LF-1B; Fri, 15 Dec 2017 03:54:08 -0500 Original-Received: from [176.228.60.248] (port=4487 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ePlkt-0007Fg-Ia; Fri, 15 Dec 2017 03:54:07 -0500 In-reply-to: <871sjwd8nb.fsf@users.sourceforge.net> (message from Noam Postavsky on Thu, 14 Dec 2017 21:31:20 -0500) 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:141101 Archived-At: > From: Noam Postavsky > Date: Thu, 14 Dec 2017 21:31:20 -0500 > Cc: 29710@debbugs.gnu.org, Linus Shoravi > > > I can reproduce also in 25.3, not in 24.5. Probably same issue as > > Bug#23443, i.e., electric-pair-mode needs to clear the cache after it > > finishes messing with the syntax table. > > Here's a patch: Thanks, this is okay for the release branch, but please add some commentary to the new macro explaining why it is needed and when it should be used.