[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: XEmacs losing options



On Sat, 2002-08-24 at 20:18, Volker Sturm wrote:
> Hi,
> I can set and save all options in xemacs properly. Only the color 
> printing option is always reset to "Do NOT print color". And as an 
> explanation it says: "This option has been changed outside the customize 
> buffer." The Options->Printing->Color Printing option is greyed out.
> If I do a "Revert to saved", it reverts to the settings that are in 
> ~/.xemacs/custom.el and I can use the Options->Printing->Color Printing 
> option again.
> Can anyone tell me from WHERE outside the customize buffer that option 
> is reset and why that is the only option that seems to be affected? That 
> behavior is most strange because color printing is on by default in 
> xemacs usually. What does turn the color printing option off?

In ps-print.el.gz (xemacs-base-support-el deb) you'll find this:

(eval-and-compile
  (if (memq ps-print-emacs-type '(lucid xemacs))
      (if (< emacs-minor-version 12)
	  (setq ps-print-color-p nil))
    (require 'faces))

which effectively sets ps-print-color-p to nil when you're running
Xemacs whith a minor version less than 12 (such as 21.4 for example). 

I suppose this stems from the old Xemacs 20.x days and is not correct
anymore. You need to edit and recompile this file in order to rectify
the situation.

-- 
Claudio Bley                                                        _ 
                                             ASCII ribbon campaign ( )
ICQ# 83197241                                 - against HTML email  X 
http://www.cs.uni-magdeburg.de/~bley/                     & vCards / \



Reply to: