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: Lisp primitives and their calling of the change hooks Date: Thu, 11 Jan 2018 17:39:04 +0000 Message-ID: <20180111173904.GA5453@ACM> References: <20180108192415.GA5531@ACM> <83h8rw6oio.fsf@gnu.org> <20180109195357.GA3869@ACM> <20180110184521.GB6175@ACM> <20180110194839.GC6175@ACM> <20180110210334.GD6175@ACM> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1515692560 28724 195.159.176.226 (11 Jan 2018 17:42:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 11 Jan 2018 17:42:40 +0000 (UTC) User-Agent: Mutt/1.7.2 (2016-11-26) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 11 18:42:36 2018 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 1eZgs7-00071g-AP for ged-emacs-devel@m.gmane.org; Thu, 11 Jan 2018 18:42:35 +0100 Original-Received: from localhost ([::1]:58515 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZgu5-0000VG-6f for ged-emacs-devel@m.gmane.org; Thu, 11 Jan 2018 12:44:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZgtx-0000UV-G3 for emacs-devel@gnu.org; Thu, 11 Jan 2018 12:44:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZgtt-0003KY-Ek for emacs-devel@gnu.org; Thu, 11 Jan 2018 12:44:29 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:22187 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1eZgtt-0003JM-3G for emacs-devel@gnu.org; Thu, 11 Jan 2018 12:44:25 -0500 Original-Received: (qmail 81804 invoked by uid 3782); 11 Jan 2018 17:44:23 -0000 Original-Received: from acm.muc.de (p548C73AF.dip0.t-ipconnect.de [84.140.115.175]) by colin.muc.de (tmda-ofmipd) with ESMTP; Thu, 11 Jan 2018 18:44:22 +0100 Original-Received: (qmail 5498 invoked by uid 1000); 11 Jan 2018 17:39:04 -0000 Content-Disposition: inline In-Reply-To: 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 [fuzzy] X-Received-From: 193.149.48.1 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:221846 Archived-At: Hello, Stefan. On Thu, Jan 11, 2018 at 08:36:55 -0500, Stefan Monnier wrote: > > is surely negligible, and it is not at all clear that the latter (which > > can have simpler hook functions) would be slower than the former (which > > may need elaborate special handling). > I'm very far from convinced about the "elaborate special handling". Well, you agree that there're no advantages to having unbalanced change hooks, so what does it matter how elaborate or not the special handling is? It will be necessary. If we converted all change hooks to being balanced it would not be necessary. > Stefan -- Alan Mackenzie (Nuremberg, Germany).