From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Unbalanced change hooks (part 2) [Documentation fix still remaining] Date: Wed, 10 Aug 2016 17:49:30 +0000 Message-ID: <20160810174930.GC3413@acm.fritz.box> 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1470851428 1134 195.159.176.226 (10 Aug 2016 17:50:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 10 Aug 2016 17:50:28 +0000 (UTC) User-Agent: Mutt/1.5.24 (2015-08-30) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 10 19:50:22 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 1bXXe0-0008VI-Di for ged-emacs-devel@m.gmane.org; Wed, 10 Aug 2016 19:50:20 +0200 Original-Received: from localhost ([::1]:42968 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXXdx-000707-8H for ged-emacs-devel@m.gmane.org; Wed, 10 Aug 2016 13:50:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXXdr-0006xp-Ch for emacs-devel@gnu.org; Wed, 10 Aug 2016 13:50:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXXdn-0002Cf-7N for emacs-devel@gnu.org; Wed, 10 Aug 2016 13:50:10 -0400 Original-Received: from mail.muc.de ([193.149.48.3]:64259) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXXdm-00027a-U2 for emacs-devel@gnu.org; Wed, 10 Aug 2016 13:50:07 -0400 Original-Received: (qmail 20584 invoked by uid 3782); 10 Aug 2016 17:50:02 -0000 Original-Received: from acm.muc.de (p548C65E5.dip0.t-ipconnect.de [84.140.101.229]) by colin.muc.de (tmda-ofmipd) with ESMTP; Wed, 10 Aug 2016 19:50:00 +0200 Original-Received: (qmail 4095 invoked by uid 1000); 10 Aug 2016 17:49:30 -0000 Content-Disposition: inline In-Reply-To: <83wpjofttf.fsf@gnu.org> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x X-Received-From: 193.149.48.3 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:206547 Archived-At: Hello, Eli. On Wed, Aug 10, 2016 at 07:54:36PM +0300, Eli Zaretskii wrote: > > Date: Wed, 10 Aug 2016 16:18:21 +0000 > > Cc: Stefan Monnier , emacs-devel@gnu.org > > From: Alan Mackenzie > > > > Then the old text was right: it's called before ANY modification. [ .... ] > > Some while ago, I think you said that there is a systematic basis for > > when before-change-functions doesn't get called. Is that still your > > view? > Yes. > > If so, let's document that system. > 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. > Thanks. -- Alan Mackenzie (Nuremberg, Germany).