bugGNU Octave - Bugs: bug #32900, Initialize history before...

 
 

bug #32900: Initialize history before executing the startup files

Submitter:  None
Submitted:  Thu 24 Mar 2011 01:39:47 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
Status:  Fixed Assigned to:  jordigh
Originator Name:  Rafael Laboissiere Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * dev
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 28 Sep 2011 02:55:34 PM UTC, comment #1: 

Sorry it took so long to get back to you.

I pushed a fix on the development branch:

http://hg.savannah.gnu.org/hgweb/octave/rev/3109c8b0cff4

Thanks

Jordi GutiƩrrez Hermoso <jordigh>
Group Member
Thu 24 Mar 2011 01:39:47 PM UTC, original submission:  

In src/octave.cc, I read the following:


    execute_startup_files ();
    initialize_history (read_history_file);


Is there a strong reason for the order of execution above?  If it was reversed:


    initialize_history (read_history_file);
    execute_startup_files ();


then the history could be manipulated in startup files, like adding timestamps or the like.  I have not investigated the possible side effects of this reversal, though, but it could be a beneficial change.

Anonymous

 

(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 jordigh (Updated the item)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-09-28 jordigh StatusNone Fixed
        Open/ClosedOpen Closed
    2011-09-28 jordigh Item GroupPerformance Feature Request
        Release3.4.0 dev
    2011-04-15 jordigh Assigned toNone jordigh

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code