From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xue Fuqiao Newsgroups: gmane.emacs.help Subject: About the overlay property `modification-hooks' Date: Sun, 24 Feb 2013 11:35:55 +0800 Organization: The Church of Emacs Message-ID: <20130224113555.6f39233dcc506a402902ff44@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1361676979 25176 80.91.229.3 (24 Feb 2013 03:36:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Feb 2013 03:36:19 +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 04:36:41 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 1U9SOF-0006hZ-6B for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Feb 2013 04:36:39 +0100 Original-Received: from localhost ([::1]:36583 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9SNu-0001ic-Hf for geh-help-gnu-emacs@m.gmane.org; Sat, 23 Feb 2013 22:36:18 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:32838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9SNp-0001iO-BF for help-gnu-emacs@gnu.org; Sat, 23 Feb 2013 22:36:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U9SNn-0004UV-Rd for help-gnu-emacs@gnu.org; Sat, 23 Feb 2013 22:36:13 -0500 Original-Received: from mail-pa0-f54.google.com ([209.85.220.54]:53961) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9SNn-0004UF-Lf for help-gnu-emacs@gnu.org; Sat, 23 Feb 2013 22:36:11 -0500 Original-Received: by mail-pa0-f54.google.com with SMTP id fa10so1164182pad.13 for ; Sat, 23 Feb 2013 19:36:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:subject:message-id:organization:x-mailer :mime-version:content-type:content-transfer-encoding; bh=wHxZqZUCL2CaRjy0Vv9S6KNuOJO9qf56DfgSBdEwp3k=; b=NisUjrEzF9RmLpXfOWofP0vihY1y6DREOqxK1mXRSgdPAuv31T3qwJvxJp/U7LDjXK DGjkoI1/jhyLZadAUdUxTs/AWTt/CohrwyiDgrTxhdVKthez/4X5DLhb1mUCZ5g0rv7j wLEMidEfkJPO0TOi3wU8XvEdmImShurMa59qVv2w7Lo+VfhTEchKKMNkWvIJGHEVggwe IcyJYWIMZThV1hEa7k24iJ1TaRWMmc1JfuIsfmuT55ZmWpZAGPvztoqJdXoSdvu35NNv jbrR6Lfn4W+DLkz3zH4lKfUBu+quAOWufYJ6MmzYK4MPhQFp++wqjcUXrK8jlMEKE1LZ MDTg== X-Received: by 10.68.191.9 with SMTP id gu9mr11287624pbc.23.1361676970769; Sat, 23 Feb 2013 19:36:10 -0800 (PST) Original-Received: from Emacs ([61.149.226.23]) by mx.google.com with ESMTPS id rn14sm7874160pbb.33.2013.02.23.19.36.05 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 23 Feb 2013 19:36:10 -0800 (PST) X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.13; x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.220.54 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:89244 Archived-At: 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. -- Best regards, Xue Fuqiao. http://www.emacswiki.org/emacs/XueFuqiao