From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: xasserts and vertical motion. Date: Mon, 21 Feb 2005 10:04:13 +0100 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1108979812 19427 80.91.229.2 (21 Feb 2005 09:56:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 Feb 2005 09:56:52 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 21 10:56:51 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D3AIt-0005De-EF for ged-emacs-devel@m.gmane.org; Mon, 21 Feb 2005 10:56:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D3AZk-0004r4-BW for ged-emacs-devel@m.gmane.org; Mon, 21 Feb 2005 05:14:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D39rA-0006SG-N7 for emacs-devel@gnu.org; Mon, 21 Feb 2005 04:27:57 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D39r8-0006RP-GX for emacs-devel@gnu.org; Mon, 21 Feb 2005 04:27:56 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D39nE-0005Ag-EF for emacs-devel@gnu.org; Mon, 21 Feb 2005 04:23:52 -0500 Original-Received: from [212.88.64.25] (helo=mail-relay.sonofon.dk) by monty-python.gnu.org with smtp (Exim 4.34) id 1D39UD-0002w5-Qa for emacs-devel@gnu.org; Mon, 21 Feb 2005 04:04:14 -0500 Original-Received: (qmail 76758 invoked from network); 21 Feb 2005 09:04:12 -0000 Original-Received: from unknown (HELO kfs-l.imdomain.dk.cua.dk) (213.83.150.2) by 0 with SMTP; 21 Feb 2005 09:04:12 -0000 Original-To: David Kastrup In-Reply-To: (David Kastrup's message of "Mon, 21 Feb 2005 00:08:58 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:33665 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33665 David Kastrup writes: > There are now several xasserts in the vertical motion routines that > are supposed to check for some assumptions about progress made on > display. I strongly recommend taking them out. > > a) they are causing frequent aborts in normal editing operations. At > a time where one has to refer people to the trunk Emacs for quite a > bit of functionality that feels somewhat unfortunate. I think some of those xasserts are bogus -- it's just hard to _prove_. In any case, I have removed two of them from move_it_vertically_backward that are often triggered without any indication of anything actually being wrong (emacs doesn't loop and the display looks fine). > Those xasserts that replace visual cues with an aborting Emacs do not > just make using Emacs for serious work harder, but they also actively > _hinder_ debugging possibly occuring display problems. I agree. -- Kim F. Storm http://www.cua.dk