Subject: Re: bug#11460: 24.1.50; doc string of `assert'

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 08 Feb 2014 20:17:06 -0800

"Drew Adams" <[email-masked]> writes:

> "Second arg SHOW-ARGS means to include arguments of FORM in message."
>
> How so?  Which values of SHOW-ARGS mean that?
>
> And what on earth are the "arguments" of FORM?  FORM is presumably a sexp, which
> is evaluated and returns nil or non-nil.  A sexp does not have "arguments".
>
> It's not at all clear what you mean here.

Looking at the code, I'm still not sure what the meaning here is.

       (let ((sargs (and show-args
                         (delq nil (mapcar (lambda (x)
                                             (unless (macroexp-const-p x)
                                               x))
                                           (cdr form))))))

So...  if the elements in the rest of FORM evaluate to the same value,
they're included in the error output, but if not, not?  Uhm...

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/