From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ulf Klaperski Newsgroups: gmane.emacs.bugs Subject: Emacs hangs if (display_width = line_width + 499) ... Date: Sat, 18 Jan 2003 00:08:25 +0100 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <20030117230825.GA1163@mordor.private.org> Reply-To: Ulf Klaperski NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="82I3+IH0IqGh5yIs" X-Trace: main.gmane.org 1042846646 10267 80.91.224.249 (17 Jan 2003 23:37:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 17 Jan 2003 23:37:26 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Zg3A-0002fS-00 for ; Sat, 18 Jan 2003 00:37:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Zg3w-00026d-03 for gnu-bug-gnu-emacs@m.gmane.org; Fri, 17 Jan 2003 18:38:12 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18Zg3R-0001RZ-00 for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2003 18:37:41 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18Zg32-0000FX-00 for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2003 18:37:19 -0500 Original-Received: from mail.kdt.de ([195.8.224.4]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Zg2q-00085b-00 for bug-gnu-emacs@gnu.org; Fri, 17 Jan 2003 18:37:04 -0500 Original-Received: from mordor.private.org (C3B3C239.dial.ision.net [195.179.194.57]) by mail.kdt.de (8.11.1/8.11.0) with ESMTP id h0HNauK10510 for ; Sat, 18 Jan 2003 00:36:57 +0100 Original-Received: from ulf by mordor.private.org with local (Exim 3.35 #1 (Debian)) id 18Zfb7-0000Kk-00; Sat, 18 Jan 2003 00:08:25 +0100 Original-To: bug-gnu-emacs@gnu.org Content-Disposition: inline User-Agent: Mutt/1.3.28i X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4241 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4241 --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In GNU Emacs 21.2.1 (i386-debian-linux-gnu, X toolkit, Xaw3d scroll bars) of 2002-03-22 on raven, modified by Debian configured using `configure i386-debian-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --with-x=yes --with-x-toolkit=athena --without-gif' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: C locale-coding-system: nil default-enable-multibyte-characters: t Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Hi, ok, I give up trying to find the bug myself. |-( I have a situation that makes emacs hang. I have attached a testcase file (it's _really_ small!). If you save the attached file 549.txt and start emacs with: emacs -geometry 50x20 549.txt Then press cursor-down twice... emacs hangs... just on leaving the long line. Sometimes it recovers after a while. The problem seems that the actual line is 499 chars longer than the visible. I noticed that emacs loops in xdisp.c:redisplay_internal. Probably it's related to "MAX_NEWLINE_DISTANCE = 500" in forward_to_next_line_start. Hm, I think a really important setting is: truncate-lines: t I saw the problem on Debian, SuSE and HP-sUX with emacs 21.2. Thanks, Ulf -- http://www.againsttcpa.com --82I3+IH0IqGh5yIs Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="549.txt" aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa --82I3+IH0IqGh5yIs Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit _______________________________________________ Bug-gnu-emacs mailing list Bug-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs --82I3+IH0IqGh5yIs--