I set such things on the default-frame-alist. E.g.,
(setq default-frame-alist
'((top . 3) (left . 40)
(width . 105) (height . 44)
(cursor-color . "Red")
(cursor-type . bar)
(foreground-color . "black")
(background-color . "gray88")
(font . "-*-Lucida Console-normal-r-*-*-18-108-*-*-c-*-*-ansi-")))
Works for me. Nicholas, have you tried doing it that way?
As I recall, there are some timing issues about when
these parameters are noticed and take effect; but I
don't recall the details. I override the size and
placement above in my initial-frame-alist (so that my
initial frame is normally recognizable as such).
Regards,
David V.
----- Original Message -----
From: "Nicholas Sandow" <address@hidden>
To: <address@hidden>
Sent: Wednesday, January 31, 2007 6:20 PM
Subject: [h-e-w] Problem displaying different cursor types in Emacs 22
Hello,
When I run EmacsW32 (unpatched, emacs-from-cvs-070125.zip) the cursor is
always a vertical bar, 1 pixel wide, and can't be changed at all from
this type no matter what I try.
For example, trying to change it to the box doesn't work:
(set-frame-parameter nil 'cursor-type 'box)
This also does nothing:
(setq cursor-type 'box)
What's more, when I test this EmacsW32 release on other Windows XP
machines, this problem goes away.
Somehow my Windows XP is configured or patched or whatever to override
Emacs' cursor, or something like that.
I have no idea what this could be and cannot stand this almost invisible
vertical bar cursor. Any clues?
Thanks.
Nick