all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#33713: 26.1; Error on list-colors-display
@ 2018-12-12  6:11 Vincent Zhang
  2018-12-12  8:32 ` martin rudalics
  0 siblings, 1 reply; 3+ messages in thread
From: Vincent Zhang @ 2018-12-12  6:11 UTC (permalink / raw)
  To: 33713

[-- Attachment #1: Type: text/plain, Size: 12279 bytes --]

I got this error while using `list-colors-display` with `emcees -Q`.

Debugger entered--Lisp error: (wrong-number-of-arguments #<subr max> 0)
  max()
  apply(max nil)
  list-colors-print((("LightGreen") ("DarkRed") ("DarkMagenta") ("DarkCyan") ("DarkBlue") ("DarkGray" "DarkGrey") ("grey100") ("grey99") ("grey98") ("grey97") ("grey96") ("grey95") ("grey94") ("grey93") ("grey92") ("grey91") ("grey90") ("grey89") ("grey88") ("grey87") ("grey86") ("grey85") ("grey84") ("grey83") ("grey82") ("grey81") ("grey80") ("grey79") ("grey78") ("grey77") ("grey76") ("grey75") ("grey74") ("grey73") ("grey72") ("grey71") ("grey70") ("grey69") ("grey68") ("grey67") ("grey66") ("grey65") ("grey64") ("grey63") ("grey62") ("grey61") ("grey60") ("grey59") ("grey58") ("grey57") ("grey56") ("grey55") ("grey54") ("grey53") ("grey52") ("grey51") ("grey50") ("grey49") ("grey48") ("grey47") ("grey46") ("grey45") ("grey44") ("grey43") ("grey42") ("grey41") ("grey40") ("grey39") ("grey38") ("grey37") ("grey36") ("grey35") ("grey34") ("grey33") ("grey32") ("grey31") ("grey30") ("grey29") ("grey28") ("grey27") ("grey26") ("grey25") ("grey24") ("grey23") ("grey22") ("grey21") ("grey20") ("grey19") ("grey18") ("grey17") ("grey16") ("grey15") ("grey14") ("grey13") ("grey12") ("grey11") ("grey10") ("grey9") ("grey8") ("grey7") ("grey6") ("grey5") ("grey4") ("grey3") ("grey2") ("grey1") ("grey0") ("thistle4") ("thistle3") ("thistle2") ("thistle1") ("MediumPurple4") ("MediumPurple3") ("MediumPurple2") ("MediumPurple1") ("purple4") ("purple3") ("purple2") ("purple1") ("DarkOrchid4") ("DarkOrchid3") ("DarkOrchid2") ("DarkOrchid1") ("MediumOrchid4") ("MediumOrchid3") ("MediumOrchid2") ("MediumOrchid1") ("plum4") ("plum3") ("plum2") ("plum1") ("orchid4") ("orchid3") ("orchid2") ("orchid1") ("magenta4") ("magenta3") ("magenta2") ("magenta1") ("VioletRed4") ("VioletRed3") ("VioletRed2") ("VioletRed1") ("maroon4") ("maroon3") ("maroon2") ("maroon1") ("PaleVioletRed4") ("PaleVioletRed3") ("PaleVioletRed2") ("PaleVioletRed1") ("LightPink4") ("LightPink3") ("LightPink2") ("LightPink1") ("pink4") ("pink3") ("pink2") ("pink1") ("HotPink4") ("HotPink3") ("HotPink2") ("HotPink1") ("DeepPink4") ("DeepPink3") ("DeepPink2") ("DeepPink1") ("red4") ("red3") ("red2") ("red1") ("OrangeRed4") ("OrangeRed3") ("OrangeRed2") ("OrangeRed1") ("tomato4") ("tomato3") ("tomato2") ("tomato1") ("coral4") ("coral3") ("coral2") ("coral1") ("DarkOrange4") ("DarkOrange3") ("DarkOrange2") ("DarkOrange1") ("orange4") ("orange3") ("orange2") ("orange1") ("LightSalmon4") ("LightSalmon3") ("LightSalmon2") ("LightSalmon1") ("salmon4") ("salmon3") ("salmon2") ("salmon1") ("brown4") ("brown3") ("brown2") ("brown1") ("firebrick4") ("firebrick3") ("firebrick2") ("firebrick1") ("chocolate4") ("chocolate3") ("chocolate2") ("chocolate1") ("tan4") ("tan3") ("tan2") ("tan1") ("wheat4") ("wheat3") ("wheat2") ("wheat1") ("burlywood4") ("burlywood3") ("burlywood2") ("burlywood1") ("sienna4") ("sienna3") ("sienna2") ("sienna1") ("IndianRed4") ("IndianRed3") ("IndianRed2") ("IndianRed1") ("RosyBrown4") ("RosyBrown3") ("RosyBrown2") ("RosyBrown1") ("DarkGoldenrod4") ("DarkGoldenrod3") ("DarkGoldenrod2") ("DarkGoldenrod1") ("goldenrod4") ("goldenrod3") ("goldenrod2") ("goldenrod1") ("gold4") ("gold3") ("gold2") ("gold1") ("yellow4") ("yellow3") ("yellow2") ("yellow1") ("LightYellow4") ("LightYellow3") ("LightYellow2") ("LightYellow1") ("LightGoldenrod4") ("LightGoldenrod3") ("LightGoldenrod2") ("LightGoldenrod1") ("khaki4") ("khaki3") ("khaki2") ("khaki1") ("DarkOliveGreen4") ("DarkOliveGreen3") ("DarkOliveGreen2") ("DarkOliveGreen1") ("OliveDrab4") ("OliveDrab3") ("OliveDrab2") ("OliveDrab1") ("chartreuse4") ("chartreuse3") ("chartreuse2") ("chartreuse1") ("green4") ("green3") ("green2") ("green1") ("SpringGreen4") ("SpringGreen3") ("SpringGreen2") ("SpringGreen1") ("PaleGreen4") ("PaleGreen3") ("PaleGreen2") ("PaleGreen1") ("SeaGreen4") ("SeaGreen3") ("SeaGreen2") ("SeaGreen1") ("DarkSeaGreen4") ("DarkSeaGreen3") ("DarkSeaGreen2") ("DarkSeaGreen1") ("aquamarine4") ("aquamarine3") ("aquamarine2") ("aquamarine1") ("DarkSlateGray4") ("DarkSlateGray3") ("DarkSlateGray2") ("DarkSlateGray1") ("cyan4") ("cyan3") ("cyan2") ("cyan1") ("turquoise4") ("turquoise3") ("turquoise2") ("turquoise1") ("CadetBlue4") ("CadetBlue3") ("CadetBlue2") ("CadetBlue1") ("PaleTurquoise4") ("PaleTurquoise3") ("PaleTurquoise2") ("PaleTurquoise1") ("LightCyan4") ("LightCyan3") ("LightCyan2") ("LightCyan1") ("LightBlue4") ("LightBlue3") ("LightBlue2") ("LightBlue1") ("LightSteelBlue4") ("LightSteelBlue3") ("LightSteelBlue2") ("LightSteelBlue1") ("SlateGray4") ("SlateGray3") ("SlateGray2") ("SlateGray1") ("LightSkyBlue4") ("LightSkyBlue3") ("LightSkyBlue2") ("LightSkyBlue1") ("SkyBlue4") ("SkyBlue3") ("SkyBlue2") ("SkyBlue1") ("DeepSkyBlue4") ("DeepSkyBlue3") ("DeepSkyBlue2") ("DeepSkyBlue1") ("SteelBlue4") ("SteelBlue3") ("SteelBlue2") ("SteelBlue1") ("DodgerBlue4") ("DodgerBlue3") ("DodgerBlue2") ("DodgerBlue1") ("blue4") ("blue3") ("blue2") ("blue1") ("RoyalBlue4") ("RoyalBlue3") ("RoyalBlue2") ("RoyalBlue1") ("SlateBlue4") ("SlateBlue3") ("SlateBlue2") ("SlateBlue1") ("azure4") ("azure3") ("azure2") ("azure1") ("MistyRose4") ("MistyRose3") ("MistyRose2") ("MistyRose1") ("LavenderBlush4") ("LavenderBlush3") ("LavenderBlush2") ("LavenderBlush1") ("honeydew4") ("honeydew3") ("honeydew2") ("honeydew1") ("ivory4") ("ivory3") ("ivory2") ("ivory1") ("cornsilk4") ("cornsilk3") ("cornsilk2") ("cornsilk1") ("LemonChiffon4") ("LemonChiffon3") ("LemonChiffon2") ("LemonChiffon1") ("NavajoWhite4") ("NavajoWhite3") ("NavajoWhite2") ("NavajoWhite1") ("PeachPuff4") ("PeachPuff3") ("PeachPuff2") ("PeachPuff1") ("bisque4") ("bisque3") ("bisque2") ("bisque1") ("AntiqueWhite4") ("AntiqueWhite3") ("AntiqueWhite2") ("AntiqueWhite1") ("seashell4") ("seashell3") ("seashell2") ("seashell1") ("snow4") ("snow3") ("snow2") ("snow1") ("thistle") ("MediumPurple") ("purple") ("BlueViolet") ("DarkViolet") ("DarkOrchid") ("MediumOrchid") ("orchid") ("plum") ("violet") ("magenta") ("VioletRed") ("MediumVioletRed") ("maroon") ("PaleVioletRed") ("LightPink") ("pink") ("DeepPink") ("HotPink") ("red") ("OrangeRed") ("tomato") ("LightCoral") ("coral") ("DarkOrange") ("orange") ("LightSalmon") ("salmon") ("DarkSalmon") ("brown") ("firebrick") ("chocolate") ("tan") ("SandyBrown") ("wheat") ("beige") ("burlywood") ("peru") ("sienna") ("SaddleBrown") ("IndianRed") ("RosyBrown") ("DarkGoldenrod") ("goldenrod") ("LightGoldenrod") ("gold") ("yellow") ("LightYellow") ("LightGoldenrodYellow") ("PaleGoldenrod") ("khaki") ("DarkKhaki") ("OliveDrab") ("ForestGreen") ("YellowGreen") ("LimeGreen") ("GreenYellow") ("MediumSpringGreen") ("chartreuse") ("green") ("LawnGreen") ("SpringGreen") ("PaleGreen") ("LightSeaGreen") ("MediumSeaGreen") ("SeaGreen") ("DarkSeaGreen") ("DarkOliveGreen") ("DarkGreen") ("aquamarine") ("MediumAquamarine") ("CadetBlue") ("LightCyan") ("cyan") ("turquoise") ("MediumTurquoise") ("DarkTurquoise") ("PaleTurquoise") ("PowderBlue") ("LightBlue") ("LightSteelBlue") ("SteelBlue") ("LightSkyBlue") ("SkyBlue") ("DeepSkyBlue") ("DodgerBlue") ("blue") ("RoyalBlue") ("MediumBlue") ("LightSlateBlue") ("MediumSlateBlue") ("SlateBlue") ("DarkSlateBlue") ("CornflowerBlue") ("NavyBlue") ("MidnightBlue") ("LightGray" "LightGrey") ("grey") ("LightSlateGrey") ("SlateGrey") ("DimGrey") ("DarkSlateGrey") ("black") ("white") ("MistyRose") ("LavenderBlush") ("lavender") ("AliceBlue") ("azure") ("MintCream") ("honeydew") ("seashell") ("LemonChiffon") ("ivory") ("cornsilk") ("moccasin") ("NavajoWhite") ("PeachPuff") ("bisque") ("BlanchedAlmond") ("PapayaWhip") ("AntiqueWhite") ("linen") ("OldLace") ("FloralWhite") ("gainsboro") ("WhiteSmoke") ("GhostWhite") ("snow") ("alternateSelectedControlColor") ("alternateSelectedControlTextColor" "controlColor" "controlBackgroundColor") ("controlDarkShadowColor" "controlShadowColor" "controlLightHighlightColor" "controlHighlightColor") ("controlTextColor" "disabledControlTextColor") ("gridColor") ("headerColor") ("headerTextColor") ("highlightColor") ("keyboardFocusIndicatorColor") ("knobColor") ("labelColor" "quaternaryLabelColor") ("scrollBarColor") ("secondaryLabelColor") ("secondarySelectedControlColor") ("selectedControlColor") ("selectedControlTextColor") ("selectedKnobColor" "selectedMenuItemColor") ("selectedMenuItemTextColor") ("selectedTextBackgroundColor") ("selectedTextColor") ("shadowColor") ("tertiaryLabelColor") ("textBackgroundColor") ("textColor") ("windowBackgroundColor") ("windowFrameColor") ("windowFrameTextColor" "Black") ("Blue") ("Brown") ("Cyan") ("Green") ("Magenta") ("Orange") ("Purple") ("Red") ("Yellow") ("White")) nil)
  list-colors-display()
  funcall-interactively(list-colors-display)
  call-interactively(list-colors-display record nil)
  command-execute(list-colors-display record)
  execute-extended-command(nil "list-colors-display" nil)
  funcall-interactively(execute-extended-command nil "list-colors-display" nil)
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)



In GNU Emacs 26.1 (build 1, x86_64-apple-darwin14.5.0, NS appkit-1348.17 Version 10.10.5 (Build 14F2511))
of 2018-05-31 built on builder10-10.porkrind.org<http://builder10-10.porkrind.org>
Windowing system distributor 'Apple', version 10.3.1671
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...
apply: Wrong number of arguments: #<subr max>, 0
Making completion list...
Debug on Error enabled globally
Entering debugger...
Mark set
Making completion list... [3 times]

Configured using:
'configure --with-ns '--enable-locallisppath=/Library/Application
Support/Emacs/${version}/site-lisp:/Library/Application
Support/Emacs/site-lisp' --with-modules'

Configured features:
NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS

Important settings:
  value of $LC_CTYPE: UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny seq dired
dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived
epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils cl-print
byte-opt gv bytecomp byte-compile cconv debug cus-start cus-load color
help-mode easymenu cl-loaddefs cl-lib elec-pair time-date tooltip eldoc
electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win
ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset
image regexp-opt fringe tabulated-list replace newcomment text-mode
elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow
isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font-core term/tty-colors frame cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote kqueue cocoa ns multi-tty
make-network-process emacs)

Memory information:
((conses 16 223686 8212)
(symbols 48 21152 1)
(miscs 40 76 196)
(strings 32 31427 1557)
(string-bytes 1 820866)
(vectors 16 35312)
(vector-slots 8 717554 17628)
(floats 8 206 174)
(intervals 56 4206 544)
(buffers 992 15))

--
Best Regards,
Vincent Zhang


Best Regards,
Vincent Zhang





[-- Attachment #2: Type: text/html, Size: 22978 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#33713: 26.1; Error on list-colors-display
  2018-12-12  6:11 bug#33713: 26.1; Error on list-colors-display Vincent Zhang
@ 2018-12-12  8:32 ` martin rudalics
  2020-08-21  7:36   ` Stefan Kangas
  0 siblings, 1 reply; 3+ messages in thread
From: martin rudalics @ 2018-12-12  8:32 UTC (permalink / raw)
  To: Vincent Zhang, 33713

[-- Attachment #1: Type: text/plain, Size: 9232 bytes --]

 > I got this error while using `list-colors-display` with `emcees -Q`.

What is 'emcees'?

 > Debugger entered--Lisp error: (wrong-number-of-arguments #<subr max> 0)
 >    max()
 >    apply(max nil)
 >    list-colors-print((("LightGreen") ("DarkRed") ("DarkMagenta") ("DarkCyan") ("DarkBlue") ("DarkGray" "DarkGrey") ("grey100") ("grey99") ("grey98") ("grey97") ("grey96") ("grey95") ("grey94") ("grey93") ("grey92") ("grey91") ("grey90") ("grey89") ("grey88") ("grey87") ("grey86") ("grey85") ("grey84") ("grey83") ("grey82") ("grey81") ("grey80") ("grey79") ("grey78") ("grey77") ("grey76") ("grey75") ("grey74") ("grey73") ("grey72") ("grey71") ("grey70") ("grey69") ("grey68") ("grey67") ("grey66") ("grey65") ("grey64") ("grey63") ("grey62") ("grey61") ("grey60") ("grey59") ("grey58") ("grey57") ("grey56") ("grey55") ("grey54") ("grey53") ("grey52") ("grey51") ("grey50") ("grey49") ("grey48") ("grey47") ("grey46") ("grey45") ("grey44") ("grey43") ("grey42") ("grey41") ("grey40") ("grey39")
  ("grey38") ("grey37") ("grey36") ("grey35") ("grey34") ("grey33") ("grey32") ("grey31") ("grey30") ("grey29") ("grey28") ("grey27") ("grey26") ("grey25") ("grey24") ("grey23") ("grey22") ("grey21"
) ("grey20") ("grey19") ("grey18") ("grey17") ("grey16") ("grey15") ("grey14") ("grey13") ("grey12") ("grey11") ("grey10") ("grey9") ("grey8") ("grey7") ("grey6") ("grey5") ("grey4") ("grey3") ("grey2") ("grey1") ("grey0") ("thistle4") ("thistle3") ("thistle2") ("thistle1") ("MediumPurple4") ("MediumPurple3") ("MediumPurple2") ("MediumPurple1") ("purple4") ("purple3") ("purple2") ("purple1") ("DarkOrchid4") ("DarkOrchid3") ("DarkOrchid2") ("DarkOrchid1") ("MediumOrchid4") ("MediumOrchid3") ("MediumOrchid2") ("MediumOrchid1") ("plum4") ("plum3") ("plum2") ("plum1") ("orchid4") ("orchid3") 
("orchid2") ("orchid1") ("magenta4") ("magenta3") ("magenta2") ("magenta1") ("VioletRed4") ("VioletRed3") ("VioletRed2") ("VioletRed1") ("maroon4") ("maroon3") ("maroon2") ("maroon1") ("PaleVioletRed4") ("PaleVioletRed3") ("PaleVioletRed2") ("PaleVioletRed1") ("LightPink4") ("LightPink3") ("LightPink2") ("LightPink1") ("pink4") ("pink3") ("pink2") ("pink1") ("HotPink4") ("HotPink3") ("HotPink2") ("HotPink1") ("DeepPink4") ("DeepPink3") ("DeepPink2") ("DeepPink1") ("red4") ("red3") ("red2") ("red1") ("OrangeRed4") ("OrangeRed3") ("OrangeRed2") ("OrangeRed1") ("tomato4") ("tomato3") ("tomato2") ("tomato1") ("coral4") ("coral3") ("coral2") ("coral1") ("DarkOrange4") ("DarkOrange3") ("DarkOrange2") ("DarkOrange1") ("orange4") ("orange3") ("orange2") ("orange1") ("LightSalmon4") ("LightSalmon3"
 ) ("LightSalmon2") ("LightSalmon1") ("salmon4") ("salmon3") ("salmon2") ("salmon1") ("brown4") ("brown3") ("brown2") ("brown1") ("firebrick4") ("firebrick3") ("firebrick2") ("firebrick1") ("chocola
te4") ("chocolate3") ("chocolate2") ("chocolate1") ("tan4") ("tan3") ("tan2") ("tan1") ("wheat4") ("wheat3") ("wheat2") ("wheat1") ("burlywood4") ("burlywood3") ("burlywood2") ("burlywood1") ("sienna4") ("sienna3") ("sienna2") ("sienna1") ("IndianRed4") ("IndianRed3") ("IndianRed2") ("IndianRed1") ("RosyBrown4") ("RosyBrown3") ("RosyBrown2") ("RosyBrown1") ("DarkGoldenrod4") ("DarkGoldenrod3") ("DarkGoldenrod2") ("DarkGoldenrod1") ("goldenrod4") ("goldenrod3") ("goldenrod2") ("goldenrod1") ("gold4") ("gold3") ("gold2") ("gold1") ("yellow4") ("yellow3") ("yellow2") ("yellow1") ("LightYellow4") 
("LightYellow3") ("LightYellow2") ("LightYellow1") ("LightGoldenrod4") ("LightGoldenrod3") ("LightGoldenrod2") ("LightGoldenrod1") ("khaki4") ("khaki3") ("khaki2") ("khaki1") ("DarkOliveGreen4") ("DarkOliveGreen3") ("DarkOliveGreen2") ("DarkOliveGreen1") ("OliveDrab4") ("OliveDrab3") ("OliveDrab2") ("OliveDrab1") ("chartreuse4") ("chartreuse3") ("chartreuse2") ("chartreuse1") ("green4") ("green3") ("green2") ("green1") ("SpringGreen4") ("SpringGreen3") ("SpringGreen2") ("SpringGreen1") ("PaleGreen4") ("PaleGreen3") ("PaleGreen2") ("PaleGreen1") ("SeaGreen4") ("SeaGreen3") ("SeaGreen2") ("SeaGreen1") ("DarkSeaGreen4") ("DarkSeaGreen3") ("DarkSeaGreen2") ("DarkSeaGreen1") ("aquamarine4") ("aquamarine3") ("aquamarine2") ("aquamarine1") ("DarkSlateGray4") ("DarkSlateGray3") ("DarkSlateGray2") 
 ("DarkSlateGray1") ("cyan4") ("cyan3") ("cyan2") ("cyan1") ("turquoise4") ("turquoise3") ("turquoise2") ("turquoise1") ("CadetBlue4") ("CadetBlue3") ("CadetBlue2") ("CadetBlue1") ("PaleTurquoise4")
 ("PaleTurquoise3") ("PaleTurquoise2") ("PaleTurquoise1") ("LightCyan4") ("LightCyan3") ("LightCyan2") ("LightCyan1") ("LightBlue4") ("LightBlue3") ("LightBlue2") ("LightBlue1") ("LightSteelBlue4") ("LightSteelBlue3") ("LightSteelBlue2") ("LightSteelBlue1") ("SlateGray4") ("SlateGray3") ("SlateGray2") ("SlateGray1") ("LightSkyBlue4") ("LightSkyBlue3") ("LightSkyBlue2") ("LightSkyBlue1") ("SkyBlue4") ("SkyBlue3") ("SkyBlue2") ("SkyBlue1") ("DeepSkyBlue4") ("DeepSkyBlue3") ("DeepSkyBlue2") ("DeepSkyBlue1") ("SteelBlue4") ("SteelBlue3") ("SteelBlue2") ("SteelBlue1") ("DodgerBlue4") ("DodgerBlue3") 
("DodgerBlue2") ("DodgerBlue1") ("blue4") ("blue3") ("blue2") ("blue1") ("RoyalBlue4") ("RoyalBlue3") ("RoyalBlue2") ("RoyalBlue1") ("SlateBlue4") ("SlateBlue3") ("SlateBlue2") ("SlateBlue1") ("azure4") ("azure3") ("azure2") ("azure1") ("MistyRose4") ("MistyRose3") ("MistyRose2") ("MistyRose1") ("LavenderBlush4") ("LavenderBlush3") ("LavenderBlush2") ("LavenderBlush1") ("honeydew4") ("honeydew3") ("honeydew2") ("honeydew1") ("ivory4") ("ivory3") ("ivory2") ("ivory1") ("cornsilk4") ("cornsilk3") ("cornsilk2") ("cornsilk1") ("LemonChiffon4") ("LemonChiffon3") ("LemonChiffon2") ("LemonChiffon1") ("NavajoWhite4") ("NavajoWhite3") ("NavajoWhite2") ("NavajoWhite1") ("PeachPuff4") ("PeachPuff3") ("PeachPuff2") ("PeachPuff1") ("bisque4") ("bisque3") ("bisque2") ("bisque1") ("AntiqueWhite4") ("Anti
 queWhite3") ("AntiqueWhite2") ("AntiqueWhite1") ("seashell4") ("seashell3") ("seashell2") ("seashell1") ("snow4") ("snow3") ("snow2") ("snow1") ("thistle") ("MediumPurple") ("purple") ("BlueViolet"
) ("DarkViolet") ("DarkOrchid") ("MediumOrchid") ("orchid") ("plum") ("violet") ("magenta") ("VioletRed") ("MediumVioletRed") ("maroon") ("PaleVioletRed") ("LightPink") ("pink") ("DeepPink") ("HotPink") ("red") ("OrangeRed") ("tomato") ("LightCoral") ("coral") ("DarkOrange") ("orange") ("LightSalmon") ("salmon") ("DarkSalmon") ("brown") ("firebrick") ("chocolate") ("tan") ("SandyBrown") ("wheat") ("beige") ("burlywood") ("peru") ("sienna") ("SaddleBrown") ("IndianRed") ("RosyBrown") ("DarkGoldenrod") ("goldenrod") ("LightGoldenrod") ("gold") ("yellow") ("LightYellow") ("LightGoldenrodYellow") 
("PaleGoldenrod") ("khaki") ("DarkKhaki") ("OliveDrab") ("ForestGreen") ("YellowGreen") ("LimeGreen") ("GreenYellow") ("MediumSpringGreen") ("chartreuse") ("green") ("LawnGreen") ("SpringGreen") ("PaleGreen") ("LightSeaGreen") ("MediumSeaGreen") ("SeaGreen") ("DarkSeaGreen") ("DarkOliveGreen") ("DarkGreen") ("aquamarine") ("MediumAquamarine") ("CadetBlue") ("LightCyan") ("cyan") ("turquoise") ("MediumTurquoise") ("DarkTurquoise") ("PaleTurquoise") ("PowderBlue") ("LightBlue") ("LightSteelBlue") ("SteelBlue") ("LightSkyBlue") ("SkyBlue") ("DeepSkyBlue") ("DodgerBlue") ("blue") ("RoyalBlue") ("MediumBlue") ("LightSlateBlue") ("MediumSlateBlue") ("SlateBlue") ("DarkSlateBlue") ("CornflowerBlue") ("NavyBlue") ("MidnightBlue") ("LightGray" "LightGrey") ("grey") ("LightSlateGrey") ("SlateGrey") 
 ("DimGrey") ("DarkSlateGrey") ("black") ("white") ("MistyRose") ("LavenderBlush") ("lavender") ("AliceBlue") ("azure") ("MintCream") ("honeydew") ("seashell") ("LemonChiffon") ("ivory") ("cornsilk"
) ("moccasin") ("NavajoWhite") ("PeachPuff") ("bisque") ("BlanchedAlmond") ("PapayaWhip") ("AntiqueWhite") ("linen") ("OldLace") ("FloralWhite") ("gainsboro") ("WhiteSmoke") ("GhostWhite") ("snow") ("alternateSelectedControlColor") ("alternateSelectedControlTextColor" "controlColor" "controlBackgroundColor") ("controlDarkShadowColor" "controlShadowColor" "controlLightHighlightColor" "controlHighlightColor") ("controlTextColor" "disabledControlTextColor") ("gridColor") ("headerColor") ("headerTextColor") ("highlightColor") ("keyboardFocusIndicatorColor") ("knobColor") ("labelColor" 
"quaternaryLabelColor") ("scrollBarColor") ("secondaryLabelColor") ("secondarySelectedControlColor") ("selectedControlColor") ("selectedControlTextColor") ("selectedKnobColor" "selectedMenuItemColor") ("selectedMenuItemTextColor") ("selectedTextBackgroundColor") ("selectedTextColor") ("shadowColor") ("tertiaryLabelColor") ("textBackgroundColor") ("textColor") ("windowBackgroundColor") ("windowFrameColor") ("windowFrameTextColor" "Black") ("Blue") ("Brown") ("Cyan") ("Green") ("Magenta") ("Orange") ("Purple") ("Red") ("Yellow") ("White")) nil)
 >    list-colors-display()
 >    funcall-interactively(list-colors-display)
 >    call-interactively(list-colors-display record nil)
 >    command-execute(list-colors-display record)
 >    execute-extended-command(nil "list-colors-display" nil)
 >    funcall-interactively(execute-extended-command nil "list-colors-display" nil)
 >    call-interactively(execute-extended-command nil nil)
 >    command-execute(execute-extended-command)

Can you please try the attached patch?

Thanks, martin

[-- Attachment #2: facemenu.el.diff --]
[-- Type: text/plain, Size: 617 bytes --]

diff --git a/lisp/facemenu.el b/lisp/facemenu.el
index 7c10d60..6a941ab 100644
--- a/lisp/facemenu.el
+++ b/lisp/facemenu.el
@@ -622,8 +622,9 @@ list-colors-print
 	(setq color (list color)))
       (let* ((opoint (point))
 	     (color-values (color-values (car color)))
-	     (light-p (>= (apply 'max color-values)
-			  (* (car (color-values "white")) .5))))
+	     (light-p (and color-values
+                           (>= (apply 'max color-values)
+			       (* (car (color-values "white")) .5)))))
 	(insert (car color))
 	(indent-to 22)
 	(put-text-property opoint (point) 'face `(:background ,(car color)))

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#33713: 26.1; Error on list-colors-display
  2018-12-12  8:32 ` martin rudalics
@ 2020-08-21  7:36   ` Stefan Kangas
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Kangas @ 2020-08-21  7:36 UTC (permalink / raw)
  To: martin rudalics; +Cc: Vincent Zhang, 33713

martin rudalics <rudalics@gmx.at> writes:

>> I got this error while using `list-colors-display` with `emcees -Q`.
>
> What is 'emcees'?
>
>> Debugger entered--Lisp error: (wrong-number-of-arguments #<subr max> 0)
>>    max()
>>    apply(max nil)
>>    list-colors-print((("LightGreen") ("DarkRed") ("DarkMagenta") ("DarkCyan")
[...]
> Can you please try the attached patch?

So the code seems to have changed and I see no call to 'max in
facemenu.el.  So this error can't happen anymore, at least.

But this bug was merged with another bug, so I will wait with closing
this until we get a response there before I close this bug.

If there is any information missing or incorrect in the reasoning above,
or if you're still seeing this issue on Emacs 27.1, please reply back
and we can reconsider.

Thanks.

> diff --git a/lisp/facemenu.el b/lisp/facemenu.el
> index 7c10d60..6a941ab 100644
> --- a/lisp/facemenu.el
> +++ b/lisp/facemenu.el
> @@ -622,8 +622,9 @@ list-colors-print
>  	(setq color (list color)))
>        (let* ((opoint (point))
>  	     (color-values (color-values (car color)))
> -	     (light-p (>= (apply 'max color-values)
> -			  (* (car (color-values "white")) .5))))
> +	     (light-p (and color-values
> +                           (>= (apply 'max color-values)
> +			       (* (car (color-values "white")) .5)))))
>  	(insert (car color))
>  	(indent-to 22)
>  	(put-text-property opoint (point) 'face `(:background ,(car color)))

Best regards,
Stefan Kangas





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-21  7:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-12  6:11 bug#33713: 26.1; Error on list-colors-display Vincent Zhang
2018-12-12  8:32 ` martin rudalics
2020-08-21  7:36   ` Stefan Kangas

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.