From: Eli Zaretskii <eliz@gnu.org>
Subject: Re: minibuffer history positions - 0 or 1 based?
Date: Fri, 11 Nov 2005 11:43:54 +0200 [thread overview]
Message-ID: <uslu334f9.fsf@gnu.org> (raw)
In-Reply-To: <87veyzrcma.fsf@gmail.com> (message from Ian Zimmerman on Thu, 10 Nov 2005 21:13:02 -0800 (PST))
> 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?
next prev parent reply other threads:[~2005-11-11 9:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-11 5:13 minibuffer history positions - 0 or 1 based? Ian Zimmerman
2005-11-11 9:43 ` Eli Zaretskii [this message]
2005-11-12 14:19 ` Ian Zimmerman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=uslu334f9.fsf@gnu.org \
--to=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).