; * etc/PROBLEMS: Document macOS problems with Emacs.clr (bug#70836).

This commit is contained in:
Eli Zaretskii 2024-05-09 09:05:22 +03:00
parent 8560ee7b5c
commit a7d247be90

View file

@ -3382,7 +3382,7 @@ for further discussion.
* Runtime problems specific to macOS * Runtime problems specific to macOS
** Error message when opening Emacs on macOS ** Error message about malicious software when opening Emacs on macOS
When opening Emacs, you may see an error message saying something like When opening Emacs, you may see an error message saying something like
this: this:
@ -3399,6 +3399,22 @@ the Emacs app icon, and then choose Open. This adds a security
exception for Emacs and from now on you should be able to open it by exception for Emacs and from now on you should be able to open it by
double-clicking on its icon, like any other app. double-clicking on its icon, like any other app.
** Error message about color list unarchiver when starting Emacs on macOS
The error message looks like this:
Failed to initialize color list unarchiver:
Error Domain=NSCocoaErrorDomain Code=4864 "*** -[NSKeyedUnarchiver
_initForReadingFromData:error:throwLegacyExceptions:]: non-keyed archive cannot be decoded by NSKeyedUnarchiver"
UserInfo={NSDebugDescription=*** -[NSKeyedUnarchiver
_initForReadingFromData:error:throwLegacyExceptions:]: non-keyed archive cannot be decoded by NSKeyedUnarchiver}
After showing this message, Emacs usually works normally.
The usual reason for this is that the color file,
~/Library/Colors/Emacs.clr, is stale or corrupted. The solution is to
delete that file and restart Emacs.
** macOS doesn't come with libxpm, so only XPM3 is supported. ** macOS doesn't come with libxpm, so only XPM3 is supported.
Libxpm is available for macOS as part of the XQuartz project. Libxpm is available for macOS as part of the XQuartz project.