From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 17 09:58:30 2021 Received: (at submit) by debbugs.gnu.org; 17 Aug 2021 13:58:30 +0000 Received: from localhost ([127.0.0.1]:53699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFzbp-00083Q-RJ for submit@debbugs.gnu.org; Tue, 17 Aug 2021 09:58:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:41214) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFzbo-00083J-Fk for submit@debbugs.gnu.org; Tue, 17 Aug 2021 09:58:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41562) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFzbn-0002XR-Vq for bug-gnu-emacs@gnu.org; Tue, 17 Aug 2021 09:58:28 -0400 Received: from s30.dg.net.uk ([91.224.108.30]:41428) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFzbl-0001pX-Jx for bug-gnu-emacs@gnu.org; Tue, 17 Aug 2021 09:58:27 -0400 Received: from mail-wm1-f43.google.com ([209.85.128.43]:35366) by s30.dg.net.uk with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1mFzay-00067s-Ri for bug-gnu-emacs@gnu.org; Tue, 17 Aug 2021 14:57:36 +0100 Received: by mail-wm1-f43.google.com with SMTP id q11-20020a7bce8b0000b02902e6880d0accso2025072wmj.0 for ; Tue, 17 Aug 2021 06:57:36 -0700 (PDT) X-Gm-Message-State: AOAM533t5tMblKS+LgqIqxtZ1ptuDNFE5ZknNIvh6Vqx5xBuZJTuGZe7 bxwmhct6Ioe/ypikQcXFUFe30yBwERBUmfHMhsM= X-Google-Smtp-Source: ABdhPJzm8q9s/mOPxqjGP9Bpu4c0qFWs3HjHiFSEnKS042iGTbjDrNn0dVKMcgeQ9q91zx5/NP/1/etuLaatQ7aNagc= X-Received: by 2002:a05:600c:1ca7:: with SMTP id k39mr3648815wms.115.1629208656361; Tue, 17 Aug 2021 06:57:36 -0700 (PDT) MIME-Version: 1.0 From: Simon Katz Date: Tue, 17 Aug 2021 14:57:25 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: 27.2; `M-x list-colors-display` fails with an error To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="0000000000003a3ea005c9c1b369" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - s30.dg.net.uk X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - nomistech.com X-Get-Message-Sender-Via: s30.dg.net.uk: authenticated_id: non-junk@nomistech.com X-Authenticated-Sender: s30.dg.net.uk: non-junk@nomistech.com Received-SPF: pass client-ip=91.224.108.30; envelope-from=sk@nomistech.com; helo=s30.dg.net.uk X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sk@nomistech.com Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --0000000000003a3ea005c9c1b369 Content-Type: text/plain; charset="UTF-8" `M-x list-colors-display` fails with an error. I produced this bug report in Emacs 27.2.2 with no additional packages loaded. I also tried with Emacs 26.3, with the same result. The error is caused by `(apply 'max color-values)` being called when `color-values` is null. Debugger backtrace follows: Debugger entered--Lisp error: (wrong-number-of-arguments # 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") ("gray85") ("grey84" "gray84") ("grey83" "gray83") ("grey82" "gray82") ("grey81" "gray81") ("grey80" "gray80") ("grey79" "gray79") ("grey78" "gray78") ("grey77" "gray77") ("grey76" "gray76") ("grey75" "gray75") ("grey74" "gray74") ("grey73" "gray73") ("grey72" "gray72") ("grey71" "gray71") ("grey70" "gray70") ("grey69" "gray69") ("grey68" "gray68") ("grey67" "gray67") ("grey66" "gray66") ("grey65" "gray65") ("grey64" "gray64") ("grey63" "gray63") ("grey62" "gray62") ("grey61" "gray61") ("grey60" "gray60") ("grey59" "gray59") ("grey58" "gray58") ("grey57" "gray57") ("grey56" "gray56") ("grey55" "gray55") ...) 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" "list-colors-d") funcall-interactively(execute-extended-command nil "list-colors-display" "list-colors-d") call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) In GNU Emacs 27.2 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 Version 10.14.6 (Build 18G95)) of 2021-03-27 built on builder10-14.porkrind.org Windowing system distributor 'Apple', version 10.3.1894 System Description: Mac OS X 10.15.7 Recent messages: Unable to load color "grey85" [2 times] For information about GNU Emacs and the GNU system, type C-h C-a. Unable to load color "grey85" [2 times] Entering debugger... Unable to load color "grey85" [6 times] s-b is undefined Mark activated command-execute: Command attempted to use minibuffer while in minibuffer Quit [5 times] Quit 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 KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS JSON PDUMPER GMP Important settings: value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: Debugger Minor modes in effect: tooltip-mode: t global-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 buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-fns radix-tree cl-print debug backtrace find-func color help-mode nomis-start-plain package easymenu browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib 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 tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer 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 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 threads kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 66352 8907) (symbols 48 7697 1) (strings 32 21267 2138) (string-bytes 1 709606) (vectors 16 13608) (vector-slots 8 168118 11158) (floats 8 180 244) (intervals 56 542 4) (buffers 1000 14)) --0000000000003a3ea005c9c1b369 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
`M-x list-colors-display` fails with an error.

I produced this bug report in Emacs 27.2.2 with no additional packa= ges loaded.

I also tried with Emacs 26.3, with the same result.
=
The error is caused by `(apply 'max color-values)` being called whe= n
`color-values` is null.

Debugger backtrace follows:

Debu= gger entered--Lisp error: (wrong-number-of-arguments #<subr max> 0)=C2=A0 max()
=C2=A0 apply(max nil)
=C2=A0 list-colors-print((("= ;LightGreen") ("DarkRed") ("DarkMagenta") ("D= arkCyan") ("DarkBlue") ("DarkGray" "DarkGrey&= quot;) ("grey100") ("grey99") ("grey98") (&qu= ot;grey97") ("grey96") ("grey95") ("grey94&qu= ot;) ("grey93") ("grey92") ("grey91") ("= grey90") ("grey89") ("grey88") ("gray85"= ) ("grey84" "gray84") ("grey83" "gray83&= quot;) ("grey82" "gray82") ("grey81" "gr= ay81") ("grey80" "gray80") ("grey79" &qu= ot;gray79") ("grey78" "gray78") ("grey77"= ; "gray77") ("grey76" "gray76") ("grey75= " "gray75") ("grey74" "gray74") ("g= rey73" "gray73") ("grey72" "gray72") (&q= uot;grey71" "gray71") ("grey70" "gray70"= ) ("grey69" "gray69") ("grey68" "gray68&= quot;) ("grey67" "gray67") ("grey66" "gr= ay66") ("grey65" "gray65") ("grey64" &qu= ot;gray64") ("grey63" "gray63") ("grey62"= ; "gray62") ("grey61" "gray61") ("grey60= " "gray60") ("grey59" "gray59") ("g= rey58" "gray58") ("grey57" "gray57") (&q= uot;grey56" "gray56") ("grey55" "gray55"= ) ...) nil)
=C2=A0 list-colors-display()
=C2=A0 funcall-interactively= (list-colors-display)
=C2=A0 call-interactively(list-colors-display reco= rd nil)
=C2=A0 command-execute(list-colors-display record)
=C2=A0 exe= cute-extended-command(nil "list-colors-display" "list-colors= -d")
=C2=A0 funcall-interactively(execute-extended-command nil &quo= t;list-colors-display" "list-colors-d")
=C2=A0 call-inter= actively(execute-extended-command nil nil)
=C2=A0 command-execute(execut= e-extended-command)




In GNU Emacs 27.2 (build 1, x86_64-a= pple-darwin18.7.0, NS appkit-1671.60 Version 10.14.6 (Build 18G95))
=C2= =A0of 2021-03-27 built on buil= der10-14.porkrind.org
Windowing system distributor 'Apple', = version 10.3.1894
System Description: =C2=A0Mac OS X 10.15.7

Rece= nt messages:
Unable to load color "grey85" [2 times]
For in= formation about GNU Emacs and the GNU system, type C-h C-a.
Unable to lo= ad color "grey85" [2 times]
Entering debugger...
Unable to = load color "grey85" [6 times]
s-b is undefined
Mark activat= ed
command-execute: Command attempted to use minibuffer while in minibuf= fer
Quit [5 times]
Quit
Configured using:
=C2=A0'configure = --with-ns '--enable-locallisppath=3D/Library/Application
=C2=A0Suppo= rt/Emacs/${version}/site-lisp:/Library/Application
=C2=A0Support/Emacs/s= ite-lisp' --with-modules'

Configured features:
NOTIFY KQU= EUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES
THREADS JSON = PDUMPER GMP

Important settings:
=C2=A0 value of $LANG: en_GB.UTF-= 8
=C2=A0 locale-coding-system: utf-8-unix

Major mode: Debugger
Minor modes in effect:
=C2=A0 tooltip-mode: t
=C2=A0 global-eldo= c-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-sh= adow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t=
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-composition-mode: t
=C2= =A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 bu= ffer-read-only: t
=C2=A0 line-number-mode: t
=C2=A0 transient-mark-mo= de: t

Load-path shadows:
None found.

Features:
(shadow = sort mail-extr emacsbug message rmc puny dired dired-loaddefs
format-spe= c rfc822 mml mml-sec epa derived epg epg-config gnus-util
rmail rmail-lo= addefs text-property-search time-date mm-decode mm-bodies
mm-encode mail= -parse rfc2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 = ietf-drums mm-util mail-prsvr mail-utils help-fns
radix-tree cl-print de= bug backtrace find-func color help-mode
nomis-start-plain package easyme= nu browse-url url-handlers url-parse
auth-source cl-seq eieio eieio-core= cl-macs eieio-loaddefs
password-cache json subr-x map url-vars seq byte= -opt gv bytecomp
byte-compile cconv cl-loaddefs cl-lib tooltip eldoc ele= ctric 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<= br>regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode=
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch<= br>timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font= -core term/tty-colors frame minibuffer cl-generic cham georgian
utf-8-la= ng misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-= ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian c= yrillic chinese composite charscript charprop
case-table epa-hook jka-cm= pr-hook help simple abbrev obarray
cl-preloaded nadvice loaddefs button = faces cus-face macroexp files
text-properties overlay sha1 md5 base64 fo= rmat env code-pages mule
custom widget hashtable-print-readable backquot= e threads kqueue cocoa ns
multi-tty make-network-process emacs)

M= emory information:
((conses 16 66352 8907)
=C2=A0(symbols 48 7697 1)<= br>=C2=A0(strings 32 21267 2138)
=C2=A0(string-bytes 1 709606)
=C2=A0= (vectors 16 13608)
=C2=A0(vector-slots 8 168118 11158)
=C2=A0(floats = 8 180 244)
=C2=A0(intervals 56 542 4)
=C2=A0(buffers 1000 14))
--0000000000003a3ea005c9c1b369-- From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 17 15:54:06 2021 Received: (at 50094) by debbugs.gnu.org; 17 Aug 2021 19:54:06 +0000 Received: from localhost ([127.0.0.1]:54176 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mG59x-0000aV-St for submit@debbugs.gnu.org; Tue, 17 Aug 2021 15:54:06 -0400 Received: from outbound.soverin.net ([116.202.126.228]:55069) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mG59t-0000Zw-DR for 50094@debbugs.gnu.org; Tue, 17 Aug 2021 15:54:04 -0400 Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id C47B438B; Tue, 17 Aug 2021 19:53:54 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1629230034; bh=qZumya81H8ah0Hm03UCyr9Yng/bfyAYtOcHIvLUWYIU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hXJNG0kIDjQcpIlTTIN9hCSfFq+nkL7iNT12sHBFrI94qauqMlfXZJTmAi8/wiRi5 7sPHojZgwQXd+2J6FCMHsXS7o1fojGEOMMpKcis14SkLPvKnZAOb/8bdMa5VcKLqIt DFL1kDQZvslPVDjHvkE/4/SGU9uhHrHwFjO9O/vV2eCwzJDWzkEV/bv0ewZ6GZ9fbA zaKBLJRXRVfK9tM++/jNcyLaj0ohy8ld99uU/opw+IPf3HaRGX8C6i2fvKSVtv3S9j WyK07Ptnb4FUeAu8sq5v28QQ8VuIiEXJ0998dqDKbFnpSejdXjcrdPHab4iL4puQRd bfbQ/pIMFcLYA== Received: from alan by faroe.holly.idiocy.org with local (Exim 4.94.2) (envelope-from ) id 1mG59i-000dfQ-4T; Tue, 17 Aug 2021 20:53:50 +0100 Date: Tue, 17 Aug 2021 20:53:50 +0100 From: Alan Third To: Simon Katz Subject: Re: bug#50094: 27.2; `M-x list-colors-display` fails with an error Message-ID: Mail-Followup-To: Alan Third , Simon Katz , 50094@debbugs.gnu.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 50094 Cc: 50094@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Tue, Aug 17, 2021 at 02:57:25PM +0100, Simon Katz wrote: > `M-x list-colors-display` fails with an error. > > I produced this bug report in Emacs 27.2.2 with no additional packages > loaded. > > I also tried with Emacs 26.3, with the same result. > > The error is caused by `(apply 'max color-values)` being called when > `color-values` is null. > > Debugger backtrace follows: > > Debugger entered--Lisp error: (wrong-number-of-arguments # 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") ("gray85") ("grey84" > "gray84") ("grey83" "gray83") ("grey82" "gray82") ("grey81" "gray81") > ("grey80" "gray80") ("grey79" "gray79") ("grey78" "gray78") ("grey77" > "gray77") ("grey76" "gray76") ("grey75" "gray75") ("grey74" "gray74") > ("grey73" "gray73") ("grey72" "gray72") ("grey71" "gray71") ("grey70" > "gray70") ("grey69" "gray69") ("grey68" "gray68") ("grey67" "gray67") > ("grey66" "gray66") ("grey65" "gray65") ("grey64" "gray64") ("grey63" > "gray63") ("grey62" "gray62") ("grey61" "gray61") ("grey60" "gray60") > ("grey59" "gray59") ("grey58" "gray58") ("grey57" "gray57") ("grey56" > "gray56") ("grey55" "gray55") ...) 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" "list-colors-d") > funcall-interactively(execute-extended-command nil "list-colors-display" > "list-colors-d") > call-interactively(execute-extended-command nil nil) > command-execute(execute-extended-command) Please run: rm $HOME/Library/Colors/Emacs.clr and try again. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 17 16:04:10 2021 Received: (at 50094) by debbugs.gnu.org; 17 Aug 2021 20:04:10 +0000 Received: from localhost ([127.0.0.1]:54191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mG5Jh-0000qo-Qu for submit@debbugs.gnu.org; Tue, 17 Aug 2021 16:04:10 -0400 Received: from mail-wm1-f46.google.com ([209.85.128.46]:34586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mG5Jc-0000qH-SY for 50094@debbugs.gnu.org; Tue, 17 Aug 2021 16:04:07 -0400 Received: by mail-wm1-f46.google.com with SMTP id o1-20020a05600c5101b02902e676fe1f04so2282484wms.1 for <50094@debbugs.gnu.org>; Tue, 17 Aug 2021 13:04:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=/leNvbMF0+YE3XmAj1EGoBUg3+rlJItb/2E6QVYJ8CM=; b=EQcarRKetyUqFdN206XCWYO1a6SAos0fXQ3tDa5mwLT9Akx81iRvbX+0MPAuJaBPka jbVyogNYyCO5IEP/G8qyVSeJmUHfDwyqphe0unXWGP2CBqrlw3P4ocnsd/ZsitiBSKqr o6aawjL+iqto7R4xWPyuvkeM6aXfwyY3NphhVrX0C/85xb7coCXToQ2nwPzkC5B6n0SF lXJfM9SnTcqh202mLOCI69CFyjA1g7vkBdMAd6Dw6RYEVR2biDo7bgaROH4FEkUXxjQL d15274eBbZN/huT7WW2x3GRPReD1kd83N+eu4vTNGyCw87hA/vkQEZe4KBiMw6yG0HPs qf+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=/leNvbMF0+YE3XmAj1EGoBUg3+rlJItb/2E6QVYJ8CM=; b=iLO8YRY6zRrEYfMD+/ptiUjnTn46ZXIufj2JxhMlzLGHFyuM7hlcnf5fZlNj9+5FcX Bi5dUjFVp3Uxyn2Jf9O8Ib1EyFQMbeW8TKWTGs/CLqp2vAoYKU9kGcYofRTp+agrsWaQ M/bsHJZJJPx/eMyvjt+9tW0rONxsl6Dxq6KZjh1qXmauOBJ0d9vrESRKwL8KP7i8qxyl dG84GzoqZ3A6tpFHxVg2h6Ucla93sGirPpMTUX030eQyKxuIloA6QV8WlbAUxw+hHZEp AT2DzA/kaQaAcLtRKcqtNzZjG85X44hmuTYFl0nZhD8yMLjYiF/AUAxIK35enjNTqy7K /JGw== X-Gm-Message-State: AOAM531GLaASLoNdLP3NsCJBPKoPD7Y7IpFi8NY5eSwIN4OkWakjtwQU DCZijxTE5mCFKStb61uFDTxW4g== X-Google-Smtp-Source: ABdhPJyoCjUPebzr+qYl1n/rVxwbUPj9k9fL/9mp4Kx+DpJ8ql9IUIlYf62KAwsoKfcWOCORvb4VWQ== X-Received: by 2002:a05:600c:21d7:: with SMTP id x23mr5002057wmj.10.1629230638992; Tue, 17 Aug 2021 13:03:58 -0700 (PDT) Received: from localhost ([2a02:8084:20e2:c380:d15:339e:aa10:60f1]) by smtp.gmail.com with ESMTPSA id d9sm3439245wrw.26.2021.08.17.13.03.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Aug 2021 13:03:58 -0700 (PDT) From: "Basil L. Contovounesios" To: Simon Katz Subject: Re: bug#50094: 27.2; `M-x list-colors-display` fails with an error References: Date: Tue, 17 Aug 2021 21:03:56 +0100 In-Reply-To: (Simon Katz's message of "Tue, 17 Aug 2021 14:57:25 +0100") Message-ID: <878s0zg7o3.fsf@tcd.ie> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50094 Cc: 50094@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Simon Katz [2021-08-17 14:57 +0100] wrote: > `M-x list-colors-display` fails with an error. > > I produced this bug report in Emacs 27.2.2 with no additional packages loaded. > > I also tried with Emacs 26.3, with the same result. > > The error is caused by `(apply 'max color-values)` being called when > `color-values` is null. FWIW, this code has been removed in the latest development version of Emacs: Improved light/dark colour predicate (bug#41544) 68ae6faa7f 2020-06-10 20:11:13 +0200 https://git.sv.gnu.org/cgit/emacs.git/commit/?id=68ae6faa7f1b4c348740667f98fbf1d1ce5a7979 -- Basil From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 18 07:25:24 2021 Received: (at 50094) by debbugs.gnu.org; 18 Aug 2021 11:25:25 +0000 Received: from localhost ([127.0.0.1]:54988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGJhE-0001GP-QW for submit@debbugs.gnu.org; Wed, 18 Aug 2021 07:25:24 -0400 Received: from s30.dg.net.uk ([91.224.108.30]:49356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGJh9-0001G8-Mi for 50094@debbugs.gnu.org; Wed, 18 Aug 2021 07:25:24 -0400 Received: from mail-wr1-f46.google.com ([209.85.221.46]:40918) by s30.dg.net.uk with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1mGJh0-0000pY-De for 50094@debbugs.gnu.org; Wed, 18 Aug 2021 12:25:10 +0100 Received: by mail-wr1-f46.google.com with SMTP id k29so2944702wrd.7 for <50094@debbugs.gnu.org>; Wed, 18 Aug 2021 04:25:10 -0700 (PDT) X-Gm-Message-State: AOAM532psVEJF+nK0q6fqKXP5OOgZfZ1YVTgPHYj5hqvc+3gnxLqHv0y kPU1oFPWce+fZsCamKFJO+DteIUfWQBroA5dtAc= X-Google-Smtp-Source: ABdhPJweYOBbvUmlzNxIs0IU86BTx7Z/cPR/VWNF9rQK86kRz80hRFCmoRbfj8u1Ut4VJ+eJT+JzNwMBi/OozAGsGso= X-Received: by 2002:a5d:6107:: with SMTP id v7mr10052819wrt.408.1629285910342; Wed, 18 Aug 2021 04:25:10 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Simon Katz Date: Wed, 18 Aug 2021 12:24:59 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: bug#50094: 27.2; `M-x list-colors-display` fails with an error To: Alan Third , Simon Katz , 50094@debbugs.gnu.org Content-Type: multipart/alternative; boundary="000000000000ec721f05c9d3afd7" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - s30.dg.net.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - nomistech.com X-Get-Message-Sender-Via: s30.dg.net.uk: authenticated_id: non-junk@nomistech.com X-Authenticated-Sender: s30.dg.net.uk: non-junk@nomistech.com X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 50094 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sk@nomistech.com Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --000000000000ec721f05c9d3afd7 Content-Type: text/plain; charset="UTF-8" > Please run: > > rm $HOME/Library/Colors/Emacs.clr > > and try again. Thanks. It works after doing that. --000000000000ec721f05c9d3afd7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> Please run:
>
> =C2=A0 =C2=A0 rm $HOME/Li= brary/Colors/Emacs.clr
>
> and try again.

Thanks. It works after doing that.
--000000000000ec721f05c9d3afd7-- From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 18 13:08:16 2021 Received: (at 50094-done) by debbugs.gnu.org; 18 Aug 2021 17:08:16 +0000 Received: from localhost ([127.0.0.1]:57472 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGP32-0002k6-8B for submit@debbugs.gnu.org; Wed, 18 Aug 2021 13:08:16 -0400 Received: from outbound.soverin.net ([116.202.126.228]:59897) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGP2z-0002jn-JW for 50094-done@debbugs.gnu.org; Wed, 18 Aug 2021 13:08:14 -0400 Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 48D973B9; Wed, 18 Aug 2021 17:08:07 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1629306486; bh=/z9eWWYuKVvxKdzaLUwJE9HyqKx1Vlbg4V2QWyGm7Ds=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UqHSY6ax3isKgda1dtxweC7qaeMT5rcmXJ3rMFxJ9BpzqfGDDcAG9V2zY3mcNR/Me ibnOUlrH5BBM4LhzMJLnLxG4Edj9lxTK3lNeAN58XHJyC/AeLbK4W89AS6UE/xaiBo v+N3S+pohtkLXf4df/aCx0U0w2O4IhZpuODvgCpi8EpD5ZALvQmZ0YGULvYGO0+886 JenTRNCC9tQsfJjWma/Y8GWqnEicvChYc1RDSq1t9xPYS4NSEJ4BE/OISRSCTP3xpb jIvOIa07UqLFqpGwjjHIaTNolbMCwL3OreuHDPBTJSEk5XS7mdyJAWtSZc5fyJT4+6 JtorYpBl8H2gQ== Received: from alan by faroe.holly.idiocy.org with local (Exim 4.94.2) (envelope-from ) id 1mGP2o-000e0C-9Z; Wed, 18 Aug 2021 18:08:02 +0100 Date: Wed, 18 Aug 2021 18:08:02 +0100 From: Alan Third To: Simon Katz Subject: Re: bug#50094: 27.2; `M-x list-colors-display` fails with an error Message-ID: Mail-Followup-To: Alan Third , Simon Katz , 50094-done@debbugs.gnu.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 50094-done Cc: 50094-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Wed, Aug 18, 2021 at 12:24:59PM +0100, Simon Katz wrote: > > Please run: > > > > rm $HOME/Library/Colors/Emacs.clr > > > > and try again. > > Thanks. It works after doing that. Thanks. Apple made a change a while back and the old code that creates that file now seems to create a corrupted version, so it's a bit of a pain. -- Alan Third From unknown Tue Jun 24 01:41:37 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 16 Sep 2021 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator