From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Possible `point-entered' `point-left' Text Property Bug Date: Mon, 15 May 2006 01:13:01 -0400 Message-ID: References: <87r7304jck.fsf@stupidchicken.com> <873bfff7x2.fsf@stupidchicken.com> <87mzdmyme4.fsf@stupidchicken.com> <87u07styso.fsf@stupidchicken.com> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1147670005 29129 80.91.229.2 (15 May 2006 05:13:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 May 2006 05:13:25 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 15 07:13:21 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FfVOP-00043G-Kt for ged-emacs-devel@m.gmane.org; Mon, 15 May 2006 07:13:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FfVOP-0007b8-0C for ged-emacs-devel@m.gmane.org; Mon, 15 May 2006 01:13:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FfVOC-0007as-Id for emacs-devel@gnu.org; Mon, 15 May 2006 01:13:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FfVOC-0007aY-2x for emacs-devel@gnu.org; Mon, 15 May 2006 01:13:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FfVOB-0007aV-R6 for emacs-devel@gnu.org; Mon, 15 May 2006 01:13:03 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FfVQV-0005dr-MC for emacs-devel@gnu.org; Mon, 15 May 2006 01:15:27 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1FfVO9-0002IB-JP; Mon, 15 May 2006 01:13:01 -0400 Original-To: Chong Yidong In-reply-to: <87u07styso.fsf@stupidchicken.com> (message from Chong Yidong on Sun, 14 May 2006 11:24:07 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:54483 Archived-At: > Hmm, I agree that scanning from point-min is somewhat odd. > Maybe it would be better to use (line-beginning-position) > instead of (point-min) as the starting point. What do you think? > Does that make it work? Not always. For example, when point-left and point-entered are placed over an interval that does not cover the line-beginning position, as shown: | interval | 1 2 3 4_5 6 7 8 9 ^ point is here The scenario is not fully specified, so I am not sure what the code will do, nor can I start to think about whether it is right or wrong. Could you try making a completely specified scenario, and show what the code will do?