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: NonePriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: NoneOpen/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 File(s):

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


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



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 25 Jun 2013 03:51:35 PM UTCjweStatusNone=>Done
    Mon 19 Nov 2012 02:51:27 PM UTCjuanpiAttached File-=>Added changeset_autoload, #26932

    Back to the top

    Powered by Savane 3.1-cleanup1