From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Almer S. Tigelaar" Newsgroups: gmane.emacs.bugs Subject: Re: scroll-margin Date: 28 Mar 2002 21:56:56 +0100 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <1017349016.364.24.camel@almer> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-5ASC5wqFXeIltYbLcGO2" X-Trace: main.gmane.org 1017349038 29698 127.0.0.1 (28 Mar 2002 20:57:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 28 Mar 2002 20:57:18 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16qgxR-0007it-00 for ; Thu, 28 Mar 2002 21:57:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16qgxP-0005dZ-00; Thu, 28 Mar 2002 15:57:15 -0500 Original-Received: from d85070.upc-d.chello.nl ([213.46.85.70] helo=tanya.tigelaar.dhs.org) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 16qgwf-0005ce-00; Thu, 28 Mar 2002 15:56:29 -0500 Original-Received: from almer ([192.168.1.25] helo=localhost.localdomain ident=almer) by tanya.tigelaar.dhs.org with esmtp (Exim 3.12 #1 (Debian)) id 16qgvE-0000AP-00; Thu, 28 Mar 2002 21:55:00 +0100 Original-To: rms@gnu.org In-Reply-To: <200203262317.g2QNHuU08166@aztec.santafe.edu> X-Signature: Fam. Tigelaar Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:279 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:279 --=-5ASC5wqFXeIltYbLcGO2 Content-Type: text/plain Content-Transfer-Encoding: 7bit Dear Mr. Stallman, On Wed, 2002-03-27 at 00:17, Richard Stallman wrote: > I can't reproduce this problem. Would you please specify a single > *precise* test case? Please read the Bugs section in the Emacs > manual, which provides guidelines on how to write a bug report to give > us the necessary information so we can fix the bug. My apologies for being vague about the issue. A retry : I've attached something which can reproduce the problem. To try : - Use the "dot-emacs" as init-file. - After startup open "emacstest". - Type "M-x hang-exec". (all it does it randomly scroll up and down) - Sit back, let it scroll and wait :-) I've tested with the following versions : GNU Emacs 21.1.1 (i386-debian-linux-gnu, X toolkit, Xaw3d scroll bars) of 2001-12-06 on raven, modified by Debian GNU Emacs 21.1.1 (i386-MSVC-NT5.0.2195) of 2001-10-22 on Buffy GNU Emacs 21.2.1 (i386-MSVC-NT5.0.2195) of 2002-03-19 on Buffy (I define a "hang" as 100% CPU usage and Emacs not responding and redrawing at all) Observations : - All of them "hang" within 3 minutes after the call to "hang-exec". - The problem does not occur when scroll-margin is set to "0". Yours sincerely, Almer S. Tigelaar --=-5ASC5wqFXeIltYbLcGO2 Content-Disposition: attachment; filename=dot-emacs Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1 (setq scroll-margin 10) (defun hang-callback () (setq hang-sequence (random 4)) (setq hang-lines (1+ (random 24))) (if (> hang-sequence 1) (message "sequence %d lines %d" hang-sequence hang-lines) (message "sequence %d" hang-sequence)) (if (equal hang-sequence 0) (next-line)) (if (equal hang-sequence 1) (previous-line)) (if (equal hang-sequence 2) (scroll-down hang-lines)) (if (equal hang-sequence 3) (scroll-up hang-lines))) (defun hang-exec () (interactive) (run-at-time nil 1 'hang-callback)) --=-5ASC5wqFXeIltYbLcGO2 Content-Disposition: attachment; filename=emacstest Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1 1 2 3 4 5 6 7 8 9 0 9 8 7 6 5 4 3 2 1 0 1 2 3 4 5 6 7 8 9 0 0 1 2 3 4 5 6 7 8 9 0 0 1 2 3 4 5 6 7 8 9 0 0 1 2 3 4 5 6 7 8 9 0 0 1 2 3 4 5 6 7 8 9 0 0 1 2 3 4 5 6 7 8 9 0 0 1 2 3 4 5 6 7 8 9 0 0 1 2 3 4 5 6 7 8 9 0 --=-5ASC5wqFXeIltYbLcGO2--