From: storm@cua.dk (Kim F. Storm)
Cc: emacs-devel@gnu.org
Subject: Re: controlling hollow box cursor
Date: 03 Apr 2002 00:11:38 +0200 [thread overview]
Message-ID: <5xit79hht1.fsf@kfs2.cua.dk> (raw)
In-Reply-To: <20020402.082655.60851184.Takaaki.Ota@am.sony.com>
Tak Ota <Takaaki.Ota@am.sony.com> 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 <storm@cua.dk> http://www.cua.dk
next prev parent reply other threads:[~2002-04-02 22:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-02 16:26 controlling hollow box cursor Tak Ota
2002-04-02 22:11 ` Kim F. Storm [this message]
2002-04-03 22:49 ` Richard Stallman
2002-04-05 6:09 ` Tak Ota
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5xit79hht1.fsf@kfs2.cua.dk \
--to=storm@cua.dk \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).