describe bug, was: Re: [Maxima] First step toward a 5.9.2 release



On čet, 2005-03-31 at 12:26 -0800, Robert Dodier wrote:
> --- "Vadim V. Zhytnikov"  wrote:
> 
> > Try ? for limit , lim, tlim, tlimit.
> > Describe gives correct list of options but if
> > we select one it shows wrong piece of text -
> > it can't properly locate its beginning and ending.
> > Clearly due to @defun/@defvar -> @deffn/@defvr
> > replacement.
> 
> Selecting an item in the list shown by "? limit",
> I get the text of just that item. Likewise for
> "? lim", "? tlim", "? tlimit". Running gcl on linux,
> rebuilt Maxima from cvs yesterday. Clisp on linux,
> Maxima cvs from a couple of weeks ago is also OK.
> 
> Grepping the info files I see atrig1 and ntrig are
> marked by @defvr. "? trig" gives a list and if I 
> select some item or items I see just those.
> 
> What exactly do you see when you select an item?
> Do you see the same thing for any item on the list?
> What version of Lisp on which OS are you running?
> Do all @defun/@defvar items work OK and all @deffn/@defvr
> items fail?

This bug was already present in 5.9.1. Maybe it shows only on some
systems. I see it on linux but not on windows and I use gcl on both.

------------------------
(%i1) ? limit


 0: (maxima.info)Limits.
 1: Definitions for Limits.
 2: limit :Definitions for Limits.
 3: tlimit :Definitions for Limits.
Enter n, all, none, or multiple choices eg 1 3 : 2

Info from file /usr/local/info/maxima.info:limit'.  This prevents
infinite looping in cases like
     `limit(cot(x)/csc(x),x,0)'.


 -- function: limit (exp, var, val, dir)
 -- function: limit (exp, var, val)
 -- function: limit (exp)
     finds the limit of  as the real variable  approaches the
     value  from the direction .   may have the value
     `plus' for a limit from above, `minus' for a limit from below, or
     may be omitted (implying a two-sided limit is to be computed).  For
     the method see Wang, P., "Evaluation of Definite Integrals by
     Symbolic Manipulation" - Ph.D. Thesis - MAC TR-92 October 1971.
     `limit' uses the following special symbols: `inf' (positive
     infinity) and `minf' (negative infinity).  On output it may also
     use `und' (undefined), `ind' (indefinite but bounded) and
     `infinity' (complex infinity).

     `lhospitallim' is the maximum number of times L'Hospital's rule is
     used in `limit'.  This prevents infinite looping in cases like
     `limit(cot(x)/csc(x),x,0)'.

     `tlimswitch' when true will cause the limit package to use Taylor
     series when possible.

     `limsubst' prevents `limit' from attempting substitutions on
     unknown forms.  This is to avoid bugs like
     `limit(f(n)/f(n+1),n,inf);' giving 1.  Setting `limsubst' to
     `true' will allow such substitutions.

     `limit' with one argument is often called upon to simplify
     constant expressions, for example, `limit(inf-1);' .

     Do `example(limit);' for examples.


 -- option variable: limsubst
     default value: `false' - prevents `limit' from attempting
     substitutions on unknown forms.  This is to avoid bugs like
     `limit(f(n)/f(n+1),n,inf);' giving 1.  Setting `limsubst' to
     `true' will allow such substitutions.


 -- function: tlimit (exp, var, val, dir)
 -- function: tlimit (exp, var, val)
 -- function: tlimit (exp)
     is just the function `limit' with `tlimswitch' set to `true'.


 -- option variable: tlimswitch
     default: `false' - if `true' will cause the limit package to use
     Taylor series when possible.


(%o1)                                FALSE
(%i2) build_info();


Maxima version: 5.9.1
Maxima build date: 9:10 1/29/2005
host type: i686-pc-linux-gnu
lisp-implementation-type: Kyoto Common Lisp
lisp-implementation-version: GCL 2.6.5
----------------------------