From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#15312: Info (point-entered, point-left): Doc incomplete, hence incorrect Date: Sat, 14 Sep 2013 09:48:11 +0300 Message-ID: <83hadnhpas.fsf@gnu.org> References: <87ppsiw22k.fsf@gmail.com> <83sixej6iz.fsf@gnu.org> <878uz573kr.fsf@gmail.com> <83fvtck8mv.fsf@gnu.org> <87hadrel77.fsf@gmail.com> <83zjrjiifl.fsf@gnu.org> <877gel1ejy.fsf@gmail.com> <87vc25z1pe.fsf@gmail.com> <83vc24hmtr.fsf@gnu.org> <83six8hfvl.fsf@gnu.org> <83ppschdqx.fsf@gnu.org> <83ob7wh6b4.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1379141354 31063 80.91.229.3 (14 Sep 2013 06:49:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Sep 2013 06:49:14 +0000 (UTC) Cc: 15312@debbugs.gnu.org, kjambunathan@gmail.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 14 08:49:16 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 1VKjfQ-0001ER-1p for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Sep 2013 08:49:16 +0200 Original-Received: from localhost ([::1]:52168 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKjfP-0008Eh-M0 for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Sep 2013 02:49:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKjfH-0008EY-OT for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2013 02:49:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VKjfC-0004qL-Kg for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2013 02:49:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55490) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKjfC-0004qH-HA for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2013 02:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VKjfB-0002Mx-Oy for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2013 02:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Sep 2013 06:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15312 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15312-submit@debbugs.gnu.org id=B15312.13791413169062 (code B ref 15312); Sat, 14 Sep 2013 06:49:01 +0000 Original-Received: (at 15312) by debbugs.gnu.org; 14 Sep 2013 06:48:36 +0000 Original-Received: from localhost ([127.0.0.1]:35549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VKjek-0002M6-Uq for submit@debbugs.gnu.org; Sat, 14 Sep 2013 02:48:35 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:42647) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VKjeg-0002Ln-8i for 15312@debbugs.gnu.org; Sat, 14 Sep 2013 02:48:31 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MT300900RYC4H00@a-mtaout20.012.net.il> for 15312@debbugs.gnu.org; Sat, 14 Sep 2013 09:48:23 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MT3009KPS8K3U30@a-mtaout20.012.net.il>; Sat, 14 Sep 2013 09:48:20 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il 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:78381 Archived-At: > From: Stefan Monnier > Cc: kjambunathan@gmail.com, 15312@debbugs.gnu.org > Date: Fri, 13 Sep 2013 16:32:16 -0400 > > > To get this right, we need to decide what is the correct behavior in > > this case. Do we want the hooks to be called for each point motion, > > or do we want them to be called only at point-min and point-max? > > I think the correct thing to do is too costly for an operation that's > performed every time we move point. So you think in this specific situation the hooks need indeed be called for each point move? Or did you mean something else as "the correct thing"? Perhaps we need to step back and talk about the situations where these hooks are supposed to be used. Because I cannot see any sense in calling the hooks when the values of these properties don't change. Maybe you already thought about all that, and the conclusion is the same, but I think for the record it is important to have the discussion here. > The right thing to do is to declare point-entered and point-left > properties as obsolete and replace them by something like cursor-entered > and cursor-left properties which are only checked at command boundaries > (or better, checked just before redisplay). Redisplay can be forced as part of a command.