From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas =?UTF-8?Q?R=C3=B6hler?= Newsgroups: gmane.emacs.bugs Subject: bug#28293: 24.5; Haskell Mode Hangs on loading large complex file Date: Wed, 30 Aug 2017 18:49:41 +0200 Message-ID: References: <838ti12k9c.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------69C06A2A81B45E7AAB352C08" X-Trace: blaine.gmane.org 1504110867 30048 195.159.176.226 (30 Aug 2017 16:34:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 30 Aug 2017 16:34:27 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 To: 28293@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 30 18:34:19 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 1dn5wN-0006pZ-AR for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Aug 2017 18:34:07 +0200 Original-Received: from localhost ([::1]:51528 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dn5wU-0006Pf-95 for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Aug 2017 12:34:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dn5wO-0006PO-2P for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2017 12:34:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dn5wI-0005HM-Bq for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2017 12:34:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54335) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dn5wI-0005HI-82 for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2017 12:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dn5wH-0006Xr-VW for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2017 12:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Aug 2017 16:34: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: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.150411083525147 (code B ref -1); Wed, 30 Aug 2017 16:34:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Aug 2017 16:33:55 +0000 Original-Received: from localhost ([127.0.0.1]:34783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dn5wA-0006XX-LA for submit@debbugs.gnu.org; Wed, 30 Aug 2017 12:33:54 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57886) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dn5w8-0006XJ-DH for submit@debbugs.gnu.org; Wed, 30 Aug 2017 12:33:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dn5w1-0005BR-Uw for submit@debbugs.gnu.org; Wed, 30 Aug 2017 12:33:47 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:52236) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dn5w1-0005BL-RQ for submit@debbugs.gnu.org; Wed, 30 Aug 2017 12:33:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48840) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dn5w0-0006Oz-J4 for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2017 12:33:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dn5vx-00059f-EB for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2017 12:33:44 -0400 Original-Received: from mout.kundenserver.de ([212.227.126.133]:65198) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dn5vx-000595-36 for bug-gnu-emacs@gnu.org; Wed, 30 Aug 2017 12:33:41 -0400 Original-Received: from [192.168.178.35] ([77.12.75.66]) by mrelayeu.kundenserver.de (mreue001 [212.227.15.167]) with ESMTPSA (Nemesis) id 0MWKkb-1e2fuL34dF-00XL74 for ; Wed, 30 Aug 2017 18:33:36 +0200 In-Reply-To: <838ti12k9c.fsf@gnu.org> Content-Language: en-US X-Provags-ID: V03:K0:3M7LbU8VA1T97vU+9eXl2sH4Ti1G9Z7NfpvDS0NNTthO8r7PgEF ZukPRlj+PGb1eZMBoRgg8Noa8I69JPHBgmqnByQBJUo+v7kmMboKSQVsYb8sdpUCCudW6yA zoTxENf71ylIY3UiK+kvIPZqOlLKYru/ZP0LgdiNIpfzwlBGDdNmjHFi3n/g7R4/9k6RWG3 /gabcpnl0wKutFrD2qnCA== X-UI-Out-Filterresults: notjunk:1;V01:K0:x9D7l1IA0Pg=:KflJM9B0UyQdoLP+cooi5L DRVxWj9Q/rNc9vN1AxqE/wV/h2jS7cOK35XvHW4BpaiWh78AuFlQYeSy7xYExOojTbdtxz1GE hwVdnDFZ/jyxQurMQQXwXIREENKE5hujSONHcvtTW4YH0Mv6C7EZ+fq3P3/F6M4xgA59vp+nG PrhZa9F0vnI0aliIgquhpxTrZioAkCnEmVIyQkdI2pNucrbjDDj8DWe/aJwoFaDnR4F7y6VSz ie30Ccw1YoZQhGIyPAyA/vmvhPKruou8cGldrjcVpDeJTR0sCP6t1y7Buf1FOX2BuKEH+5LxN wc/SRzuR8LsXhbUKImLbZLlv5BAatoNRTQnxtCmmocAeLpMbM+S6Jv3V/i5chjETrl/gXfpee rlEZQ1kqfpgt/CLrTgpLU8lrZ+2/wCMiVVafme5Fbo+peHRQ+XxwMizP7Neu0tRMI9ax8EShC SFzpo9f0XjG6hZbm31X+H47P6D6TMqcvETJ/HU6H+nhIM3qarbmBX9oEsAFfqN9QNlCcImHat 349IWf/zugOuCIgfmHBZYIO4V9kAhIHeXdiFX/lNzdy17OXd0Hy8ge/IKtlOKlbP4toVKII2M +9o07QVOK05Ub1yzJ0E8ibGku72jWds0KMJhykT/3xkaSahHTh6Jw0t0xhZb0BwpzKKCohJBn 19aoGRzyhSYvzg/naPFZ53rsPNQlvvx7E9y/LaNIIoDdRkba546OhjOGNBJfbVlGz6/9kCOEq S5bWr+rEbMg3rUXrGrhU8QMgm0es2wXd4Qr8HmCwMvbDdVGgUyo3kC1MA44= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] 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:136381 Archived-At: This is a multi-part message in MIME format. --------------69C06A2A81B45E7AAB352C08 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit May confirm the bugfrom GNU Emacs 25.1.91.1 (i686-pc-linux-gnu, GTK+ Version 3.14.5)of 2017-01-02 With emacs -Q it opens quickly, but hangs when moving down. Without -Q emacs freezes. Assume the length of line is the reason, not the file resp. the mode. BTW haskell-mode is developed at https://github.com/haskell On 30.08.2017 16:38, Eli Zaretskii wrote: >> 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. > > > --------------69C06A2A81B45E7AAB352C08 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit May confirm the bug from GNU Emacs 25.1.91.1 (i686-pc-linux-gnu, GTK+ Version 3.14.5) of 2017-01-02
With emacs -Q it opens quickly, but hangs when moving down.
Without -Q emacs freezes.

Assume the length of line is the reason, not the file resp. the mode.

BTW haskell-mode is developed at https://github.com/haskell



On 30.08.2017 16:38, Eli Zaretskii wrote:
From: Mike Dupont <jamesmikedupont@googlemail.com>
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.




--------------69C06A2A81B45E7AAB352C08--