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: Wed, 10 Aug 2016 22:08:30 +0300 Message-ID: <83popgfnm9.fsf@gnu.org> References: <83tweugeu9.fsf@gnu.org> <20160809163814.GD4893@acm.fritz.box> <83inv9hkjd.fsf@gnu.org> <83h9ashfgx.fsf@gnu.org> <831t1wharr.fsf@gnu.org> <20160810161821.GB3413@acm.fritz.box> <83wpjofttf.fsf@gnu.org> <20160810185735.GD3413@acm.fritz.box> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1470856508 370 195.159.176.226 (10 Aug 2016 19:15:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 10 Aug 2016 19:15:08 +0000 (UTC) Cc: 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 Wed Aug 10 21:15:03 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 1bXYxz-0008Ml-Bs for ged-emacs-devel@m.gmane.org; Wed, 10 Aug 2016 21:15:03 +0200 Original-Received: from localhost ([::1]:43366 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXYxw-00059p-9M for ged-emacs-devel@m.gmane.org; Wed, 10 Aug 2016 15:15:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXYsB-0006bt-CQ for emacs-devel@gnu.org; Wed, 10 Aug 2016 15:09:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXYs7-0001lC-52 for emacs-devel@gnu.org; Wed, 10 Aug 2016 15:09:03 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXYs7-0001kN-1n; Wed, 10 Aug 2016 15:08:59 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4872 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bXYs3-00023U-4b; Wed, 10 Aug 2016 15:08:57 -0400 In-reply-to: <20160810185735.GD3413@acm.fritz.box> (message from Alan Mackenzie on Wed, 10 Aug 2016 18:57:35 +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:206550 Archived-At: > Date: Wed, 10 Aug 2016 18:57:35 +0000 > Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org > From: Alan Mackenzie > > ######################################################################### > > Do @emph{not} expect the before-change hooks and the after-change > hooks be called in balanced pairs around each buffer change. Also > don't expect the before-change hooks to be called for every chunk of > text Emacs is about to delete. These hooks are provided on the > assumption that Lisp programs will use either before- or the > after-change hooks, but not both, and the boundaries of the region > where the changes happen might include more than just the actual > changed text, or even lump together several changes done piecemeal. > > ######################################################################### > > I don't like that text at all. For what it's worth, I find it > objectionable in the extreme. It's not even true. OK, I'm now officially done with discussing this with you. I find your ingratitude and downright rudeness extremely out of line. I regret I ever started talking about this. This text stays.