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

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

bug#23871: 25.1.50; Undo unexpectedly leads to blank buffer


From: Markus Triska
Subject: bug#23871: 25.1.50; Undo unexpectedly leads to blank buffer
Date: Thu, 30 Jun 2016 20:00:31 +0200
User-agent: Emacs/24.4

Eli Zaretskii <eliz@gnu.org> writes:


> I suspect this is a redisplay problem, not an undo problem.  How do
> you see that point is in the wrong position?  What does "C-x =" say
> immediately after the undo?

I see from two facts that it is in the wrong position:

1) I need to press C-p to go to the position *before* the undo. From
   this I see that point after undo is at least one line off.
   
2) C-x = immediately after undo confirms this, saying:

   point=323 of 322 (EOB) column=0

   While point before undo is point 281 of 322.


> Can you try coming up with a recipe that doesn't involve SWI-Prolog?

Please see #21722. It shows that point position after undo is different
from what it was before, just as in this case. I constructed the case
shown in #21722 due to the issues with undo after process output, and I
suspect these issues are related. Redisplay may also be involved.


> Also, how important is it to have exactly the font you mention and
> exactly that size?  (I tried that font and that size, as well as a few
> others, but that didn't help in my case.)

The font and even window size definitely have an impact on this
issue. Please try a different window size, and I hope you can then
reproduce the issue, or at least #21722.

Thank you and all the best!
Markus





reply via email to

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