From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#50094: 27.2; `M-x list-colors-display` fails with an error Date: Tue, 17 Aug 2021 20:53:50 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10361"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50094@debbugs.gnu.org To: Simon Katz Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 17 21:55:14 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mG5B4-0002Oz-4v for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 17 Aug 2021 21:55:14 +0200 Original-Received: from localhost ([::1]:60062 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mG5B3-0004gz-18 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 17 Aug 2021 15:55:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mG5As-0004gc-MZ for bug-gnu-emacs@gnu.org; Tue, 17 Aug 2021 15:55:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42630) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mG5As-0001mx-G7 for bug-gnu-emacs@gnu.org; Tue, 17 Aug 2021 15:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mG5As-0000bm-Cr for bug-gnu-emacs@gnu.org; Tue, 17 Aug 2021 15:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Aug 2021 19:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50094 X-GNU-PR-Package: emacs Original-Received: via spool by 50094-submit@debbugs.gnu.org id=B50094.16292300462267 (code B ref 50094); Tue, 17 Aug 2021 19:55:02 +0000 Original-Received: (at 50094) by debbugs.gnu.org; 17 Aug 2021 19:54:06 +0000 Original-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 Original-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 Original-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) Original-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== Original-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 Mail-Followup-To: Alan Third , Simon Katz , 50094@debbugs.gnu.org Content-Disposition: inline In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:212110 Archived-At: 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