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: Tue, 9 Aug 2016 16:38:14 +0000 Message-ID: <20160809163814.GD4893@acm.fritz.box> References: <83fuqnm6og.fsf@gnu.org> <83eg67m3aq.fsf@gnu.org> <20160808143614.GA7208@acm.fritz.box> <83mvkni7xf.fsf@gnu.org> <20160808165449.GB7208@acm.fritz.box> <83d1lji3ih.fsf@gnu.org> <20160808184223.GC7208@acm.fritz.box> <838tw7hyk2.fsf@gnu.org> <20160808195459.GD7208@acm.fritz.box> <83tweugeu9.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 1470762677 15675 195.159.176.226 (9 Aug 2016 17:11:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 9 Aug 2016 17:11:17 +0000 (UTC) User-Agent: Mutt/1.5.24 (2015-08-30) Cc: ofv@wanadoo.es, rcopley@gmail.com, rms@gnu.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 09 19:11:14 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 1bXAYb-0003zk-OI for ged-emacs-devel@m.gmane.org; Tue, 09 Aug 2016 19:11:13 +0200 Original-Received: from localhost ([::1]:36815 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXAYY-0000pT-HT for ged-emacs-devel@m.gmane.org; Tue, 09 Aug 2016 13:11:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53463) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXA3J-0001bt-1P for emacs-devel@gnu.org; Tue, 09 Aug 2016 12:38:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXA3G-0004nK-2V for emacs-devel@gnu.org; Tue, 09 Aug 2016 12:38:52 -0400 Original-Received: from mail.muc.de ([193.149.48.3]:16470) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXA3F-0004mm-Pn for emacs-devel@gnu.org; Tue, 09 Aug 2016 12:38:50 -0400 Original-Received: (qmail 26695 invoked by uid 3782); 9 Aug 2016 16:38:48 -0000 Original-Received: from acm.muc.de (p4FC46C02.dip0.t-ipconnect.de [79.196.108.2]) by colin.muc.de (tmda-ofmipd) with ESMTP; Tue, 09 Aug 2016 18:38:46 +0200 Original-Received: (qmail 15258 invoked by uid 1000); 9 Aug 2016 16:38:14 -0000 Content-Disposition: inline In-Reply-To: <83tweugeu9.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:206511 Archived-At: Hello, Eli. On Tue, Aug 09, 2016 at 06:08:14PM +0300, Eli Zaretskii wrote: > > Date: Mon, 8 Aug 2016 19:54:59 +0000 > > Cc: ofv@wanadoo.es, rcopley@gmail.com, rms@gnu.org, emacs-devel@gnu.org > > From: Alan Mackenzie [ .... ] > > > However, the patch you show below doesn't implement this, does it? > > No, but the following does. It looks kind of simple, given the problems > > we've been through. Maybe this one is the solution: > LGTM, thanks. Feel free to install, and close this issue. DONE. However there's still the inaccuracy in the Elisp documentation for before-change-functions. In particular there's the bit in "Change Hooks" that says: This variable holds a list of functions to call before _ANY_ buffer modification. , which is grossly misleading, at best. Should I open another bug report for this, or are you just going to be fixing it anyway (or giving me the info so that I can fix it)? -- Alan Mackenzie (Nuremberg, Germany).