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: Fri, 30 Mar 2018 09:04:06 -0400 Message-ID: References: <20180324135024.GA6319@ACM> <20180325191424.GE6292@ACM> <20180326201728.GA28620@ACM> <87zi2qkjui.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1522414984 32451 195.159.176.226 (30 Mar 2018 13:03:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 30 Mar 2018 13:03:04 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Johan =?windows-1252?Q?Bockg=E5rd?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 30 15:03:00 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 1f1tgF-0008BF-II for ged-emacs-devel@m.gmane.org; Fri, 30 Mar 2018 15:02:55 +0200 Original-Received: from localhost ([::1]:35220 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f1tiI-0002Pr-Sg for ged-emacs-devel@m.gmane.org; Fri, 30 Mar 2018 09:05:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59360) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f1thU-0002PJ-IE for emacs-devel@gnu.org; Fri, 30 Mar 2018 09:04:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f1thR-0007W6-EM for emacs-devel@gnu.org; Fri, 30 Mar 2018 09:04:12 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:37653) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f1thR-0007Vp-9g; Fri, 30 Mar 2018 09:04:09 -0400 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w2UD47S9004599; Fri, 30 Mar 2018 09:04:07 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 103D0663C5; Fri, 30 Mar 2018 09:04:07 -0400 (EDT) In-Reply-To: <87zi2qkjui.fsf@gnu.org> ("Johan =?windows-1252?Q?Bockg=E5rd?= =?windows-1252?Q?=22's?= message of "Fri, 30 Mar 2018 11:12:37 +0200") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6254=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6254> : inlines <6531> : streams <1782698> : uri <2617429> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 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:224178 Archived-At: > But the `(apply ...)' forms are a problem for exactly these other > things. It's too powerful. The packages that manipulate buffer-undo-list > can't (and don't try to) handle `apply' properly, since it can contain > arbitrary effects. AFAIK the (apply ...) has the needed constraints for undo-in-region to handle it properly. If not, we should fix it. 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? Stefan