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

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

[Octave-bug-tracker] [bug #32900] Initialize history before executing th


From: anonymous
Subject: [Octave-bug-tracker] [bug #32900] Initialize history before executing the startup files
Date: Thu, 24 Mar 2011 13:39:48 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.63 Safari/534.3

URL:
  <http://savannah.gnu.org/bugs/?32900>

                 Summary: Initialize history before executing the startup
files
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Thu 24 Mar 2011 01:39:47 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Improvement/Optimization
                  Status: None
             Assigned to: None
         Originator Name: Rafael Laboissiere
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.4.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

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.





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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