On 09/13/2015 08:29 PM, He-chien Tsai wrote:
> since my emacs editor is completely dark, XPCE is blinding my eyes. I
> can't find any config that changes color.
Hmmm. You can edit/create ~/.xpce/Defaults and add
text_image.background: black
text_image.colour: white
The syntax highlight styles are defined in library(prolog_colour) and
may be overruled using e.g.,
:- multifile prolog_colour:style/2.
prolog_colour:style(goal(dynamic(_),_), [colour(green)]).
You can add these rules to ~/.swiplrc (recent versions, ~/.plrc for
older versions).
See the library for the available classes and their default colours
(predicate def_style/2).
Note that you can edit these config files from PceEmacs using the
menu Edit|Editor preferences and Edit|Prolog preferences. You need
to restart Prolog to see the effect.
Cheers --- Jan
> --
> You received this message because you are subscribed to the Google
> Groups "SWI-Prolog" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
swi-prolog+...@googlegroups.com
> <mailto:
swi-prolog+...@googlegroups.com>.
> Visit this group at
http://groups.google.com/group/swi-prolog.
> For more options, visit
https://groups.google.com/d/optout.