5

When running this function:

M-x list-colors-display

I always get the following error:

Wrong number of arguments: #<subr max>, 0

If I try to use edebug in the function I get:

edebug-signal: Wrong number of arguments: #<subr max>, 0

The same happens starting emacs -q, I'm using: This is GNU Emacs 27.0.50 (build 1, x86_64-apple-darwin16.7.0, NS appkit-1504.83 Version 10.12.6 (Build 16G1408)) of 2018-06-21

As pointed in the comments this was bug for the emacs that I installed with homebrew and --HEAD option. now with this version or < 26.1 works well:

This is GNU Emacs 27.0.50 (build 1, x86_64-apple-darwin18.2.0, NS appkit-1671.10 Version 10.14.1 (Build 18B75))
 of 2018-12-08
  • 1
    Do you get the same error when you run Emacs without your init file (emacs -q)? – DoMiNeLa10 Dec 8 '18 at 16:35
  • yes exactly the same trying with -q, I will update the question – anquegi Dec 8 '18 at 16:38
  • 2
    Emacs 27 has not been released yet. In this case you can probably report this as a bug to the Emacs team. – Lindydancer Dec 8 '18 at 16:56
  • I think the error comes from list-colors-print, which seems to have a nil at the end, and that gives you the error you see. – John Kitchin Dec 8 '18 at 21:18
  • @JohnKitchin: Please consider posting that as an answer. – Drew Dec 8 '18 at 23:23
6

I think the error comes from list-colors-print, which seems to have a nil at the end, and that gives you the error you see. This doesn't seem to happen in earlier versions of emacs and is probably a bug.

  • As also pointed in the comments I send the bug to emacs community, then I update my emacs and it worked again – anquegi Dec 10 '18 at 13:18
  • Where is list-colors-print to be found? I work with Emacs Prelude. – Emmanuel Goldstein Jan 23 at 9:49
  • list-colors-display is an interactive compiled Lisp function in `facemenu.el'. – John Kitchin Jan 25 at 13:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.