>>>> "Robert" == Robert Spier
<rspier(a)pobox.com> writes:
Robert> I've been playing with starting an xemacs on a tty and
Robert> then using make-frame-on-display to create an X11 one, but
Robert> have been running into some fun coloration issues.
Robert> If I explicitly specify colors as attached to frame-types,
Robert> things work well:
Robert,
please use
Help->Send Bug Report...
or
M-x report-emacs-bug
as suggested in
http://www.xemacs.org/Debug/index.html
This will tell us enough about your XEmacs installation so that we
should be able to help you.
If XEmacs does not build or start up, please send any version and
configuration information you have to xemacs-beta(a)xemacs.org with any
mailer as plain text (MIME attachments are OK, please don't send HTML
mail).
On linux type
ulimit -c unlimited
in the shell before starting XEmacs from it, else you might not get a
core file.
Best regards,
Adrian
Robert> '(modeline ((((type x)) (:background "lightblue" :foreground
"black"))
Robert> (((type tty)) (:background "brightblue" :foreground
"white"))) t)
Robert> If I rely upon frame-background-type, the right thing does not
Robert> happen. The colors are those of the original mode. (i.e. if the
Robert> first frame is 'tty-frame (and I generally use a black background in a
Robert> terminal) the background-type is dark.. My 'x-frames are light
Robert> colored, and have a light background type.
Robert> (get-frame-background-mode (get-frame-for-buffer (current-buffer)))
Robert> returns appropriately on each evaluation even if the same buffer is
Robert> displayed in two frames.
Robert> A simple example of a mode that relys on light/dark is hyper-appros.
Robert> '((((class color) (background light))
Robert> (:foreground "darkred"))
Robert> (((class color) (background dark))
Robert> (:foreground "gray90")))
Robert> But sadly, it doesn't render the colors properly.
Robert> (I'm happy to poke at this more, if someone can suggest where to
poke.)
Robert> Thanks!
Robert> -R
--
Adrian Aichner
mailto:adrianï¼ xemacs.org
http://www.xemacs.org/