[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: controlling hollow box cursor
From: |
Kim F. Storm |
Subject: |
Re: controlling hollow box cursor |
Date: |
03 Apr 2002 00:11:38 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 |
Tak Ota <address@hidden> writes:
> I've asked this before and haven't received any comments. Could
> someone comment on the following change? The purpose of this is to
> control the appearance/disappearance of hollow box cursor by the
> variable `cursor-in-non-selected-windows'. You can't comment before
> trying thought, because the effect is fairly subjective.
I don't see what those two things have in common, so I don't like
the change!
The generic solution would probably be to add a new variable,
alternate-cursor-type which can be set to e.g. nil or 'hollow to
specify the cursor type to use when blinking the standard cursor-type.
However, this is a little complicated since cursor-type is
buffer-local, so I'd guess alternate-cursor-type would have to be
buffer-local as well. And we would also have to add the
alternate-cursor-type to the frame-parameters to initialize
the cursor type.
A simpler approach would be to have two global variables:
alternate-block-cursor-type and alternate-bar-cursor-type
which would be used in all buffers. This could be implemented
in 30 minutes.
However, IIRC, Richard didn't want to make this configurable.
--
Kim F. Storm <address@hidden> http://www.cua.dk