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

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

bug#66922: 29.1; No redisplay of buffer, even after using `force-window-


From: Eli Zaretskii
Subject: bug#66922: 29.1; No redisplay of buffer, even after using `force-window-update'
Date: Sat, 04 Nov 2023 09:13:25 +0200

> From: dalanicolai <dalanicolai@gmail.com>
> Date: Sat, 4 Nov 2023 00:23:30 +0100
> Cc: 66922@debbugs.gnu.org
> 
> Sorry Eli, I don't know what you mean here. Over here the problem does
> occur also in the GUI, and I am using the print to
> 'external-debugging-output' because the lwarn is what causes the
> problem. I explained in the bug report that the window-start does not
> get updated when including the lwarn after the forced redisplay (the
> point is at 11, but window-start is still at 1).

Sorry, I didn't understand what you considered a "bug", because your
original description has all but drowned that in the long description
of what the code does.  So I thought that "messes redisplay" is the
problem, and that it alludes to the text from
external-debugging-output that appears inside the window of the TTY
frame.

If your problem is with window-start, then the reason for that is
simple: lwarn pops up the *Warnings* buffer, so the call to
window-start returns the value for that buffer, not for the "example"
buffer.  If, after running the recipe, you do

  C-x b RET
  M-: (window-start) RET

you will see that window-start in "example" is 11, as you expect.

So I see no bug here.

> (Also obviously, I can not use a normal print/message, when
> 'investigating' redisplay issues)

Of course, you can: use 'message', and then look in the *Messages*
buffer.





reply via email to

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