-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switching default command history length from infinity to 1000 #960
Switching default command history length from infinity to 1000 #960
Conversation
Current coverage is 49.40% (diff: 100%)@@ master #960 diff @@
==========================================
Files 424 424
Lines 222804 222804
Methods 3430 3430
Messages 0 0
Branches 0 0
==========================================
+ Hits 110042 110072 +30
+ Misses 112762 112732 -30
Partials 0 0
|
This is fine by me. |
Only question: Is 1000 a good default? Why not 10000? Of course in the end this is arbitrary no matter what... :-) |
@fingolfin the default of 1000 was just taken from @vbraun's suggestion quoted in 958, and it seems to be the default value in Ubuntu (as I can see with |
1000 sounds good to me too |
I would like more than 1000, but then again I can always edit it myself. Also setting it to 1000 makes it seem reasonable (to me) to then think about always turning on history loading/saving by default. |
@ChrisJefferson wrote
It's already on by default if the user has So I suggest to merge this PR as it is. Of course, @ChrisJefferson, if you'd be happier with 2000 lines, I can easily update the PR. Is there any particular context in which you may be interested in longer history, like e.g. interfacing GAP from another software? |
We could just make a However, that's for another patch! |
This is an alternative proposal to #958 which, instead of cleaning up the history just sets the default behaviour to keeping only last 1000 input lines.