From bug-request at octave dot org Wed Apr 5 02:47:21 2006 Subject: Re: lookfor bug From: David Bateman To: "John W. Eaton" CC: bug at octave dot org Date: Wed, 05 Apr 2006 09:42:42 +0200 John W. Eaton wrote: >On 5-Apr-2006, David Bateman wrote: > >| There is another stupid bug in lookfor that I just noticed. Lookfor uses >| the help text of the autoloaded functions parent and not its own help >| text. One character fix and previous fix attached.. > >OK, I applied this patch. > >We still have: > > octave:1> lookfor sum > [...] > builtin:cumsum Cumulative sum of elements along dimension DIM. > builtin:sum Sum of elements along dimension DIM. > builtin:sumsq Sum of squares of elements along dimension DIM. > [...] > >Should we strip the "builtin:" prefix? > >Thanks, > >jwe > > > There is a comment about it in dispatch.cc and using sr->hide(). For lookfor the only thing that would make sense is to strip the "builtin:" tag when display. This seems to be a bit of a hack... In any case it would also have to be done in whos, though it seems which has already been fixed... D. -- David Bateman David dot Bateman at motorola dot com Motorola Labs - Paris +33 1 69 35 48 04 (Ph) Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob) 91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax) The information contained in this communication has been classified as: [x] General Business Information [ ] Motorola Internal Use Only [ ] Motorola Confidential Proprietary ------------------------------------------------------------- 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 -------------------------------------------------------------