From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: minibuffer history positions - 0 or 1 based? Date: Fri, 11 Nov 2005 11:43:54 +0200 Message-ID: References: <87veyzrcma.fsf@gmail.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1131706598 24890 80.91.229.2 (11 Nov 2005 10:56:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 Nov 2005 10:56:38 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 11 11:56:29 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EaWYX-0004s3-Dv for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Nov 2005 11:54:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EaWYW-0003jb-HB for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Nov 2005 05:54:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EaVV6-00057H-Sf for help-gnu-emacs@gnu.org; Fri, 11 Nov 2005 04:47:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EaVUk-0004qj-7M for help-gnu-emacs@gnu.org; Fri, 11 Nov 2005 04:46:54 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EaVRz-0004RR-D6 for help-gnu-emacs@gnu.org; Fri, 11 Nov 2005 04:44:04 -0500 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EaVRz-0004WB-ES for help-gnu-emacs@gnu.org; Fri, 11 Nov 2005 04:44:03 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-52-187.inter.net.il [80.230.52.187]) by romy.inter.net.il (MOS 3.5.8-GR) with ESMTP id CYQ06896 (AUTH halo1); Fri, 11 Nov 2005 11:43:51 +0200 (IST) Original-To: help-gnu-emacs@gnu.org In-reply-to: <87veyzrcma.fsf@gmail.com> (message from Ian Zimmerman on Thu, 10 Nov 2005 21:13:02 -0800 (PST)) 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:30983 Archived-At: > From: Ian Zimmerman > Date: Thu, 10 Nov 2005 21:13:02 -0800 (PST) > > 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). In the current development sources, this fragment was changed to say: (VARIABLE . STARTPOS) Use VARIABLE (a symbol) as the history list, and assume that the initial history position is STARTPOS (a nonnegative integer). Specifying 0 for STARTPOS is equivalent to just specifying the symbol VARIABLE. `previous-history-element' will display the most recent element of the history list in the minibuffer. If you specify a positive STARTPOS, the minibuffer history functions behave as if `(elt VARIABLE (1- STARTPOS))' were the history element currently shown in the minibuffer. > Which is it? And is this a known documentation bug? Does the above answers your question?