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: A question about overlay-modification Date: Fri, 25 Nov 2016 12:14:42 +0200 Message-ID: <83d1hj50j1.fsf@gnu.org> References: <87inrdgibz.fsf@fastmail.com> <83eg206cj3.fsf@gnu.org> <87eg20gdhi.fsf@fastmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1480069012 21698 195.159.176.226 (25 Nov 2016 10:16:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 25 Nov 2016 10:16:52 +0000 (UTC) Cc: emacs-devel@gnu.org To: Joakim Jalap Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 25 11:16:46 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 1cADYj-0004R6-R4 for ged-emacs-devel@m.gmane.org; Fri, 25 Nov 2016 11:16:45 +0100 Original-Received: from localhost ([::1]:45059 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cADYl-0004Tq-SD for ged-emacs-devel@m.gmane.org; Fri, 25 Nov 2016 05:16:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cADWz-0003pG-C8 for emacs-devel@gnu.org; Fri, 25 Nov 2016 05:14:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cADWu-0004z7-Kh for emacs-devel@gnu.org; Fri, 25 Nov 2016 05:14:57 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59984) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cADWu-0004z1-HM; Fri, 25 Nov 2016 05:14:52 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2232 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1cADWu-0005T1-08; Fri, 25 Nov 2016 05:14:52 -0500 In-reply-to: <87eg20gdhi.fsf@fastmail.com> (message from Joakim Jalap on Fri, 25 Nov 2016 09:39:21 +0100) 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:209587 Archived-At: > From: Joakim Jalap > Cc: emacs-devel@gnu.org > Date: Fri, 25 Nov 2016 09:39:21 +0100 > > > . without the code you cite, overlays ending exactly at START and > > starting exactly at END won't get their hooks called (see the > > condition after the snippet you show > > But the condition after the snippet I showed concerns different hooks. Yes. As described in the commentary. > >> (As an aside, the doc string mentions insert-before-hooks and > >> insert-after-hooks, while the code has Qinsert_in_front_hooks and > >> Qinsert_behind_hooks. Is this intentional or just left overs?) > > > > It's one of those cases where the comments lie... > > Then I will rewrite it when I get to there :) Thanks.