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

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

[Octave-bug-tracker] [bug #65607] cluttering text output when using path


From: Rik
Subject: [Octave-bug-tracker] [bug #65607] cluttering text output when using path() with echo on
Date: Fri, 19 Apr 2024 08:26:31 -0400 (EDT)

Update of bug #65607 (group octave):

              Item Group:              Regression => Matlab Compatibility   

    _______________________________________________________

Follow-up Comment #3:

Changing Item Group to Matlab Compatibility.  Matlab doesn't have PKG_ADD
files as far as I know.  This is an Octave extension that we can program to
behave as we wish.

Is the cvx library calling path(), or is this your own code that you could
modify?  Modifications to m-files would be easiest.

The C++ code for path() is load_path::set at
libinterp/corefcn/load-path.cc:308.  The code in question is


  for (auto& di : m_dir_info_list)
    {
      if (m_add_hook)
        m_add_hook (di.dir_name);
    }


This would be the point to save/restore the echo state.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65607>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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