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: Re: minibuffer history positions - 0 or 1 based? Date: Sat, 12 Nov 2005 06:19:03 -0800 (PST) Message-ID: <87br0q3q5m.fsf@gmail.com> References: <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 1131806395 16845 80.91.229.2 (12 Nov 2005 14:39:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 12 Nov 2005 14:39:55 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 12 15:39:50 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EawXF-0003ZC-WF for geh-help-gnu-emacs@m.gmane.org; Sat, 12 Nov 2005 15:39:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EawXE-0006XD-Ur for geh-help-gnu-emacs@m.gmane.org; Sat, 12 Nov 2005 09:39:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EawDn-0002Hc-IB for help-gnu-emacs@gnu.org; Sat, 12 Nov 2005 09:19:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EawDi-0002HJ-Uo for help-gnu-emacs@gnu.org; Sat, 12 Nov 2005 09:19:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EawDg-0002HD-Gj for help-gnu-emacs@gnu.org; Sat, 12 Nov 2005 09:19:05 -0500 Original-Received: from [64.233.162.192] (helo=zproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EawDg-0005VY-GQ for help-gnu-emacs@gnu.org; Sat, 12 Nov 2005 09:19:04 -0500 Original-Received: by zproxy.gmail.com with SMTP id 9so375442nzo for ; Sat, 12 Nov 2005 06:19:03 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:to:subject:references:x-unicorn-archive:from:in-reply-to:message-id:lines:user-agent:mime-version:content-type:date; b=rgrXr0SHBHW6nyFnrrXTUMxoSD5aY7VIOj9Y7aRWHvD7/ldCt/dFCsfkx8EYF96tDKGwWQdUErTZdHDAcbmAgSrntibu/IOimdao1L9NRnyxVwC2dFuA1uuTMKpVTlomeH5G3h4JrOMEGwdc39atFgCotQjtDA6gK5t56KTgxO0= Original-Received: by 10.65.222.11 with SMTP id z11mr3678116qbq; Sat, 12 Nov 2005 06:19:03 -0800 (PST) Original-Received: from unicorn ( [69.194.228.44]) by mx.gmail.com with ESMTP id q13sm514843qbq.2005.11.12.06.19.03; Sat, 12 Nov 2005 06:19:03 -0800 (PST) Original-Received: from itz by unicorn with local (Exim 4.54) id 1EawDd-0000it-C9; Sat, 12 Nov 2005 09:19:01 -0500 Original-To: help-gnu-emacs@gnu.org X-Unicorn-Archive: yes In-Reply-To: Original-Lines: 21 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:31013 Archived-At: Eli> In the current development sources, this fragment was changed to Eli> say: Eli> (VARIABLE . STARTPOS) Use VARIABLE (a symbol) as the history Eli> list, and assume that the initial history position is STARTPOS (a Eli> nonnegative integer). Eli> Specifying 0 for STARTPOS is equivalent to just specifying the Eli> symbol VARIABLE. `previous-history-element' will display the most Eli> recent element of the history list in the minibuffer. If you Eli> specify a positive STARTPOS, the minibuffer history functions Eli> behave as if `(elt VARIABLE (1- STARTPOS))' were the history Eli> element currently shown in the minibuffer. Eli> Does the above answers your question? Yes, thanks. -- A true pessimist won't be discouraged by a little success.