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: Sun, 03 Jul 2016 18:12:40 +0300 Message-ID: <83r3barc0n.fsf@gnu.org> References: <83h9cavdgj.fsf@gnu.org> <87poqyy2tc.fsf@metalevel.at> <87vb0qqrkz.fsf@russet.org.uk> <87h9c9zx75.fsf@metalevel.at> <834m89vmyv.fsf@gnu.org> <878txlsbdb.fsf@russet.org.uk> <87furtccdv.fsf@metalevel.at> <877fd5q9te.fsf@russet.org.uk> <83bn2gtruk.fsf@gnu.org> <87k2h37pvb.fsf@russet.org.uk> <87zipz223y.fsf@metalevel.at> <87a8hzkqp2.fsf@russet.org.uk> <87d1mv9gqm.fsf@metalevel.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1467558867 5677 80.91.229.3 (3 Jul 2016 15:14:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Jul 2016 15:14:27 +0000 (UTC) Cc: 23871@debbugs.gnu.org, phillip.lord@russet.org.uk To: Markus Triska , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 03 17:14:15 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 1bJj66-0006d7-Nf for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jul 2016 17:14:14 +0200 Original-Received: from localhost ([::1]:42979 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJj65-0006HD-LC for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jul 2016 11:14:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54533) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJj5z-0006Gy-FT for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2016 11:14:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bJj5t-0005Nj-Ox for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2016 11:14:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51936) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJj5t-0005Nf-Lj for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2016 11:14:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bJj5t-0003hh-IJ for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2016 11:14: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: Sun, 03 Jul 2016 15:14: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.146755878414161 (code B ref 23871); Sun, 03 Jul 2016 15:14:01 +0000 Original-Received: (at 23871) by debbugs.gnu.org; 3 Jul 2016 15:13:04 +0000 Original-Received: from localhost ([127.0.0.1]:36040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bJj4y-0003gL-CG for submit@debbugs.gnu.org; Sun, 03 Jul 2016 11:13:04 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bJj4w-0003fi-Ly for 23871@debbugs.gnu.org; Sun, 03 Jul 2016 11:13:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bJj4q-0004nG-Mg for 23871@debbugs.gnu.org; Sun, 03 Jul 2016 11:12:57 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36418) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJj4g-0004mB-BX; Sun, 03 Jul 2016 11:12:46 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4686 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bJj4e-0002kY-19; Sun, 03 Jul 2016 11:12:44 -0400 In-reply-to: <87d1mv9gqm.fsf@metalevel.at> (message from Markus Triska on Sun, 03 Jul 2016 12:08:01 +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:120338 Archived-At: merge 1095 21722 thanks > From: Markus Triska > Cc: Eli Zaretskii , 23871@debbugs.gnu.org > Date: Sun, 03 Jul 2016 12:08:01 +0200 > > Please note that #23871 is the main problem for me and has been present > in Emacs for about a decade. The other issues I filed are only my > attempts to make the issue more easily reproducible, and may in fact > even be unrelated issues that I find while trying to find the root cause > of #23871. I first filed #1095, then adapted this to #21722, and now > also filed #23871 because redisplay may also be involved. AFAICS, 1095 and 21722 report exactly the same problem; 21722 should have never been opened as a separate bug. So I just merged them together. > I have tolerated the problems described in #1095 and #21722 for about a > decade and see no reason to delay Emacs 25: Neither Emacs 23 nor 24 were > delayed because of them although these issues were already reported! > #23871 was also present during this time but not yet reported. That may be so, but my problem, which _is_ a regression from 24.5, is that even this part of 1095: In "emacs -Q", when I insert into *scratch* the form: (progn (end-of-line) (insert "\nhi")) then place point on the "g" and press C-M-x C-/, then the insertion is undone, and point remains on the "g", as expected. doesn't work as expected in Emacs 25. This is a regression I'd like to fix before 25.1 is released. And this part of 1095/21722 _is_ solved by Phillip's patch, so I think we should install it on the release branch. However, I'd like Stefan to look over the patch before we install it.