[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Nested display strings
From: |
Chong Yidong |
Subject: |
Re: Nested display strings |
Date: |
Tue, 26 Apr 2011 16:51:24 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>>> So I think the best behavior is to detect the situation and signal
>>> some kind of warning/error (and behave in whichever way is most
>>> convenient for the C code).
>> I don't think there is a non-obnoxious way for redisplay to emit errors
>> or warnings in such a situation.
>
> It's tricky, indeed since redisplay will be performed repeatedly an will
> tend to signal such warnings over and over again. A good/natural way
> for redisplay to signal such problems would be to display them directly
> in the window (e.g. insert some threatening question mark or some such,
> ideally with mouse-over highlighting and a help-echo-like text
> explaining the problem).
If such redisplay warnings are really important (which I'm still not
sure about), we could provide a Lisp-callable "debug-redisplay" built-in
command that triggers one single redisplay, accumulates all warning
messages, and puts them into a buffer afterwards. Except when this
command is running, such redisplay warning would have no effect. This
would help a developer who is, say, debugging a troublesome overlay,
without annoying users in other contexts.
- Re: Nested display strings, (continued)
- Re: Nested display strings, Stefan Monnier, 2011/04/26
- Re: Nested display strings, Eli Zaretskii, 2011/04/26
- Re: Nested display strings, Ted Zlatanov, 2011/04/26
- Re: Nested display strings, Eli Zaretskii, 2011/04/26
- Re: Nested display strings, chad, 2011/04/26
- Re: Nested display strings, Ted Zlatanov, 2011/04/26
- RE: Nested display strings, Drew Adams, 2011/04/26
- Re: Nested display strings, Stefan Monnier, 2011/04/27
- Re: Nested display strings, Eli Zaretskii, 2011/04/28
- Re: Nested display strings, Stefan Monnier, 2011/04/28
- Re: Nested display strings,
Chong Yidong <=
- Re: Nested display strings, Stefan Monnier, 2011/04/26
- Re: Nested display strings, Richard Stallman, 2011/04/26
Re: Nested display strings, Michael Welsh Duggan, 2011/04/24