bug-readline
[Top][All Lists]
Advanced

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

Re: [Bug-readline] docs of history_get()


From: Kevin Ryde
Subject: Re: [Bug-readline] docs of history_get()
Date: Sat, 14 Oct 2017 12:02:10 +1100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Chet Ramey <address@hidden> writes:
>
> Thanks.  I'll add something like this clarifying the valid range for
> the value of the offset.

You might still think about different names to distinguish
offset-from-base numbering and event designator numbering.  Or even put
the current-position related funcs all into the "Moving Around" section.

Incidentally, I wondered if the the docs of add_history() might note
something like

    If the history_max_entries stifling limit is exceeded then the
    oldest entry is removed.

When history_stifle() says "remembering only the last MAX entries" I
wasn't quite sure if that meant a once-off truncate or a limit enforced
from then on.  (The answer being both, if I'm not mistaken :-)



reply via email to

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