From xemacs-m  Wed Mar  5 13:18:49 1997
Received: from dres.elam.org (dres@cola47.scsn.net [206.25.247.47])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id NAA05063
	for <xemacs-beta@xemacs.org>; Wed, 5 Mar 1997 13:17:24 -0600 (CST)
Received: (from dres@localhost)
	by dres.elam.org (8.8.5/8.8.5) id OAA29687;
	Wed, 5 Mar 1997 14:14:28 -0500
To: Per Abrahamsen <abraham@dina.kvl.dk>
Cc: xemacs-beta@xemacs.org
Subject: Re: customize
References: <hh209u3h7o.fsf@dres.elam.org> <rjrahu1mg5.fsf@zuse.dina.kvl.dk>
X-Url: http://www.cs.sc.edu/~moss
X-Organization: Dres Computer Services
X-No-Archive: true
X-Face:  "R3Ms&!j++.]J8DwisON-l7#S<Jw[MsP|I<K?28b~f-<w^vjeAQ-k@$-Az>OloY'V?!^-!2
 9G+7Z7OzClzr2{3e<RFn%f*t%B<*|sT->ni9BN\pzkTp<dg6+lOtI-rg*]Fjgr0n.=ChFX:_+T7fKT
 *Z[}xvSK"jV~QH7*v}xZ,1rlb+Ro`,)#2Econ*g^>}ehc,\AhKBZ\Sf/HVG+p\*?'(&ct2w6Fr:w9m
 o|9R&.D-)1]:&sN-6o'\`7W${f1$2BCy6qSl&._{ILYCZ?X-[?M!](N
Mime-Version: 1.0 (generated by tm-edit 7.105)
Content-Type: text/plain; charset=US-ASCII
From: James LewisMoss <dres@scsn.net>
Date: 05 Mar 1997 14:14:28 -0500
In-Reply-To: Per Abrahamsen's message of 05 Mar 1997 14:46:02 +0100
Message-ID: <hhybc21787.fsf@dres.elam.org>
Lines: 85
X-Mailer: Gnus v5.4.17/XEmacs 20.1

>>>>> "Per" == Per Abrahamsen <abraham@dina.kvl.dk> writes:

 Per> James LewisMoss <dres@scsn.net> writes:

 >> I'm getting three gnus faces that just won't be set by
 >> customize. Here are what the lines look like:
 >> '(gnus-group-news-3-face ((((class color)) (:bold t :foreground
 >> "steelblue1")) (((class color) (background light)) (:bold t
 >> :foreground "steelblue1")) (t nil)))
 >> '(gnus-group-news-3-empty-face ((((class color) (background dark))
 >> (:foreground "steelblue2")) (((class color) (background light))
 >> (:foreground "steelblue2")) (t nil))) '(gnus-header-content-face
 >> ((((class color)) (:italic t :foreground "lawngreen")) (((class
 >> color) (background light)) (:italic t :foreground "lawngreen")) (t
 >> (:italic t))))
 >> 
 >> The last time I set them I even deleted all cases of display
 >> setting and just said in all displays use this colour.  These
 >> stayed in the .custom-xemacs file.

 Per> What did you do, what happened, and what did you expect to
 Per> happen?

Ok.  Will use one as example.  The others are similar.
gnus-header-content-face defaults as a darkish green.  This is near
impossible to read on a really dark background.  I go to options menu
pull down to edit faces and wait a bit for it to come up (is it normal
for XEmacs to grow ~5 megs when opening up the faces customize
buffer?).

Buffer comes up.  I go down to the gnus-header-content-face and press
return on the [-] button.  A list of three display settings come up.
one for colour on dark background. one for colour on light background,
and one generic on at the bottom (I assume these are sensitive to
placement).  OK.  So I'm on a dark background so I change the second
instance to use lawngreen.  I Set it.  Everything changes color
correctly.  I Save it, and it shows the message that it has been
saved.

Next time I start the colour is back to the default darkish green. The
lawngreen is still there however under dark backgrounds.  I figure
maybe it can't figure out whether I'm on dark or light background, so
I set the light one to lawngreen too. Set. Save.  Everything is OK
now. (i.e. the face is now using the correct colour)

Start up again.  Default is back and now it isn't even mentioned
anywhere.  (i.e. the settings for dark and light backgrounds actually
have lawngreen typed in for foreground colour) I delete all but one of
the settings and make that one for Display: all and make sure it is
lawngreen.  Set. Save.  Everything OK.

Start up again.  (is crashing on me else I probably wouldn't have
noticed).  Default is back.  The .custom-xemacs file still contains
the settings for when this face has three options (i.e. colour light,
colour dark, and all) but none of them are paid attention to either (I
should mention that third option for all displays is just a colourless
italic setting (but you can see that above :)).

Each time I saved it would have the scanning buffer, etc line and
.custom-xemacs would be loaded.  I didn't actually check this buffer
after a save (assuming each time that I had done something wrong).

So despite my best efforts (and understandings) I couldn't change the
default for these faces.  I've now modified the .custom-faces file to
only contain the lawngreen face.  I'll see what happens at next
start.  (I'm trying to make XEmacs crash which is why I haven't
restarted already).

The other two faces have the same story just different colours.

 >> Also I'm seeing the case sensitiveness of the buttons in the
 >> customize buffer.  I modify a face.  Go up to the '[*]' button.
 >> Press return I get a prompt in the minibuffer and type 'set'
 >> nothing happens.  If i type 'Set' instead it gets set (same thing
 >> with Save).

 Per> Thanks, fixed in 1.52.

Jim

-- 
@James LewisMoss                 | moss@cs.sc.edu | Blessed Be!
@    http://www.cs.sc.edu/~moss  | dres@scsn.net  | Linux is cool!
@"Argue for your limitations and sure enough, they're yours." Bach

