From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: An idea: combine-change-calls Date: Mon, 02 Apr 2018 20:41:18 -0400 Message-ID: References: <20180324135024.GA6319@ACM> <20180325191424.GE6292@ACM> <20180326201728.GA28620@ACM> <87zi2qkjui.fsf@gnu.org> <20180402162557.GA16027@ACM> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1522716036 14421 195.159.176.226 (3 Apr 2018 00:40:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 3 Apr 2018 00:40:36 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 03 02:40:31 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f39zz-0003ew-Ck for ged-emacs-devel@m.gmane.org; Tue, 03 Apr 2018 02:40:31 +0200 Original-Received: from localhost ([::1]:47135 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3A23-0007U3-3z for ged-emacs-devel@m.gmane.org; Mon, 02 Apr 2018 20:42:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60514) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f3A0x-0007SX-RG for emacs-devel@gnu.org; Mon, 02 Apr 2018 20:41:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f3A0t-0000Ww-UH for emacs-devel@gnu.org; Mon, 02 Apr 2018 20:41:31 -0400 Original-Received: from [195.159.176.226] (port=42416 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f3A0t-0000TH-Nq for emacs-devel@gnu.org; Mon, 02 Apr 2018 20:41:27 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1f39yo-0002OV-1a for emacs-devel@gnu.org; Tue, 03 Apr 2018 02:39:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:LDiKnKHqYvj4YuscZ8xyttGD2YI= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:224263 Archived-At: >> So, AFAIK it's handled properly by undo itself, undo-tree, and >> undo-in-region. Which "package that manipulate buffer-undo-list" are >> you thinking of? > Actually, undo-in-region is problematic. Aside from undo-elt-in-region > (see above), which is easy to fix, there is undo-adjust-elt "Return > adjustment of undo element ELT by the undo DELTAS list.", which can't > adjust the contents of an (apply ...) element, Indeed, that's a very real problem. I've moved this to bug#31035 > Why do we have undo-in-region at all? Because it's a great feature. Stefan