From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ian Zimmerman Newsgroups: gmane.emacs.help Subject: minibuffer history positions - 0 or 1 based? Date: Thu, 10 Nov 2005 21:13:02 -0800 (PST) Message-ID: <87veyzrcma.fsf@gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1131686029 10252 80.91.229.2 (11 Nov 2005 05:13:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 Nov 2005 05:13:49 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 11 06:13:41 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EaRE0-0008QV-CL for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Nov 2005 06:13:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EaRDz-0000Ti-Oy for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Nov 2005 00:13:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EaRDm-0000RJ-16 for help-gnu-emacs@gnu.org; Fri, 11 Nov 2005 00:13:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EaRDj-0000Lr-DG for help-gnu-emacs@gnu.org; Fri, 11 Nov 2005 00:13:05 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EaRDj-0000Ld-8h for help-gnu-emacs@gnu.org; Fri, 11 Nov 2005 00:13:03 -0500 Original-Received: from [64.233.184.192] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EaRDj-0004ug-8V for help-gnu-emacs@gnu.org; Fri, 11 Nov 2005 00:13:03 -0500 Original-Received: by wproxy.gmail.com with SMTP id i1so718151wra for ; Thu, 10 Nov 2005 21:13:02 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:to:subject:x-unicorn-archive:from:message-id:lines:user-agent:mime-version:content-type:date; b=HO1/KvL6TBoz2ZoErUz3tKCGO058HVlJB+bPy+ZLap9rLradnGQtJkYeSHS16r54cj63g0GyDjJx9W99VG0AUGb/GkkYT1DiT8ghjLrt6gIoGtN7nWFI54S1xXtSqxaoHeJPWOq3mX2Lj1O2Q33wrdkex211Z19VEzYPVIAl1Nk= Original-Received: by 10.65.93.3 with SMTP id v3mr1847209qbl; Thu, 10 Nov 2005 21:13:02 -0800 (PST) Original-Received: from unicorn ( [69.194.228.44]) by mx.gmail.com with ESMTP id e16sm980737qba.2005.11.10.21.13.02; Thu, 10 Nov 2005 21:13:02 -0800 (PST) Original-Received: from itz by unicorn with local (Exim 4.54) id 1EaRDh-0001Sm-G0; Fri, 11 Nov 2005 00:13:01 -0500 Original-To: help-gnu-emacs@gnu.org X-Unicorn-Archive: yes Original-Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:30980 Archived-At: Info: (VARIABLE . STARTPOS) Use VARIABLE (a symbol) as the history list, and assume that the initial history position is STARTPOS (an integer, counting from zero which specifies the most recent element of the history). Docstring: It can be a symbol, which is the history list variable to use, or it can be a cons cell (HISTVAR . HISTPOS). In that case, HISTVAR is the history list variable to use, and HISTPOS is the initial position (the position in the list which INITIAL-CONTENTS corresponds to). Positions are counted starting from 1 at the beginning of the list. Which is it? And is this a known documentation bug? -- A true pessimist won't be discouraged by a little success.