GNU bug report logs -
#29077
26.0; NEWS: "Values in call stack frames are now displayed using `cl-prin1'"
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Mon, 30 Oct 2017 22:20:02 UTC
Severity: minor
Tags: fixed
Found in version 26.0
Done: Drew Adams <drew.adams <at> oracle.com>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 29077 <at> debbugs.gnu.org (full text, mbox):
Drew Adams <drew.adams <at> oracle.com> writes:
>> Ah, I put :type 'function and :options '(cl-prin1 prin1), but apparently
>> this doesn't actually have any effect in the customize buffer. Do you
>> know how to fix this?
>
> Not really. Maybe there is no good solution. As (elisp) node
> `Variable Definitions' says about `:options':
>
> This is meaningful only for certain types, currently including
> 'hook', 'plist' and 'alist'. See the definition of the individual
> types for a description of how to use ':options'.
>
> You could use `choice', like this:
>
> (defcustom foo 'cl-prin1
> "..."
> :type '(choice
> (const cl-prin1)
> (const prin1)
> function)
Looks reasonable.
> :group 'convenience)
Did you mean to put this in? I don't see very many uses of :group
'convenience, and most are in defgroup forms.
> If you use larger list elements then you will see that
> the list gets truncated.
>
> (defun return-a-large-list ()
> (let ((lst ()))
> (dotimes (ii 5)
> (push ctl-x-map lst))
> lst))
Hmm, nope not seeing it. Do you get this from 'emacs -Q'? As far as I
can tell, there is nothing in cl-print.el that would perform truncation.
This bug report was last modified 7 years and 258 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.