From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: About the overlay property `modification-hooks' Date: Sun, 24 Feb 2013 05:52:16 +0200 Message-ID: <83ppzqjrm7.fsf@gnu.org> References: <20130224113555.6f39233dcc506a402902ff44@gmail.com> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1361687136 28275 80.91.229.3 (24 Feb 2013 06:25:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Feb 2013 06:25:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 24 07:25:59 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U9V23-0001dl-Ag for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Feb 2013 07:25:55 +0100 Original-Received: from localhost ([::1]:59696 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9V1i-0005Ty-D8 for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Feb 2013 01:25:34 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:57261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9V1Z-0005Ky-QW for help-gnu-emacs@gnu.org; Sun, 24 Feb 2013 01:25:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U9Uyd-0007L8-9h for help-gnu-emacs@gnu.org; Sun, 24 Feb 2013 01:22:24 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:60124) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9Sdl-00088S-3J for help-gnu-emacs@gnu.org; Sat, 23 Feb 2013 22:52:41 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MIP00A00H5EOV00@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Sun, 24 Feb 2013 05:52:27 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MIP00ASPHFEOF20@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Sun, 24 Feb 2013 05:52:27 +0200 (IST) In-reply-to: <20130224113555.6f39233dcc506a402902ff44@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89245 Archived-At: > Date: Sun, 24 Feb 2013 11:35:55 +0800 > From: Xue Fuqiao > > In (info "(elisp) Overlay Properties"): > > When called after a change, each function receives five arguments: > the overlay, `t', the beginning and end of the text range just ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > modified, and the length of the pre-change text replaced by that > range. (For an insertion, the pre-change length is zero; for a > deletion, that length is the number of characters deleted, and the > post-change beginning and end are equal.) > > I'm perplexed about the sentence in the parentheses. What does the > "post-change beginning and end" mean here? Can anybody help? Thanks. See the part underlined above.