octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #44101] Make command history entries deletable


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #44101] Make command history entries deletable
Date: Thu, 29 Jan 2015 21:41:33 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0 SeaMonkey/2.30

Follow-up Comment #4, bug #44101 (project octave):

@Mike: 
Thanks for the hint, I didn't know about that command. (But there are so many
little-used commands.....)

history_control does have a few limitations:

1. ignoredups only works on the previous command.
So running e.g., a short or long) for loop (with a series of different
commands) in the debugger will still fill up the history.
This is my main gripe of comment #1.

2. erasedups didn't seem to work at all on my 3.9.0+ build.
What I did is:

history_control erasedups

and then entered a few commands matching commands typed earlier. Nothing
changed in the behavior of the history pane.

However, after restarting Octave the duplicates were gone in the history pane
and when using the up-arrow key. 
So apparently the history pane isn't updated upon calls to 'history_control
erasedups'.

@Michael:
As the CLI is part of the GUI, both have the same capabilities as regards
history_control. Or do you refer to the OP's request (which I support as
well)?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44101>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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