help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: minibuffer history positions - 0 or 1 based?


From: Eli Zaretskii
Subject: Re: minibuffer history positions - 0 or 1 based?
Date: Fri, 11 Nov 2005 11:43:54 +0200

> From: Ian Zimmerman <nobrowser@gmail.com>
> 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?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]