bugGNU Octave - Bugs: bug #43536, history_ignore: add a function to...

 
 

bug #43536: history_ignore: add a function to omit a set of commands from history

Submitted by:  Armin Müller <arm_in>
Submitted on:  Wed 05 Nov 2014 12:28:25 PM UTC  
 
Category:  Octave Function Severity:  1 - Wish
Priority:  3 - Low Item Group:  Matlab Compatibility
Status:  Postponed Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 05 Nov 2014 08:00:17 PM UTC, comment #3:

Nice, I don't use HISTIGNORE so I wasn't aware of that one. Sounds like the right solution and a good project for someone who wants that functionality.

Mike Miller <mtmiller>
Project Administrator
Wed 05 Nov 2014 07:26:39 PM UTC, comment #2:

If someone wants to work on this, I recommend creating a function called history_ignore that would provide functionality similar to the way the HISTIGNORE variable works in bash. That makes sense to me given that Octave's history_control function is similar to the HISTCONTROL variable in bash.

John W. Eaton <jwe>
Project Administrator
Wed 05 Nov 2014 01:46:17 PM UTC, comment #1:

Point 2 is addressed with the history_control function, in either GUI or terminal. Call

to ignore duplicate consecutive commands. Add this to your octaverc file to make the change permanent (I use this setting).

Mike Miller <mtmiller>
Project Administrator
Wed 05 Nov 2014 12:28:25 PM UTC, original submission:

In Matlab, there is an option to omit certain commands in the command history:
1) "exit", "quit"
2) consecutive commands

It would be nice to have such an option in Octave, also.

http://www.mathworks.de/de/help/matlab/matlab_env/command-history.html

Armin Müller <arm_in>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by arm_in (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-10-05 mtmiller CategoryInterpreter => Octave Function
        StatusNone => Postponed
        SummaryAdd a hist_ignore function to omit commands from history => history_ignore: add a function to omit a set of commands from history
    2014-11-05 mtmiller CategoryGUI => Interpreter
        Release3.8.2 => dev
        SummaryOmit "exit", "quit" & consecutive commands from history => Add a hist_ignore function to omit commands from history
    2014-11-05 jwe Priority5 - Normal => 3 - Low
    2014-11-05 mtmiller Severity3 - Normal => 1 - Wish

    Back to the top


    Powered by Savane 3.3