From bug-request at octave dot org Wed Dec 14 11:15:33 2005 Subject: autoload vs. help From: "John W. Eaton" To: David Bateman Cc: bug at octave dot org Date: Wed, 14 Dec 2005 12:15:17 -0500 On 13-Dec-2005, David Bateman wrote: | BTW, I just noticed that the autoload stuff has an implication I hadn't | realized, in that if you type "help" then the autoloaded functions no | longer appear in the summary of the available functions... OK. A possible solution for this is to have the autoload function insert some information in a table that can be used by help. What I'm thinking of is to have autoload (FCN_NAME, FILE_NAME) also add FCN_NAME to a map, keyed with the directory part of FILE_NAME. Then when the help function is going through the list of directories in LOADPATH, it can also grab the corresponding function names from the autoload map. I see that we also need to have the completion function look at the list of autoloaded function names. jwe ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------