From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Markus Triska Newsgroups: gmane.emacs.bugs Subject: bug#23871: 25.1.50; Undo unexpectedly leads to blank buffer Date: Thu, 30 Jun 2016 20:00:31 +0200 Message-ID: <87poqyy2tc.fsf@metalevel.at> References: <83h9cavdgj.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1467309708 16911 80.91.229.3 (30 Jun 2016 18:01:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Jun 2016 18:01:48 +0000 (UTC) Cc: 23871@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 30 20:01:33 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bIgH8-0004t0-Ss for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Jun 2016 20:01:19 +0200 Original-Received: from localhost ([::1]:51943 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIgH7-00087A-Uf for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Jun 2016 14:01:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40647) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIgGz-00085M-H5 for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2016 14:01:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIgGs-0001sr-KU for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2016 14:01:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48697) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIgGs-0001sg-HA for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2016 14:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bIgGs-0006A9-3Z for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2016 14:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Markus Triska Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Jun 2016 18:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23871 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23871-submit@debbugs.gnu.org id=B23871.146730963723631 (code B ref 23871); Thu, 30 Jun 2016 18:01:02 +0000 Original-Received: (at 23871) by debbugs.gnu.org; 30 Jun 2016 18:00:37 +0000 Original-Received: from localhost ([127.0.0.1]:32801 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bIgGS-000693-QO for submit@debbugs.gnu.org; Thu, 30 Jun 2016 14:00:37 -0400 Original-Received: from metalevel.at ([78.46.218.83]:49071) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bIgGR-00068t-0E for 23871@debbugs.gnu.org; Thu, 30 Jun 2016 14:00:35 -0400 Original-Received: by metalevel.at (Postfix, from userid 1000) id 466DAA0269; Thu, 30 Jun 2016 20:00:31 +0200 (CEST) In-Reply-To: <83h9cavdgj.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 30 Jun 2016 19:38:52 +0300") User-Agent: Emacs/24.4 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:120234 Archived-At: Eli Zaretskii 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