GNU bug report logs -
#40433
26.1; list-colors-print throw Lisp error wrong-number-of-arguments
Previous Next
Reported by: 唐治洋 <markta31 <at> icloud.com>
Date: Sat, 4 Apr 2020 16:36:02 UTC
Severity: normal
Tags: moreinfo
Found in version 26.1
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
Full log
Message #15 received at 40433-done <at> debbugs.gnu.org (full text, mbox):
Stefan Kangas <stefan <at> marxist.se> writes:
> 唐治洋 <markta31 <at> icloud.com> writes:
>
>> hi,
>>
>> I have a color name called "alternateSelectedControlColor", which has
>> nil color value if called with color-values function. when I click the
>> Color button in customize-create-themes, it will finally call
>> list-color-print function, and this function has some lisp lines as
>> follow:
>>
>> (let* ((opoint (point))
>> (color-values (color-values (car color)))
>> (light-p (>= (apply 'max color-values)
>> (* (car (color-values "white")) .5))))
>>
>> color-values got a nil value, which cause max function called with a nil
>> value, and then throw wrong-number-of-arguments error.
>
> What is the bug in Emacs here? Is it the return value of color-values?
>
> Could you please show a minimal example of the error, without any
> reference to your own code? Thanks.
More information was requested, but none was given within 5 weeks, so
I'm closing this bug. If this is still an issue, please reply to this
email (use "Reply to all" in your email client) and we can reopen the
bug report.
Best regards,
Stefan Kangas
This bug report was last modified 4 years and 229 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.