>>>> "Kilian" == Kilian A Foth
<foth(a)informatik.uni-hamburg.de> writes:
Kilian> Doing (set-face-background-pixmap 'default
Kilian> "/my/pretty/file1.jpeg") correctly sets the background
Kilian> pixmap the image in file1, but following up with
Kilian> (set-face-background-pixmap 'default
Kilian> "/my/pretty/file2.jpeg") displays the same image again,
Kilian> not the second one as under 21.1.
I have also found this problem, with Cygwin-compiled XEmacs. A
workaround is the following:
(set-face-foreground face foreground locale)
(remove-face-property face 'background-pixmap locale)
(set-face-background-pixmap face pixmap locale)
;; Setting background to the foreground color is intentional:
(set-face-background face foreground locale)
BTW, locale is optional (try using "(current-buffer)" for that).
I think that's about it. It's been a while since I tried it since I
am back to XEmacs 21.1.
By the way, does anyone know about the problem with background
pixmaps/font lock that causes this error (with no stack trace):
Fatal error: assertion failed, file specifier.c, line 1375,
!inst_list || EQ (locale, Qglobal)
Another problem I've found with background pixmaps (XEmacs 21.1) is
that when having different buffers with different background pixmaps,
when switching buffers, sometimes the bottom, blank portion of the
screen is left with the old pixmap while areas containing new text at
the top have the new pixmap. I guess this is some kind of display
optimization gone wrong.
Thanks!
--
Alexander G. Burchell
Wilshire Associates
aburchel(a)wilshire.com
(310) 899-2303