|
From: | GNU bug Tracking System |
Subject: | [debbugs-tracker] bug#21147: closed (readline history is stifled early so (readline-set! history-length nn) has no effect) |
Date: | Fri, 24 Jun 2016 08:24:02 +0000 |
Your message dated Fri, 24 Jun 2016 10:23:36 +0200 with message-id <address@hidden> and subject line Re: bug#21147: readline history is stifled early so (readline-set! history-length nn) has no effect has caused the debbugs.gnu.org bug report #21147, regarding readline history is stifled early so (readline-set! history-length nn) has no effect to be marked as done. (If you believe you have received this mail in error, please contact address@hidden) -- 21147: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21147 GNU Bug Tracking System Contact address@hidden with problems
--- Begin Message ---Subject: readline history is stifled early so (readline-set! history-length nn) has no effect Date: Tue, 28 Jul 2015 10:06:06 +0200 The default history-length is 200. When one imports (ice-9 readline), history is stifled to this value, so it doesn't matter if you set history-length to a larger value later on. I'm surprised that this has gone unnoticed up to now, since 200 is really small. I may be missing something... The patch changes scm_readline_options() so that history is only stiffled when the options are actually set. This is rather clumsy since it means that if one doesn't set the options, history will never be stifled. An alternative would be to add an optional readline-options argument to activate-readline. That way one would be able to increase history-length before the first time history is stifled, and otherwise things would work as they do now. Regards Daniel0001-Avoid-stifling-readline-history-when-looking-up-opti.patch
Description: Binary data
--- End Message ---
--- Begin Message ---Subject: Re: bug#21147: readline history is stifled early so (readline-set! history-length nn) has no effect Date: Fri, 24 Jun 2016 10:23:36 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) thanks
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |