From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Possible `point-entered' `point-left' Text Property Bug Date: Fri, 12 May 2006 10:05:37 -0400 Message-ID: <87fyjf49u6.fsf@stupidchicken.com> References: <87r7304jck.fsf@stupidchicken.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1147442766 24005 80.91.229.2 (12 May 2006 14:06:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 12 May 2006 14:06:06 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 12 16:06:03 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 1FeYHC-0007Rm-0m for ged-emacs-devel@m.gmane.org; Fri, 12 May 2006 16:05:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FeYHB-0004ZQ-Aj for ged-emacs-devel@m.gmane.org; Fri, 12 May 2006 10:05:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FeYH0-0004ZD-UH for emacs-devel@gnu.org; Fri, 12 May 2006 10:05:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FeYH0-0004Yz-Kv for emacs-devel@gnu.org; Fri, 12 May 2006 10:05:42 -0400 Original-Received: from [18.72.1.2] (helo=south-station-annex.mit.edu) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FeYIk-0001bb-TL; Fri, 12 May 2006 10:07:31 -0400 Original-Received: from grand-central-station.mit.edu (GRAND-CENTRAL-STATION.MIT.EDU [18.7.21.82]) by south-station-annex.mit.edu (8.13.6/8.9.2) with ESMTP id k4CE5fCA027907; Fri, 12 May 2006 10:05:41 -0400 (EDT) Original-Received: from outgoing-legacy.mit.edu (OUTGOING-LEGACY.MIT.EDU [18.7.22.104]) by grand-central-station.mit.edu (8.13.6/8.9.2) with ESMTP id k4CE5fMt009072; Fri, 12 May 2006 10:05:41 -0400 (EDT) Original-Received: from cyd (SYDNEYPACIFIC-THIRTY.MIT.EDU [18.95.5.30]) ) by outgoing-legacy.mit.edu (8.13.6/8.12.4) with ESMTP id k4CE5cti007879; Fri, 12 May 2006 10:05:38 -0400 (EDT) Original-Received: from cyd by cyd with local (Exim 3.36 #1 (Debian)) id 1FeYGv-0005yd-00; Fri, 12 May 2006 10:05:37 -0400 Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Fri, 12 May 2006 00:15:45 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: -1.215 X-Scanned-By: MIMEDefang 2.42 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:54336 Archived-At: > When executing previous-line and next-line, a situation can arise > where no "character before point" is found for the point left, whereas > one exists for the point entered (or vice versa). That's why the > point-entered/left hooks are called. > > That seems like correct behavior to me. At least, more correct than > the alternative. If the entered/left functions are called in this > case, they can detect this case and decide to do nothing. But if we > change the code NOT to call them in this case, and some program wants > them to be called, there is nothing it can do. > > Does this behavior really cause a problem that is hard to work around? > Or did it just strike people as incorrect? It struck the bug reporter as incorrect. I don't know any real-life problem that it causes.