[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: signalling errors in redisplay
From: |
Eli Zaretskii |
Subject: |
Re: signalling errors in redisplay |
Date: |
Tue, 11 Dec 2001 10:27:51 +0200 (IST) |
> Maybe one can break out of that loop by letting Fsignal set a flag that
> the buffer in error shouldn't be redisplayed anymore, instead of evaling
> Lisp code withing redisplay in a condition-case. But this might
> render Emacs as unusable as in an infinite loop, depending on where the
> error is signaled.
>
> That is a very good idea. If that buffer is not redisplayed any more,
> you can still save it and kill it. And the rest of Emacs will still
> work. The disabling of redisplay in the buffer could last until
> it is again modified--that way, you could easily try to resume normal
> redisplay of the buffer if you want to try it.
>
> Does anyone see a problem with this, or have a better idea?
What will happen if the offending buffer is the minibuffer? I think
this is what Gerd had in mind in his last sentence (see above):
preventing the display of the minibuffer might render Emacs unusable,
or at least very hard to use.