Question

Icicles (v.22.0) installed from elpa (package-list-packages)

Emacs version

$ emacs --version
GNU Emacs 24.0.90.1

Output on emacs start

Warning (initialization): An error occurred while loading `/home/exu/.emacs.d/init.el':

Symbol's function definition is void: hexrgb-canonicalize-defined-colors

To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the `--debug-init' option to view a complete error backtrace.

Debug init below: Link to GIST error dump

Was it helpful?

Solution

You should not get such an error. Sorry for your trouble. The error message is saying that something tried to call function hexrgb-canonicalize-defined-colors but it was never defined. It was not defined no doubt because you do not have file hexrgb.el in your load-path. That's OK, but in that case, it should never be called.

hexrgb.el is an optional file for using Icicles (but it is recommended) -- see optional Icicles libraries.

Follow up by email, if you can -- that's easiest: M-x icicle-send-bug-report. Let me know what Icicles files you have etc. Preferably, test by starting from emacs -Q (no init file). Set debug-on-error to t, add the Icicles files to your load-path, M-x-load-library icicles, etc.

For debugging, use only the source Icicles files (*.el, not byte-compiled, *.elc). Remove any byte-compiled Icicles files from your load-path. Thx -- Drew

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top