From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mike Dupont Newsgroups: gmane.emacs.bugs Subject: bug#28293: 24.5; Haskell Mode Hangs on loading large complex file Date: Wed, 30 Aug 2017 06:03:56 -0400 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1504087530 32581 195.159.176.226 (30 Aug 2017 10:05:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 30 Aug 2017 10:05:30 +0000 (UTC) To: 28293@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 30 12:05:20 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 1dmzry-0007Zj-7q for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Aug 2017 12:05:10 +0200 Original-Received: from localhost ([::1]:49433 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dmzs4-0005Qn-W1 for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Aug 2017 06:05:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dmzrr-0005IC-Qo for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2017 06:05:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dmzrq-00036e-E7 for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2017 06:05:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52904) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dmzrq-00036Z-A8 for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2017 06:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dmzrq-0008L5-2Z for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2017 06:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mike Dupont Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Aug 2017 10:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28293 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.150408747532018 (code B ref -1); Wed, 30 Aug 2017 10:05:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Aug 2017 10:04:35 +0000 Original-Received: from localhost ([127.0.0.1]:33352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmzrO-0008KM-TU for submit@debbugs.gnu.org; Wed, 30 Aug 2017 06:04:35 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38621) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmzrM-0008K8-AS for submit@debbugs.gnu.org; Wed, 30 Aug 2017 06:04:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dmzrF-0002sE-Un for submit@debbugs.gnu.org; Wed, 30 Aug 2017 06:04:27 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:39921) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dmzrF-0002s8-R6 for submit@debbugs.gnu.org; Wed, 30 Aug 2017 06:04:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dmzrD-0004ul-Rc for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2017 06:04:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dmzr9-0002pW-C7 for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2017 06:04:23 -0400 Original-Received: from mail-oi0-x22e.google.com ([2607:f8b0:4003:c06::22e]:36386) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dmzr9-0002p0-5J for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2017 06:04:19 -0400 Original-Received: by mail-oi0-x22e.google.com with SMTP id t75so47497688oie.3 for ; Wed, 30 Aug 2017 03:04:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=EvHjf93IsX7Ico24ffKDLwkKp5Rvv1pmJO0POXaHbrs=; b=EE3HXGWRpQyOEbv2xcadiC1g4d5NxmFU18XSzfunctBgQsPC+UC3iyIXE7jLx13xTZ dKeK9F20IihqFjPLgcp3+s7t8AliARToAeboUXWdW1BZ9xcFpC/iYzY6gaiV/0GNxWkR IOp9lXw0VHtoERfx1jt4Er7KR5difDucHiOA5rYXuc7JcVA/2Yoq3ZXUXldEyRbyOvi9 LEyWbMbTt8p9wlVwlFj6iRWTshnAYeaR0D9gtTEIxXTBYG9DoLdtB7CdUu853NF8nLp4 aWd71Z77cn6kN/+DIJOvQ0NnLJLYKfEZkQz5V09xDVs6rzhv+afUty1LM3zXpTs8XW+1 oMUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=EvHjf93IsX7Ico24ffKDLwkKp5Rvv1pmJO0POXaHbrs=; b=jZuwhqthQI41/9ddbL32izqY8eBDkRfoLdCASktmTq3CbDdQ/fH5DVGX021ohlrHVp WUqJ/JB5xQxb8or88U1hNM069RO+8NgV0F2MgDYi1Ki1WNuh0xzcXIu5inoruHxAXZPT lVYn9ohbFVWt9tw62LhMKgCz3b9Q+RWfI3/Be1Lne3Y8LOt8TP0BXj+cJJml6+dp42+R vZdy8oXOQ179D73JUgfbPrRj1NW4UZTQEACL8ChWR/p3CMQcxNWHQaYhbnHNhvJG4c+0 iD21R44dv1xlNcrI1F0SlY2VVJDe/GJ8XzjyY06bkY9jkeyJcn2US9zQcycRwrPPrc1V liFA== X-Gm-Message-State: AHYfb5hR6ZlQC/kC/iyr/kAlW4jzBS0e+QoDD6Y0kJVA0O2MUfOugXcY WIiN6M+NdRMutpaPPQvNSH3nTPZpe27SfwI= X-Received: by 10.202.87.6 with SMTP id l6mr983486oib.1.1504087456607; Wed, 30 Aug 2017 03:04:16 -0700 (PDT) Original-Received: by 10.74.161.162 with HTTP; Wed, 30 Aug 2017 03:03:56 -0700 (PDT) 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-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:136373 Archived-At: Load this large haskell file it hangs emacs, I think it is something in the mode. https://github.com/h4ck3rm1k3/gcc-ontology/blob/7889b822218950fcdc414a4e054d6e7bb4a3e52e/tests/test_haskell1_b.hs In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.21.5) of 2016-09-05 on trouble, modified by Debian System Description: Debian GNU/Linux unstable (sid) Configured using: `configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/emacs24-24.5+1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro' Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Haskell Minor modes in effect: haskell-indentation-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...done Loading debian-ispell...done Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done Loading /etc/emacs/site-start.d/50python-docutils.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. (New file) Saving file /home/mdupont/experiments/gcc-ontology/tests/test.hs... Wrote /home/mdupont/experiments/gcc-ontology/tests/test.hs Making completion list... Load-path shadows: /usr/share/emacs/24.5/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs24/site-lisp/cmake-data/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode /usr/share/emacs/site-lisp/rst hides /usr/share/emacs/24.5/lisp/textmodes/rst Features: (shadow sort mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils help-mode haskell haskell-completions haskell-load haskell-commands highlight-uses-mode haskell-modules haskell-sandbox haskell-navigate-imports haskell-repl haskell-collapse hideshow haskell-debug haskell-interactive-mode haskell-presentation-mode haskell-compile haskell-process haskell-session url-util haskell-hoogle vc-git haskell-mode haskell-cabal haskell-utils haskell-font-lock haskell-indentation haskell-string haskell-sort-imports haskell-lexeme haskell-align-imports haskell-compat haskell-complete-module haskell-ghc-support noutline outline easy-mmode flymake etags compile comint ring dabbrev ansi-color haskell-customize xterm gh-common gh-profile url-parse auth-source gnus-util time-date mm-util mail-prsvr password-cache url-vars rx s marshal ht json dash eieio byte-opt bytecomp byte-compile cl-extra cl-loaddefs cl-lib cconv eieio-core advice help-fns info easymenu package epg-config tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer 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 make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 146806 6971) (symbols 48 25084 0) (miscs 40 75 131) (strings 32 33718 5931) (string-bytes 1 1113583) (vectors 16 15510) (vector-slots 8 444933 4851) (floats 8 80 365) (intervals 56 261 0) (buffers 960 14)) -- James Michael DuPont