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 FunctionSeverity: 1 - Wish
Priority: 3 - LowItem Group: Matlab Compatibility
Status: PostponedAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 05 Oct 2016 06:31:45 PM UTCmtmillerCategoryInterpreter=>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
    Wed 05 Nov 2014 08:00:17 PM UTCmtmillerCategoryGUI=>Interpreter
      Release3.8.2=>dev
      SummaryOmit "exit", "quit" & consecutive commands from history=>Add a hist_ignore function to omit commands from history
    Wed 05 Nov 2014 07:27:03 PM UTCjwePriority5 - Normal=>3 - Low
    Wed 05 Nov 2014 01:46:17 PM UTCmtmillerSeverity3 - Normal=>1 - Wish

    Back to the top


    Powered by Savane 3.1-cleanup1