unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: emacs-devel@gnu.org
Subject: Re: xasserts and vertical motion.
Date: Mon, 21 Feb 2005 10:04:13 +0100	[thread overview]
Message-ID: <m3is4m473m.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <x5brae6d85.fsf@lola.goethe.zz> (David Kastrup's message of "Mon, 21 Feb 2005 00:08:58 +0100")

David Kastrup <dak@gnu.org> 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 <storm@cua.dk> http://www.cua.dk

  reply	other threads:[~2005-02-21  9:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-20 23:08 xasserts and vertical motion David Kastrup
2005-02-21  9:04 ` Kim F. Storm [this message]
2005-02-22  8:42 ` Richard Stallman
2005-03-01 14:57   ` David Kastrup
2005-03-03  2:27     ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3is4m473m.fsf@kfs-l.imdomain.dk \
    --to=storm@cua.dk \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).