From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#23785: Emacs 25: "Undo" overdoes things. Date: Sat, 18 Jun 2016 17:41:36 +0000 Message-ID: <20160618174136.GC5796@acm.fritz.box> References: <20160617150245.GB3316@acm.fritz.box> <83r3bvbuu1.fsf@gnu.org> <20160617174535.GD3316@acm.fritz.box> <877fdny0ew.fsf@russet.org.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1466271751 3116 80.91.229.3 (18 Jun 2016 17:42:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Jun 2016 17:42:31 +0000 (UTC) Cc: 23785@debbugs.gnu.org To: Phillip Lord Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 18 19:42:20 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 1bEKG9-0001xQ-9F for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Jun 2016 19:42:17 +0200 Original-Received: from localhost ([::1]:35866 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEKG5-0008F5-B3 for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Jun 2016 13:42:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49075) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEKFx-0008DB-9W for bug-gnu-emacs@gnu.org; Sat, 18 Jun 2016 13:42:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bEKFu-00081d-3X for bug-gnu-emacs@gnu.org; Sat, 18 Jun 2016 13:42:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33031) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bEKFu-00081Y-0G for bug-gnu-emacs@gnu.org; Sat, 18 Jun 2016 13:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bEKFt-0001tD-My for bug-gnu-emacs@gnu.org; Sat, 18 Jun 2016 13:42:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Jun 2016 17:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23785 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23785-submit@debbugs.gnu.org id=B23785.14662716867189 (code B ref 23785); Sat, 18 Jun 2016 17:42:01 +0000 Original-Received: (at 23785) by debbugs.gnu.org; 18 Jun 2016 17:41:26 +0000 Original-Received: from localhost ([127.0.0.1]:45368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEKFK-0001rs-Ba for submit@debbugs.gnu.org; Sat, 18 Jun 2016 13:41:26 -0400 Original-Received: from mail.muc.de ([193.149.48.3]:59003) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bEKFJ-0001ri-2f for 23785@debbugs.gnu.org; Sat, 18 Jun 2016 13:41:25 -0400 Original-Received: (qmail 46150 invoked by uid 3782); 18 Jun 2016 17:41:24 -0000 Original-Received: from acm.muc.de (p548C67AF.dip0.t-ipconnect.de [84.140.103.175]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 18 Jun 2016 19:41:22 +0200 Original-Received: (qmail 6026 invoked by uid 1000); 18 Jun 2016 17:41:36 -0000 Content-Disposition: inline In-Reply-To: <877fdny0ew.fsf@russet.org.uk> User-Agent: Mutt/1.5.24 (2015-08-30) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de 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:119745 Archived-At: Hello, Phil. On Fri, Jun 17, 2016 at 10:23:51PM +0100, Phillip Lord wrote: > Alan Mackenzie writes: > > I don't think it's all that minor an issue. `undo' can no longer be > > depended upon to restore a buffer to its unchanged state. > > I've suffered several similar annoyances with `undo' in the emacs-25 > > branch. > If you report them, then I will look at them, and I would appreciate if > you do report them. For example, at times I've deleted a character, moved point, then deleted another character. Undo has undone both deletions as a single operation, despite the point movement between them. > I changed undo in a way that *was* supposed to change its semantics, > and this may have had negative side effects. Or my changes may have > caused unexpected changes in semantics that I did not intend. The lack of configurability seems to be a problem. There have been times, testing times, when I've felt that each deletion of a character is its own atomic operation. Yet I can't configure undo to respect this wish. [ .... ] > I will investigate. > Phil -- Alan Mackenzie (Nuremberg, Germany).