From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Unbalanced change hooks (part 2) [Documentation fix still remaining] Date: Tue, 30 Aug 2016 21:51:20 +0300 Message-ID: <838tvem6on.fsf@gnu.org> References: <7e1478b6-cf00-fcbf-8c24-43bdaa57e2b6@dancol.org> <415d1cca-f32c-624e-a4be-9aadcf8a0f17@dancol.org> <83inujbpek.fsf@gnu.org> <20160830171222.GA6672@acm.fritz.box> <83inuimajv.fsf@gnu.org> <20160830174223.GB6672@acm.fritz.box> <83d1kqm9cj.fsf@gnu.org> <20160830181637.GD6672@acm.fritz.box> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1472583198 6135 195.159.176.226 (30 Aug 2016 18:53:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 30 Aug 2016 18:53:18 +0000 (UTC) Cc: dancol@dancol.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 30 20:53:13 2016 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 1beo9j-0000df-TB for ged-emacs-devel@m.gmane.org; Tue, 30 Aug 2016 20:53:08 +0200 Original-Received: from localhost ([::1]:50768 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1beo9h-0006ly-Ee for ged-emacs-devel@m.gmane.org; Tue, 30 Aug 2016 14:53:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1beo8N-0006NK-Io for emacs-devel@gnu.org; Tue, 30 Aug 2016 14:51:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1beo8K-0004Cu-A6 for emacs-devel@gnu.org; Tue, 30 Aug 2016 14:51:43 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59297) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1beo8K-0004Cq-6b; Tue, 30 Aug 2016 14:51:40 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2021 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1beo8H-0002q8-9f; Tue, 30 Aug 2016 14:51:39 -0400 In-reply-to: <20160830181637.GD6672@acm.fritz.box> (message from Alan Mackenzie on Tue, 30 Aug 2016 18:16:38 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:206996 Archived-At: > Date: Tue, 30 Aug 2016 18:16:38 +0000 > Cc: dancol@dancol.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org > From: Alan Mackenzie > > > And the part about "balanced pairs" is simply false, if "balanced" is > > to be interpreted in its everyday's meaning. > > I don't understand what you mean. By balanced, I essentially mean that > (i) b-c-f and a-c-f alternate, > (ii) b-c-f's beg is the same as a-c-f's beg, > (iii) b-c-f's (- end beg) is equal to a-c-f's old-len. That's just it: the above happens only in "simple" changes, like a simple deletion or insertion. Any more complex changes don't do it "balanced" according to your definition. Look, do we have to reiterate this endless discussion that leads nowhere? I wasted all my free time today reading and replying to messages about this, something that I thought was closed long ago. Important patches that were ready to be applied and pushed are still waiting because I didn't have time for them. I suggest that we leave it alone -- again. Thanks.