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: text_property_stickiness Date: Tue, 27 Jun 2006 20:04:42 -0400 Message-ID: <87psgutaat.fsf@stupidchicken.com> References: <87r71ee1uq.fsf@stupidchicken.com> <87ac81eyu7.fsf@stupidchicken.com> <87d5cvx0vd.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 1151453089 15802 80.91.229.2 (28 Jun 2006 00:04:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Jun 2006 00:04:49 +0000 (UTC) Cc: emacs-devel@gnu.org, Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 28 02:04:46 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 1FvNXs-0007Bl-A8 for ged-emacs-devel@m.gmane.org; Wed, 28 Jun 2006 02:04:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FvNXr-0001eO-N7 for ged-emacs-devel@m.gmane.org; Tue, 27 Jun 2006 20:04:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FvNXd-0001eE-W2 for emacs-devel@gnu.org; Tue, 27 Jun 2006 20:04:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FvNXc-0001dw-5v for emacs-devel@gnu.org; Tue, 27 Jun 2006 20:04:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FvNXc-0001dl-1e for emacs-devel@gnu.org; Tue, 27 Jun 2006 20:04:24 -0400 Original-Received: from [18.19.1.138] (helo=cyd) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FvNjm-0004F1-RA; Tue, 27 Jun 2006 20:16:58 -0400 Original-Received: by cyd (Postfix, from userid 1000) id 5E3524E8BA; Tue, 27 Jun 2006 20:04:42 -0400 (EDT) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Tue, 27 Jun 2006 12:16:17 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:56236 Archived-At: Richard Stallman writes: > I just checked the code and since `get_pos_property' is only called with > the initial position being passed by the original caller, I think you're > right, it does make sense to signal an error if it's out of range. > > Since you agree with this, let's do it. Would someone please do it? I've changed updated the relevant docstrings to reflect this. I didn't make any changes to the code of text_properties_stickiness to silence the source code checker, though, just added a comment.