On Mon, 2002-08-26 at 23:33, Volker Sturm wrote:
I tried to set and save the
Advanced(Customize)->Emacs->PostScript->Ps
Print->Color option. It appears in my ~/.xemacs/custom.el file:
'(ps-print-color-p t)
But when I close XEmacs and reopen it, the menu item
Options->Printing->Color is greyed out and the customization buffer
says: "This option has been changed outside the customization buffer."
When I say either "Reset to standard setting" or "Reset to saved"
XEmacs does set the color print option as desired and
Options->Printing->Color is usable again. custom.el seems to be used
for all customizations I set besides that color option. How can I work
around that?
Thanks for the report, Volker; the workaround is to wait a couple of
days for the next ps-print package release (1.08?) and follow the
instructions at [1] to upgrade it from "Pre-Releases" :)
More seriously, this is actually a pretty nice bug, ps-print.el checks
whether it's running under XEmacs, and checks if emacs-minor-version is
less than 12 and makes some assumptions with that information, including
setq'ing ps-print-color-p to nil. Too bad it forgets to check
emacs-major-version... LoL!
The Options->Printing->Color is due to another buglet, ps-print-color-p
needs an autoload cookie; when it's autoloaded, the options menu widget
starts to work as expected.
Fixing the version checking bug also enables other stuff that has been
incorrectly disabled for all XEmacsen >= 20...
[1]
<
http://www.xemacs.org/Documentation/packageGuide.html#Installing_automati...
Cheers,
--
\/ille Skyttä
ville.skytta at
xemacs.org