GNU bug report logs - #11460
24.1.50; doc string of `assert'

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Sat, 12 May 2012 15:07:02 UTC

Severity: minor

Tags: wontfix

Found in version 24.1.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 11460 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 11460 <at> debbugs.gnu.org
Subject: Re: bug#11460: 24.1.50; doc string of `assert'
Date: Sat, 08 Feb 2014 20:17:06 -0800
"Drew Adams" <drew.adams <at> oracle.com> 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/




This bug report was last modified 11 years and 101 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.