>> 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


_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to