From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.bugs Subject: bug#15312: Info (point-entered, point-left): Doc incomplete, hence incorrect Date: Mon, 09 Sep 2013 19:04:59 +0530 Message-ID: <87ppsiw22k.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1378733666 29590 80.91.229.3 (9 Sep 2013 13:34:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Sep 2013 13:34:26 +0000 (UTC) To: 15312@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 09 15:34:28 2013 Return-path: Envelope-to: geb-bug-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 1VJ1bl-0002Fv-Ie for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Sep 2013 15:34:25 +0200 Original-Received: from localhost ([::1]:51419 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJ1bl-0005IV-4Q for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Sep 2013 09:34:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57092) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJ1bZ-0005HE-RI for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2013 09:34:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJ1bR-00029N-Dz for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2013 09:34:13 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41896) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJ1bR-00029J-AM for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2013 09:34:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VJ1bQ-00041z-Ai for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2013 09:34:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jambunathan K Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Sep 2013 13:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15312 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.137873360215442 (code B ref -1); Mon, 09 Sep 2013 13:34:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Sep 2013 13:33:22 +0000 Original-Received: from localhost ([127.0.0.1]:50189 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VJ1ah-00040x-TE for submit@debbugs.gnu.org; Mon, 09 Sep 2013 09:33:21 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54996) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VJ1aa-00040d-EM for submit@debbugs.gnu.org; Mon, 09 Sep 2013 09:33:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJ1aM-0001ty-PS for submit@debbugs.gnu.org; Mon, 09 Sep 2013 09:33:07 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:48735) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJ1aM-0001tt-M5 for submit@debbugs.gnu.org; Mon, 09 Sep 2013 09:32:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56622) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJ1aE-00058H-9Q for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2013 09:32:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJ1a5-0001jC-SO for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2013 09:32:50 -0400 Original-Received: from mail-pd0-x22f.google.com ([2607:f8b0:400e:c02::22f]:55747) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJ1a5-0001iG-KY for bug-gnu-emacs@gnu.org; Mon, 09 Sep 2013 09:32:41 -0400 Original-Received: by mail-pd0-f175.google.com with SMTP id q10so6158872pdj.6 for ; Mon, 09 Sep 2013 06:32:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; bh=JihACDubu7DDs9uqORNVlAAHeLUKlEH/9RatUYTUDow=; b=Tge7hi8Q5ME3LXlG5SpGLy38FYjAq4CaOqVZ0aCFMgkTwhm4iXvY3vQ1hrlrielOcD Ubfi2m9z9s/914c4e7tbR5Au44F/D6Mc8v0DrQXy2zvY03DeAuIaMijgNUuEqbQDRUXr +ql5gv2FC1PwMyliO4+lXSi/v7+tWvNguGkUGxA2BpKEfeAcF55ugX6bzKMz9C7RAN0T GJbEjPdwjS3i62bHniUvs6Nib59eWvW6tcwNd2Nokw74/QTODhM1ROi01ABN6lRWoLDx DBDktmYQ6wcB/kUI0YTq/Qf/KzudS0X9pFs5kM2RaoqnEgh97hEX5rAcf6ct9vgryE+d pDWw== X-Received: by 10.67.3.103 with SMTP id bv7mr19944555pad.15.1378733560514; Mon, 09 Sep 2013 06:32:40 -0700 (PDT) Original-Received: from porunai ([115.244.224.237]) by mx.google.com with ESMTPSA id nv6sm16338854pbc.6.1969.12.31.16.00.00 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Mon, 09 Sep 2013 06:32:39 -0700 (PDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:78146 Archived-At: The info doc (see below) makes no mention of intervals/text properties. It should mention what intervals.c actually does. ,---- From intervals.c | /* We run point-left and point-entered hooks here, if the | two intervals are not equivalent. These hooks take | (old_point, new_point) as arguments. */ `---- ,---- (info "(elisp) Special Properties") | `point-entered' | `point-left' | The special properties `point-entered' and `point-left' record | hook functions that report motion of point. Each time point | moves, Emacs compares these two property values: | | * the `point-left' property of the character after the old | location, and | | * the `point-entered' property of the character after the new | location. | | If these two values differ, each of them is called (if not `nil') | with two arguments: the old value of point, and the new one. `----