From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23871: 25.1.50; Undo unexpectedly leads to blank buffer Date: Thu, 30 Jun 2016 19:38:52 +0300 Message-ID: <83h9cavdgj.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1467304832 2195 80.91.229.3 (30 Jun 2016 16:40:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Jun 2016 16:40:32 +0000 (UTC) Cc: 23871@debbugs.gnu.org To: Markus Triska Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 30 18:40:21 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 1bIf0h-0004d4-32 for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Jun 2016 18:40:15 +0200 Original-Received: from localhost ([::1]:51628 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIf0f-0001us-Oz for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Jun 2016 12:40:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIf0X-0001rp-B2 for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2016 12:40:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIf0U-00027F-7O for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2016 12:40:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48663) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIf0U-00027B-3y for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2016 12:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bIf0T-00040k-SK for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2016 12:40:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Jun 2016 16:40:01 +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.146730477115371 (code B ref 23871); Thu, 30 Jun 2016 16:40:01 +0000 Original-Received: (at 23871) by debbugs.gnu.org; 30 Jun 2016 16:39:31 +0000 Original-Received: from localhost ([127.0.0.1]:61000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bIezy-0003zp-N3 for submit@debbugs.gnu.org; Thu, 30 Jun 2016 12:39:30 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57703) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bIezx-0003zc-1K for 23871@debbugs.gnu.org; Thu, 30 Jun 2016 12:39:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIezo-00023R-Q6 for 23871@debbugs.gnu.org; Thu, 30 Jun 2016 12:39:23 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42604) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIezo-00023G-Mu; Thu, 30 Jun 2016 12:39:20 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4777 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bIezm-0005ZM-LS; Thu, 30 Jun 2016 12:39:19 -0400 In-reply-to: (message from Markus Triska on Wed, 29 Jun 2016 23:47:19 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:120230 Archived-At: > From: Markus Triska > Date: Wed, 29 Jun 2016 23:47:19 +0200 > > In summary, step 8 leads to 2 problems: > > (a) a blank buffer is shown > (b) point position after the undo is not where point was before the insertion. 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? Anyway, I tried to reproduce the problem, but couldn't: SWI-Prolog 7.3.x seems not to support the OS of my main development machine, and all my attempts to simulate the situation by having a subprocess insert a long string into a buffer failed: after undo I always see a window with the single original line, the one that corresponds to your line 15. As expected. Can you try coming up with a recipe that doesn't involve SWI-Prolog? 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.) Thanks.