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: Problem report #53 -- real problem Date: Sun, 21 May 2006 22:39:20 -0400 Message-ID: References: <200604111548.k3BFm834015075@scanner2.ics.uci.edu> <200605110512.k4B5CwWK011916@amrm2.ics.uci.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1148265893 15284 80.91.229.2 (22 May 2006 02:44:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 22 May 2006 02:44:53 +0000 (UTC) Cc: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 22 04:44:52 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 1Fi0Pb-0005Mk-BU for ged-emacs-devel@m.gmane.org; Mon, 22 May 2006 04:44:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fi0Pa-0001l7-PE for ged-emacs-devel@m.gmane.org; Sun, 21 May 2006 22:44:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fi0KV-00085x-OF for emacs-devel@gnu.org; Sun, 21 May 2006 22:39:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fi0KV-00085g-9U for emacs-devel@gnu.org; Sun, 21 May 2006 22:39:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fi0KV-00085b-4n for emacs-devel@gnu.org; Sun, 21 May 2006 22:39:35 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fi0OO-0008Fn-Qf for emacs-devel@gnu.org; Sun, 21 May 2006 22:43:36 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1Fi0KG-00030Z-17; Sun, 21 May 2006 22:39:20 -0400 Original-to: dann@ics.uci.edu, snogglethorpe@gmail.com, emacs-devel@gnu.org In-reply-to: (message from Richard Stallman on Sun, 14 May 2006 19:30:03 -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:54996 Archived-At: Can people please try to help with this? Is it right to assume that XINT (pos) is always >= BUF_BEGV (XBUFFER (buffer)) ? If yes, then this problem report is FALSE. This is a real problem. Currently it IS possible to call text_property_stickiness with a POS value that is before BEGV. text_property_stickiness is called from get_pos_property, which is called from find_field, which is called from various user-level functions in editfns.c. I made sure the other callers can't call it with a POS value before BEGV. But this one case is hard, and I am not sure what is right to do here.