From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 14 17:33:19 2017 Received: (at submit) by debbugs.gnu.org; 14 Dec 2017 22:33:19 +0000 Received: from localhost ([127.0.0.1]:34268 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePc46-0001Fj-RL for submit@debbugs.gnu.org; Thu, 14 Dec 2017 17:33:19 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34943) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePbQ7-0006nX-Tf for submit@debbugs.gnu.org; Thu, 14 Dec 2017 16:52:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePbPz-0001IO-28 for submit@debbugs.gnu.org; Thu, 14 Dec 2017 16:51:52 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51386) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ePbPy-0001IH-UO for submit@debbugs.gnu.org; Thu, 14 Dec 2017 16:51:50 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54113) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePbPx-0004p8-93 for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2017 16:51:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePbPu-0001Cm-H6 for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2017 16:51:49 -0500 Received: from mail-lf0-x232.google.com ([2a00:1450:4010:c07::232]:35922) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ePbPu-0001Bg-4R for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2017 16:51:46 -0500 Received: by mail-lf0-x232.google.com with SMTP id f20so8340971lfe.3 for ; Thu, 14 Dec 2017 13:51:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=GfQ3VFwPCwq+GOOVyOsA91utPWhBqvDiv406m4KSqzA=; b=AVHYR8PiNna/jzG3RfpjTVnJ5ab8IS+MaCgMkXzTlHkFDO/y+db0QHi1Qs1C6VKM5n MMx+xdvOPAqORGmv1mIUE18x3/yuh6u/TA5gcjlhrDDBAlgyU8F/b9J6citv1zKbbWYQ zsl9lHEcz/NDPJBHaSsIgVhsKnu0+1B8pLxBd9yBKWEhLf8TUXeoPXi5+SS6AFNu7BOO kRDo989b6ntFvhfRJQ75eph5I6lxSu0IeHfhsrFih3sikPFhdBezI2KoTT8e2zwwEo0q X1YvDn1mSsNAtkqY+IuXcci6cYozSUccPLyk0S74GrLKiYzilbMEolwch0IZOaru4faz w+9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=GfQ3VFwPCwq+GOOVyOsA91utPWhBqvDiv406m4KSqzA=; b=evIxneRmYSzG5gt67UhMWEZ0r2rpXkIM7g4tBLl2BPnfj3QM0vIhi/0D751/+fGz01 LRAvzt0t8aasTFKwcvgg+Tu/8Oz9wDqLEOfvMss63ZmZ86+E94VBfa443S1sZdC/QuEL XT6waP2s2UrCPGN7cwpbdxbn5pI0zle2OHGR1MNsRtOOI5nQgmKp8c4r1SWqyOmzHAOK 6ODsgK4Ihi89pF8gb6HkdJXZh2gB1qse4fjoGXCBIdDAbkLTMPzSijSmmAMyo/QZHRIo YneI+K7KNpx7WCwNZnEnhRNxdpaW3EVQqk2opLTZsNhcKWy6LeGy+lDiDRz97wCMGk4E YJWA== X-Gm-Message-State: AKGB3mItPUh2WhT/q5Wdae6ViaJi3JjETd9tNmE5dW58zOf3YLfXyE9f KuP3wxRZpNsTJhfgioXYcMVQDg== X-Google-Smtp-Source: ACJfBou/xNd34qeCW/W7UCFlC9uyDAwwunJe32ABTGazpqX96m+d7ZA47jnGSOUP5JzlkXzBrx8lGA== X-Received: by 10.46.14.9 with SMTP id 9mr4968117ljo.148.1513288303885; Thu, 14 Dec 2017 13:51:43 -0800 (PST) Received: from localhost.localdomain (h-190-31.A486.priv.bahnhof.se. [109.228.190.31]) by smtp.gmail.com with ESMTPSA id t80sm1029062lfe.26.2017.12.14.13.51.41 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Dec 2017 13:51:42 -0800 (PST) From: Linus Shoravi To: bug-gnu-emacs@gnu.org Subject: 25.3; Haskell-mode and electric-pair-mode hangs emacs when writing block comments Date: Thu, 14 Dec 2017 22:51:40 +0100 Message-ID: <2425320.mvXUDI8C0e@localhost.localdomain> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 14 Dec 2017 17:33:16 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) While in Haskell mode and electric-pair-mode, trying to write a block comment with a hard bracket inside it causes emacs to hang, like this: 1. {} 2. {--} 3. {-[]-} This causes emacs to hang every time. In GNU Emacs 25.3.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.22.19) of 2017-09-15 built on buildvm-29.phx2.fedoraproject.org Windowing system distributor 'Fedora Project', version 11.0.11903000 System Description: Fedora release 26 (Twenty Six) Configured using: 'configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3 --with-gpm=no --with-xwidgets --with-modules build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' LDFLAGS=-Wl,-z,relro PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES XWIDGETS Important settings: value of $LC_COLLATE: C value of $LC_CTYPE: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: haskell-mode Minor modes in effect: global-linum-mode: t linum-mode: t show-paren-mode: t global-smart-tab-mode: t smart-tab-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t electric-pair-mode: t Recent messages: Mark set mwheel-scroll: Beginning of buffer [5 times] Saving file /home/linus/scripts... Wrote /home/linus/scripts Making completion list... (New file) Mark set Saving file /home/linus/scripts/run_scaled... Wrote /home/linus/scripts/run_scaled When done with this frame, type C-x 5 0 Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message idna dired format-spec rfc822 mml mml-sec password-cache epg gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils term/xterm xterm server linum paren powerline powerline-separators color powerline-themes smart-tab easy-mmode neotree derived edmacro kmacro jump-char advice cl-macs cl time-date linusdark-theme finder-inf info package epg-config seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting xwidget-internal move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 198327 11047) (symbols 48 23739 0) (miscs 40 14356 165) (strings 32 35737 5276) (string-bytes 1 807455) (vectors 16 16776) (vector-slots 8 480731 3480) (floats 8 390 458) (intervals 56 9917 27) (buffers 976 23)) From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 14 17:34:40 2017 Received: (at control) by debbugs.gnu.org; 14 Dec 2017 22:34:40 +0000 Received: from localhost ([127.0.0.1]:34277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePc5Q-0001IM-3s for submit@debbugs.gnu.org; Thu, 14 Dec 2017 17:34:40 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePc5O-0001I8-6N for control@debbugs.gnu.org; Thu, 14 Dec 2017 17:34:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePc5I-0001vP-EE for control@debbugs.gnu.org; Thu, 14 Dec 2017 17:34:33 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42460) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePc5I-0001vH-Bh for control@debbugs.gnu.org; Thu, 14 Dec 2017 17:34:32 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ePc5H-00067H-T4 for control@debbugs.gnu.org; Thu, 14 Dec 2017 17:34:32 -0500 Subject: control message for bug 29710 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Thu, 14 Dec 2017 17:34:31 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) merge 29715 29710 From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 14 21:31:32 2017 Received: (at control) by debbugs.gnu.org; 15 Dec 2017 02:31:32 +0000 Received: from localhost ([127.0.0.1]:34387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePfmd-0005wN-NG for submit@debbugs.gnu.org; Thu, 14 Dec 2017 21:31:31 -0500 Received: from mail-it0-f42.google.com ([209.85.214.42]:43694) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePfma-0005w5-6i; Thu, 14 Dec 2017 21:31:29 -0500 Received: by mail-it0-f42.google.com with SMTP id u62so16178730ita.2; Thu, 14 Dec 2017 18:31:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=1YlPLQ2oDJEqBBTDdqbxZW9LJpErtykcVc0gjkdCabE=; b=XIyjzOseq1zO6T2MOvtaLe4bakTMofAS6LmGMLjLnGtP0qEN/r7TTw3U2DLVRR4E3y wVJTBFko854a3fZLOCM0l5C4SmS3OqTM7bUXTjoVWrHOkeO59jVwWuNzMo0iMtbWyRHR 6QnNQ/scJk/ms74ZQfydnJ1zR9TDZPy3qGNqE9S2nAjL6dOOdjLrtSGzXlJREEfMWnAb +o1O5rduKueP8S6FOFMcAQ6ntuzE1HjvQlAaRwmvbKbtiJUvM3hhzNKO9NSYu3WSFTuX LlLMGFv0MtHQVG9ZXjZxAKJHY5QoG8eoPCDQUhbOf6yuyah0Q6cZJcG7mTaRSg1J08IN UBGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=1YlPLQ2oDJEqBBTDdqbxZW9LJpErtykcVc0gjkdCabE=; b=YuAFl+mtdwTmbNNPalMOKYrFZ8LEy/GSGo66RLV2hOiwOooEKSnUYt7R9rXTAIYm6Z G/LIVC8Q5GDJlRBHlazmgd3czfncGV+uU5UnCTy1/q9IWRc2qw3O2ZHh2zutHAXPD0qn qrRuDnpJIb1D5EY8pHbcSI1Jr8Lnbn7ss5wxwsQsWdz10n7aZBNq9qxkegtF5nyIzUpm VQ4ArZbf633Np9rh8N3+phf/aCpXzprAzvqOHGuwUGXO3bhevgL2xj67Y23+iw/LWsZq QieTKG3VqGHgWPs1wG6PJTHsQ2v95Gj1TsHw/BwdoLASL+OuEufMqFIAWAB0P+RG9/fw BKNQ== X-Gm-Message-State: AKGB3mJtPfuzekq3H+DUgvR6jke3wmdkIFvK/gMBRY5o4fGlIvEHVzU+ OPfC9XG884QshxQqsBnymCpcjA== X-Google-Smtp-Source: ACJfBouO9Jx+DEN4kJzGw3WdKjyKi5CuqgHtjbGg2bUS+J/C4bw2mChmASvYkCELTM73l25NOuhcsw== X-Received: by 10.36.22.147 with SMTP id a141mr6144936ita.30.1513305082491; Thu, 14 Dec 2017 18:31:22 -0800 (PST) Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id g187sm3274209itb.29.2017.12.14.18.31.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Dec 2017 18:31:21 -0800 (PST) From: Noam Postavsky To: Hariharan Rangasamy Subject: Re: bug#29710: Emacs becomes unresponsive when typing brackets (haskell-mode) References: Date: Thu, 14 Dec 2017 21:31:20 -0500 In-Reply-To: (Noam Postavsky's message of "Thu, 14 Dec 2017 14:24:09 -0500") Message-ID: <871sjwd8nb.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: control Cc: 29710@debbugs.gnu.org, Linus Shoravi X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) --=-=-= Content-Type: text/plain tags 29710 + patch quit Noam Postavsky writes: > 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: --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=v1-0001-Don-t-mess-up-syntax-ppss-cache-in-electric-pair-.patch Content-Description: patch >From 5b3f0dfb1673617e4646be2be0874b168acc46c4 Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Thu, 14 Dec 2017 21:25:13 -0500 Subject: [PATCH v1] Don't mess up syntax-ppss cache in electric-pair (Bug#29710) In Emacs 25 and above, calling `scan-sexps', `parse-partial-sexp', or similar may update the syntax-ppss cache if `parse-sexp-lookup-properties' is non-nil. Therefore, when calling any of these functions with a different than normal syntax-table, the cache must be cleaned afterwards. * lisp/elec-pair.el (electric-pair--with-uncached-syntax): New macro. (electric-pair--syntax-ppss, electric-pair--balance-info): Use it. --- lisp/elec-pair.el | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/lisp/elec-pair.el b/lisp/elec-pair.el index 7f523d1df4..bdf4bd14b5 100644 --- a/lisp/elec-pair.el +++ b/lisp/elec-pair.el @@ -24,6 +24,7 @@ ;;; Code: (require 'electric) +(eval-when-compile (require 'cl-lib)) ;;; Electric pairing. @@ -222,6 +223,18 @@ electric-pair--insert (electric-pair-mode nil)) (self-insert-command 1))) +(cl-defmacro electric-pair--with-uncached-syntax ((table &optional start-scan) &rest body) + "Like `with-syntax-table', but flush the syntax-ppss cache after." + ;; See Bug#29710 and Bug#23443. + (declare (debug ((form &optional form) body)) (indent 1)) + (let ((start-scan-var (make-symbol "start-scan"))) + `(let ((syntax-propertize-function nil) + (,start-scan-var ,(or start-scan '(point)))) + (unwind-protect + (with-syntax-table ,table + ,@body) + (syntax-ppss-flush-cache ,start-scan-var))))) + (defun electric-pair--syntax-ppss (&optional pos where) "Like `syntax-ppss', but sometimes fallback to `parse-partial-sexp'. @@ -240,7 +253,8 @@ electric-pair--syntax-ppss (skip-syntax-forward " >!") (point))))) (if s-or-c-start - (with-syntax-table electric-pair-text-syntax-table + (electric-pair--with-uncached-syntax (electric-pair-text-syntax-table + s-or-c-start) (parse-partial-sexp s-or-c-start pos)) ;; HACK! cc-mode apparently has some `syntax-ppss' bugs (if (memq major-mode '(c-mode c++ mode)) @@ -293,7 +307,8 @@ electric-pair--balance-info (cond ((< direction 0) (condition-case nil (eq (char-after pos) - (with-syntax-table table + (electric-pair--with-uncached-syntax + (table) (matching-paren (char-before (scan-sexps (point) 1))))) @@ -323,7 +338,7 @@ electric-pair--balance-info (save-excursion (while (not outermost) (condition-case err - (with-syntax-table table + (electric-pair--with-uncached-syntax (table) (scan-sexps (point) (if (> direction 0) (point-max) (- (point-max)))) -- 2.11.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 16 21:05:31 2017 Received: (at control) by debbugs.gnu.org; 17 Dec 2017 02:05:32 +0000 Received: from localhost ([127.0.0.1]:37904 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQOKZ-0005jm-OM for submit@debbugs.gnu.org; Sat, 16 Dec 2017 21:05:31 -0500 Received: from mail-it0-f50.google.com ([209.85.214.50]:34693) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQOKY-0005jW-6b; Sat, 16 Dec 2017 21:05:30 -0500 Received: by mail-it0-f50.google.com with SMTP id m11so2101671iti.1; Sat, 16 Dec 2017 18:05:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=kCN95gDEBv8uIu0kpmT9ojy8aBw5OdeL9FiE4eNyhUU=; b=d7v6sE53PYxqshiCpHETwD3q5Ydt+TLsTN8817TRR5WUZ+rmBtB9PaNEHCfTRIDVDu AeCR2HM3+gGywxywsfmXbX7HqNJxb0h/uYHkarsQdo5T6BbyfDEEQc3T4pWE0bbnB1oO upGCN1BOtoBC/QSyG6AsrmkuPLPKMNtxKRuIkcemDPWL+fjCI2jCQQ5/61kIboApKDvD CEP7fQjK06isfaliYoaS3JNUM6+UJRxxYgsQTnUDWXhPTbedhdqYIDbHWUIF5Vd7xHL8 +5hs7zmkNd2hl2pVBFgyy8EmZE66rj2oQcBshto+P0veKad6Mot2cJInxXun1609R7tj W03w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=kCN95gDEBv8uIu0kpmT9ojy8aBw5OdeL9FiE4eNyhUU=; b=W3ir/Xv6Ge1MmQf+UWfzsx9iEhS9or/GHsRhFEdimFAN3Sxt7J7NX9+SOeaUglDxUr 9CmKgOz6h/5wcAuVGCSKhUeapba3k4xFgToCy7xOflYQAVxRbV5tqbg5WzlCwPCRD0uF irNC87wn/zIxorwMFzc/+sGoP7HoxWmcFhPW+rIiGjWYAgqFKYog32/oIm6q2AXShO9D WVpwMm27bhBQWNzE0GWc3OEMbCI1ezGAsxQy5mKx4g+MQQ2t71SUGQN7H6/ix4hSYZRU jFkYAIls/ZYqosbIlYMI69px397ucY3ouAqAZU9+bSb+lfw7EB8wKL0xYnEqIvhDcj6F XXkA== X-Gm-Message-State: AKGB3mJLB93VGTG83hQR311zgkQRfg/KuakCHndbDhx7KXqADD1a4Ebh /uem6SFW40dEPc5K6PwIAWaY6A== X-Google-Smtp-Source: ACJfBou2u1AmhQFx4vvBNB/YPiUtocoQ5G8x7lEc4N/eq6mtSprCQwHZleT+mrRVdrnoJFbM+wVD9A== X-Received: by 10.36.121.130 with SMTP id z124mr15297584itc.25.1513476324482; Sat, 16 Dec 2017 18:05:24 -0800 (PST) Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id i76sm5503198itf.3.2017.12.16.18.05.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 16 Dec 2017 18:05:23 -0800 (PST) From: Noam Postavsky To: Eli Zaretskii Subject: Re: bug#29710: Emacs becomes unresponsive when typing brackets (haskell-mode) References: <871sjwd8nb.fsf@users.sourceforge.net> <83ind8tlqo.fsf@gnu.org> Date: Sat, 16 Dec 2017 21:05:21 -0500 In-Reply-To: <83ind8tlqo.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 15 Dec 2017 10:54:07 +0200") Message-ID: <87k1xmaz32.fsf@users.sourceforge.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: control Cc: hariharanrangasamy@gmail.com, 29710@debbugs.gnu.org, linusshoravi@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) tags 29710 fixed close 29710 26.1 quit Eli Zaretskii writes: > 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. Done. [1: 89cfdbf729]: 2017-12-16 21:02:38 -0500 Don't mess up syntax-ppss cache in electric-pair (Bug#29710) https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=89cfdbf729bc731331358e0efc69547547aa3ca2 From unknown Fri Aug 22 01:03:58 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 14 Jan 2018 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator