GNU bug report logs - #23926
defcustom with STANDARD=<non-constant-expression> gives confusing results

Previous Next

Package: emacs;

Reported by: Noam Postavsky <npostavs <at> users.sourceforge.net>

Date: Sat, 9 Jul 2016 03:12:01 UTC

Severity: minor

Full log


View this message in rfc822 format

From: Drew Adams <drew.adams <at> oracle.com>
To: Noam Postavsky <npostavs <at> users.sourceforge.net>, 23926 <at> debbugs.gnu.org
Subject: bug#23926: defcustom with STANDARD=<non-pure-expression> gives confusing results
Date: Fri, 8 Jul 2016 23:31:17 -0700 (PDT)
Calling such an expression "non-pure" can be misleading.

The concept you are looking for is apparently just non-constant,
IOW, an expression whose value is not always the same.

IOW the expression is not referentially transparent.

But in Lisp non-pure often refers to or suggests side effects,
esp. mutation of structure.  That's not required for this bug
to manifest.  All that's needed is for the expression to not
necessarily return the same value each time it is evaluated. 

Anyway, yes, I agree that filing another bug for this
(separate from #4755) is good.




This bug report was last modified 1 year and 241 days ago.

Previous Next


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