From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Linus Shoravi Newsgroups: gmane.emacs.bugs Subject: bug#29715: 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Trace: blaine.gmane.org 1513290852 3418 195.159.176.226 (14 Dec 2017 22:34:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 14 Dec 2017 22:34:12 +0000 (UTC) To: 29715@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 14 23:34:08 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 1ePc4u-0000g5-FF for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Dec 2017 23:34:08 +0100 Original-Received: from localhost ([::1]:43303 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePc51-0006kI-O4 for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Dec 2017 17:34:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePc4s-0006jm-Ks for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2017 17:34:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePc4p-0001PF-FX for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2017 17:34:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53822) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ePc4p-0001Op-7N for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2017 17:34:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ePc4o-0001Gs-Qk for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2017 17:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Linus Shoravi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Dec 2017 22:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 29715 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15132907994824 (code B ref -1); Thu, 14 Dec 2017 22:34:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Dec 2017 22:33:19 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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) Original-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) 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-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 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:141077 Archived-At: 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))