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 21:10:37 +0300 Message-ID: <83shucfqaq.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> <20160810174930.GC3413@acm.fritz.box> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1470853097 692 195.159.176.226 (10 Aug 2016 18:18:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 10 Aug 2016 18:18:17 +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 20:18:12 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 1bXY4y-0008RV-Hh for ged-emacs-devel@m.gmane.org; Wed, 10 Aug 2016 20:18:12 +0200 Original-Received: from localhost ([::1]:43095 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXY4v-0004gS-EQ for ged-emacs-devel@m.gmane.org; Wed, 10 Aug 2016 14:18:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49367) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXXyC-0007LL-On for emacs-devel@gnu.org; Wed, 10 Aug 2016 14:11:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXXy9-0008MA-Ho for emacs-devel@gnu.org; Wed, 10 Aug 2016 14:11:12 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43883) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXXy9-0008Ld-Ev; Wed, 10 Aug 2016 14:11:09 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4827 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bXXy5-0005mk-An; Wed, 10 Aug 2016 14:11:07 -0400 In-reply-to: <20160810174930.GC3413@acm.fritz.box> (message from Alan Mackenzie on Wed, 10 Aug 2016 17:49:30 +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:206548 Archived-At: > Date: Wed, 10 Aug 2016 17:49:30 +0000 > Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org > From: Alan Mackenzie > > > It's too complicated to describe that. We would need to describe some > > internal aspects of the implementation in great detail. I don't see > > that as worth our while. > > I can't see the difference between your last paragraph and saying it's > totally arbitrary. If the only way to categorise it is to say "look at > the source code" that's arbitrary. > > It can not be a good thing for the call to before-change-functions to be > missed out arbitrarily. It's not arbitrary. But describing when we don't call the before-change hooks would first need to describe the various parts of some buffer modifications, because otherwise you'd be unable to understand which part does and which doesn't call them.