octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Writing 'help' functions as m-files


From: Søren Hauberg
Subject: Re: Writing 'help' functions as m-files
Date: Wed, 11 Feb 2009 08:17:36 +0100

ons, 11 02 2009 kl. 01:48 -0500, skrev John W. Eaton:
> On 11-Feb-2009, Soren Hauberg wrote:
> 
> | Does that work when the header span several lines? Typing 'help
> | makeinfo'  (as an example) gives me
> | 
> |  -- Function File: [RETVAL, STATUS] = makeinfo (TEXT, OUTPUT_TYPE)
> |  -- Function File: [RETVAL, STATUS] = makeinfo (TEXT, OUTPUT_TYPE,
> |           SEE_ALSO)
> |      Run `makeinfo' on a given text.
> | 
> | plus some more. From what you described I would assume that the first
> | help sentence would be
> | 
> |           SEE_ALSO)
> |      Run `makeinfo' on a given text.
> | 
> | Which isn't really what we want.
> 
> How about using --fill-column=NUM with a large value of NUM?  We don't
> need the result to fit in any particular width screen.  Something like
> 1024 for NUM should be big enough.  I checked in a change.

This works for generating caches as we don't care about the width of the
text. I seem to remember more odd corner-cases, but I can't think of any
right now. I'll speak up if I remember any.

Soren



reply via email to

[Prev in Thread] Current Thread [Next in Thread]