emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange Emacs crash


From: Stefan Monnier
Subject: Re: Strange Emacs crash
Date: Thu, 24 Feb 2005 08:17:16 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>> I must say I don't understand why the call to `delete-region' doesn't itself
>> clear the accurate state of the window's display matrix.

> Neither do I (or I would have fixed _that_ problem).

> But commands which modifies buffers don't generally have any direct
> effect on whether WINDOW showing the buffer are accurate or not;
> instead they simply update MODIFF on the buffer and redisplay
> notices that the buffer has been modified, and DTRT...

> My best guess is that delete-region does change the buffer MODIFF, but
> that this is cached/restored somewhere along the read key sequence
> path (or due to the recursion into read-event....)

What happens if you remove the read-event recursive call?  My guess is that
it will crash just the same.

> Since this is really a rare case, my fix at the lisp level is ok
> for the case at hand, so unless I hear objects, I'll install it.

Could it be a problem with the special casing of forward-char,
backward-char, and self-insert-command in command_loop_1?


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]