GNU bug report logs - #27494
24.5; doc of `add-to-history'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Mon, 26 Jun 2017 00:09:02 UTC

Severity: minor

Found in version 24.5

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27494 in the body.
You can then email your comments to 27494 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#27494; Package emacs. (Mon, 26 Jun 2017 00:09:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Drew Adams <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 26 Jun 2017 00:09:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.5; doc of `add-to-history'
Date: Sun, 25 Jun 2017 17:08:18 -0700 (PDT)
Both doc string and Elisp manual:

The doc should say that when MAXELT is exceeded the oldest history
element is discarded.  Yes, one might surmise that from the meaning of
"history" ,and from assuming that the new element is always added,
even if the history is full (up to MAXELT).  Still, it is better to be
explicit.

In GNU Emacs 24.5.1 (i686-pc-mingw32)
 of 2015-04-11 on LEG570
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/usr --host=i686-pc-mingw32'




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 22 Jul 2017 08:37:01 GMT) Full text and rfc822 format available.

Notification sent to Drew Adams <drew.adams <at> oracle.com>:
bug acknowledged by developer. (Sat, 22 Jul 2017 08:37:01 GMT) Full text and rfc822 format available.

Message #10 received at 27494-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 27494-done <at> debbugs.gnu.org
Subject: Re: bug#27494: 24.5; doc of `add-to-history'
Date: Sat, 22 Jul 2017 11:36:43 +0300
> Date: Sun, 25 Jun 2017 17:08:18 -0700 (PDT)
> From: Drew Adams <drew.adams <at> oracle.com>
> 
> Both doc string and Elisp manual:
> 
> The doc should say that when MAXELT is exceeded the oldest history
> element is discarded.  Yes, one might surmise that from the meaning of
> "history" ,and from assuming that the new element is always added,
> even if the history is full (up to MAXELT).  Still, it is better to be
> explicit.

The ELisp manual already said that the values of maximum length have
the same meaning as those of 'history-length', so I just added the
same reference to the doc string.

Thanks.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 19 Aug 2017 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 309 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.