patchGNU Octave - Patches: patch #7888, add "remove" to autoload


patch #7888: add "remove" to autoload

Submitted by:  Juan Pablo Carbajal <juanpi>
Submitted on:  Mon 19 Nov 2012 02:51:27 PM UTC  
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed

Add a New Comment (Rich Markup)

You are not logged in

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


Wed 29 May 2013 02:32:20 PM UTC, comment #1: 


Could anyone revise this, please?

Thank you.

Juan Pablo Carbajal <juanpi>
Project Member
Mon 19 Nov 2012 02:51:27 PM UTC, original submission:  

Realted thread:

Please find attached a change set that adds the option "remove" to autoload.

The function is extended to accept a third optional argument "remove"
that causes the function to be cleared and removed from autoload_map

The second argument is not used except for the checks (which are
unnecessary in the case of "remove"). So, I can redo the changes to

With the current check "remove" is not confused with a absolute path,
so it should produce no clash. Please, let me know.

Also, if "foo" is not in the autoload_map nothing is printed nor
returned. Shall I give a warning?

I did not know if symbol_table::clear_function removes the function
from memory thence there is a comment witha question mark. If that is
the right way of removing a function from memory please remove the
question mark.



Juan Pablo Carbajal <juanpi>
Project Member


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

Attach Files:

Attached Files
file #26932:  changeset_autoload added by juanpi (2KiB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by juanpi (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 logged-in users can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-06-25 jwe StatusNone => Done
        Open/ClosedOpen => Closed
    2012-11-19 juanpi Attached File- => Added changeset_autoload, #26932

    Back to the top

    Powered by Savane 3.5