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#28293: 24.5; Haskell Mode Hangs on loading large complex file Date: Wed, 30 Aug 2017 17:38:39 +0300 Message-ID: <838ti12k9c.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1504104149 7398 195.159.176.226 (30 Aug 2017 14:42:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 30 Aug 2017 14:42:29 +0000 (UTC) Cc: 28293@debbugs.gnu.org To: Mike Dupont Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 30 16:42:22 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 1dn4C1-00015w-5D for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Aug 2017 16:42:09 +0200 Original-Received: from localhost ([::1]:50949 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dn4C8-0004f2-5X for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Aug 2017 10:42:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47640) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dn4A0-00036w-Qy for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2017 10:40:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dn49y-0004ta-6c for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2017 10:40:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54186) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dn49y-0004tT-2A for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2017 10:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dn49x-0001xG-Qb for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2017 10:40:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Aug 2017 14:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28293 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28293-submit@debbugs.gnu.org id=B28293.15041039457441 (code B ref 28293); Wed, 30 Aug 2017 14:40:01 +0000 Original-Received: (at 28293) by debbugs.gnu.org; 30 Aug 2017 14:39:05 +0000 Original-Received: from localhost ([127.0.0.1]:34634 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dn493-0001vx-3E for submit@debbugs.gnu.org; Wed, 30 Aug 2017 10:39:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dn491-0001vU-Oc for 28293@debbugs.gnu.org; Wed, 30 Aug 2017 10:39:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dn48t-0004bn-S3 for 28293@debbugs.gnu.org; Wed, 30 Aug 2017 10:38:58 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38661) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dn48t-0004bi-Og; Wed, 30 Aug 2017 10:38:55 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2092 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dn48t-0006NL-5J; Wed, 30 Aug 2017 10:38:55 -0400 In-reply-to: (message from Mike Dupont on Wed, 30 Aug 2017 06:03:56 -0400) 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:136378 Archived-At: > From: Mike Dupont > Date: Wed, 30 Aug 2017 06:03:56 -0400 > > 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 It doesn't hang here, neither with Emacs 24.5 nor with the current master. It displays the first screenful rather quickly, and then works very sluggishly, even at the beginning of the buffer, much worse at the end. But the latter is a known issue: this file is a single 11MB line of text, and Emacs's display is very slow with such long lines.