via X resources
X-Mailer: VM 6.95 under 21.4 (patch 4) "Artificial Intelligence" XEmacs Lucid
X-Face:
'pn"gAx+&w4-=-}\z>*.Y*@(lC;t1<P);@iwiv';)vn3H2\/.x#;>J[a,/Q.Yv0^Wwc6_"H]}}-"?%)ETS`1v[]P`w4,E.9Bgf*XI4<H{C}Mf(a)'Ms)z?Bqzf"8v/oY\9K){w}\pw
Howdy all.
Noticed what appears to be a bug with X11 cursors in 21.4.4 (compiled under
Solaris 2.7 with the Forte 6.1 compiler). They seem to "stick" if you set the
text-pointer-glyph and/or nontext-pointer-glyph (which is apparently done in
sunpro-init.el, which is what's triggering the bug in my setup).
To reproduce:
env XUSERFILESEARCHPATH="" xemacs -vanilla
C-x 3
[move cursor over various areas of the frame,
like the separator and modeline, then back over buffer]
M-: (set-glyph-image text-pointer-glyph "xterm")
[move cursor from separator to right hand buffer, if cursor passes
over text immediately, cursor will stay as the separator cursor
"<==>"
instead of changing to the I-bar "xterm" cursor]
M-: (set-glyph-image nontext-pointer-glyph "xterm")
[move cursor from separator to right hand buffer, if cursor passes
over text immediately, cursor will stay as the separator cursor
"<==>"
instead of changing to the I-bar "xterm" cursor]
It seems that the text-pointer-glyph is the real problem, because doing the
nontext-pointer-glyph first doesn't start the problem by itself (but it
doesn't take effect either, since I tried changing it to different values).
Doing just the text-pointer-glyph by itself will make the cursor stick when
moving over text but not nontext areas.
This stuff all seems to work correctly in 21.1.14, BTW.
I figured I'd bring it up here first before investigating in case anyone has
already looked into this (searching the patch archives didn't turn up anything
but I'm not sure that the searches were working correctly since I saw some odd
behaviors when trying different searches like restricting the search to
certain months not working) or in case someone would know the solution off the
top of their head. If not, I'll probably look into it eventually. :)
Also, I don't think that it's really sunpro-init's place to set those
cursors,
so here's the extremely simple patch to sunpro-init.el to stop doing that:
======================================================================
--- sunpro-init.el.orig Fri Aug 24 09:23:13 2001
+++ sunpro-init.el Fri Aug 24 09:23:51 2001
@@ -35,8 +35,8 @@
;(add-hook 'before-init-hook 'sunpro-maybe-connect-to-tooltalk)
-(set-glyph-image text-pointer-glyph "xterm")
-(set-glyph-image nontext-pointer-glyph "xterm")
+;(set-glyph-image text-pointer-glyph "xterm")
+;(set-glyph-image nontext-pointer-glyph "xterm")
;; W3 doesn't know about using pageview, so let's fix that.
;; There doesn't seem to be any such function `w3-parse-mailcap' - mrb
======================================================================
And the changelog entry for that:
======================================================================
2001-08-24 Charles Hines <hines(a)gderome.com>
* sunpro-init.el: Removed setting of {non}text-pointer-glyph
======================================================================
A second problem I noticed was in trying to set the font for the buffers-tab
via X resources. I tried this:
Emacs.buffers-tab.attributeFont: 5x8
but it didn't have any effect. This however worked:
Emacs*buffers-tab.attributeFont: 5x8
but gives an (erroneous?) warning "Bad resource specification encountered".
That can easily be reproduced thusly:
env XUSERFILESEARCHPATH="" xemacs -vanilla -xrm
'Emacs*buffers-tab.attributeFont: 5x8'
I saw in the archives that someone else encountered this quite a while ago but
it was never solved. I've actually been keeping the buffers-tab turned off
(along with the toolbar, I like my extra screen real estate) in my setup so it
doesn't really bother me all that much, but thought I should mention the
problem.
Thanks,
Chuck
--
Charles K. Hines <ckh(a)requesttech.com> <hines(a)gderome.com>
Principal Scientist at ReQuest Technologies Inc (
http://www.ReQuestTech.com/)
Martial Arts Instructor [Modern Arnis and Balintawak Escrima]
"Go back to sleep, Chuck. You're just havin' a nightmare
-- of course, we ARE still in Hell." (Gary Larson)