From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Fixed bug in completing-read Date: Thu, 25 Dec 2003 10:33:18 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200312242003.hBOK3el14828@raven.dms.auburn.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1072366700 6739 80.91.224.253 (25 Dec 2003 15:38:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 25 Dec 2003 15:38:20 +0000 (UTC) Cc: schwab@suse.de, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Dec 25 16:38:17 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AZXZ3-0007iR-00 for ; Thu, 25 Dec 2003 16:38:17 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AZXZ3-0002GP-00 for ; Thu, 25 Dec 2003 16:38:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AZYVE-0004QR-GK for emacs-devel@quimby.gnus.org; Thu, 25 Dec 2003 11:38:24 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AZYV9-0004Pb-UL for emacs-devel@gnu.org; Thu, 25 Dec 2003 11:38:19 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AZYUd-0003wX-Eq for emacs-devel@gnu.org; Thu, 25 Dec 2003 11:38:18 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AZYUd-0003ve-0k for emacs-devel@gnu.org; Thu, 25 Dec 2003 11:37:47 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.24) id 1AZXUE-0004lc-MK; Thu, 25 Dec 2003 10:33:18 -0500 Original-To: Luc Teirlinck In-reply-to: <200312242003.hBOK3el14828@raven.dms.auburn.edu> (message from Luc Teirlinck on Wed, 24 Dec 2003 14:03:40 -0600 (CST)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:18834 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:18834 "POSITION characters into string" == "at position POSITION in the minibuffer" - 1. String positions are zero-origin, buffer positions are one-origin. I agree. "2 character into the string" means "after the first 2 characters". When you put that text into a buffer, it would correspond to buffer position 3, which is after the first 2 characters. To me, the English phrase "POSITION characters into string" is equivalent with the technical Lisp phrase "at (zero-indexed) position POSITION - 1 in string". "2 characters into the string" certainly doesn't mean zero-indexed position 1 in the string. The one thing this means for certain is that things should be reformulated more unambiguously, in all involved places, which I will do. I agree that we should make it unambiguous. Since this is a rather obscure feature, not used in too many places, we should make the decision based on what is clean, not based on compatibility with this or that. Since these positions go with strings, they should be zero-origin.