From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.bugs Subject: bug#23871: 25.1.50; Undo unexpectedly leads to blank buffer Date: Sun, 03 Jul 2016 21:37:53 +0100 Message-ID: <87shvqpie6.fsf@russet.org.uk> 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> <83r3barc0n.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1467578367 18841 80.91.229.3 (3 Jul 2016 20:39:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Jul 2016 20:39:27 +0000 (UTC) Cc: 23871@debbugs.gnu.org, Markus Triska , Stefan Monnier To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 03 22:39: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 1bJoAc-0007UV-La for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jul 2016 22:39:14 +0200 Original-Received: from localhost ([::1]:44030 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJoAb-00068k-OU for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jul 2016 16:39:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48815) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJoAV-00068R-Jw for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2016 16:39:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bJoAQ-0003Il-KI for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2016 16:39:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJoAQ-0003IU-GV for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2016 16:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bJoAQ-0005fi-Bg for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2016 16:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: phillip.lord@russet.org.uk (Phillip Lord) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Jul 2016 20:39: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.146757828221707 (code B ref 23871); Sun, 03 Jul 2016 20:39:02 +0000 Original-Received: (at 23871) by debbugs.gnu.org; 3 Jul 2016 20:38:02 +0000 Original-Received: from localhost ([127.0.0.1]:36262 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bJo9S-0005e2-Hx for submit@debbugs.gnu.org; Sun, 03 Jul 2016 16:38:02 -0400 Original-Received: from cloud103.planethippo.com ([31.216.48.48]:34011) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bJo9Q-0005dX-3F for 23871@debbugs.gnu.org; Sun, 03 Jul 2016 16:38:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From; bh=FiDSLEofoN+ILrcpQ9/CkeMXrm414DKPoVi9QkAnTVw=; b=BLPAGtJyI0X+oADtFRVHRjoYeJ P5O5ToNNhiddftbZZFBJUvzb8VyzxiUvr5gEuNE4mQNyPlFRZc6MAve24Idmqi2l9U8cKkVTJw/rX dlD5Q9XwJ5q9CCBV15terZA/uCiEnnKZlRcSzwM7k1pj+ZI9NCVWUQe/7RrQvo7p+Z3b+aWJ8MrFE vNHIH9t+8+cjcbgwfiOEvpvXR4Rx5JGVpGuYRr6K/4OagVU6T+QNtbrR5zzEOVncT97yQNY92dlnr icvnKFP9XOuX/E0rX17URvcGrwNmK6zTWlcMh3dpOMfq9HYlL9BVySHdr73nk1RIQZQaEYxhJ8m6k aJycVBJg==; Original-Received: from cpc1-benw10-2-0-cust373.gate.cable.virginm.net ([77.98.219.118]:56224 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.86_1) (envelope-from ) id 1bJo9K-003EM1-8C; Sun, 03 Jul 2016 21:37:54 +0100 In-Reply-To: <83r3barc0n.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 03 Jul 2016 18:12:40 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk 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:120370 Archived-At: Eli Zaretskii writes: >> 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. I think we have two bugs (one which covers the other). Handling of point after an insertion. This was hiding another, which is handling of point as the first change in a buffer. Although the last one was being hidden, I think this would also affect deletes. > 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. Yeah, I'd really like Stefan to look over it also. Or, alternatively, would could wait a week till I have had chance to finish reading the "How to Program C" book I just bought. Phil