bugGNU Octave - Bugs: bug #42791, lookfor index error for private...

 
 

bug #42791: lookfor index error for private functions without texinfo

Submitted by:  Andreas Weber <andy1978>
Submitted on:  Thu 17 Jul 2014 01:44:34 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 17 Jul 2014 10:15:55 PM UTC, comment #1:

I just fixed this with cset 18e46285a608 which simply skips the private directory when building DOCSTRINGS.

And since I was looking at it, I made a bunch of other changes to mkdoc.pl

Carnë Draug <carandraug>
Project Member
Thu 17 Jul 2014 01:44:34 PM UTC, original submission:

hg id cc8aaf9c9e33.

During build mk_doc_cache.m creates doc-cache from DOCSTRINGS and skips _functions_ but not other functions in /private dirs.

If in these files there is no valid texinfo block (imwrite_filename.m, shell.m, imageIO.m) the generated cache contains the hole function text as function name.

This then triggers a indexing problem in the display routine of lookfor.m where the length of the function name is bigger than the terminal_width - indent. For example:

A quick fix would be to add "Undocumented internal function." texinfo blocks to shell.m, imwrite_filename.m and imageIO.m or to check is the fullpath contains "private".

Andreas Weber <andy1978>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by andy1978 (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 project members can vote.

     

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

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 17 Jul 2014 10:15:55 PM UTCcarandraugStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1