unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tak Ota <Takaaki.Ota@am.sony.com>
Subject: controlling hollow box cursor
Date: Tue, 02 Apr 2002 08:26:55 -0800 (PST)	[thread overview]
Message-ID: <20020402.082655.60851184.Takaaki.Ota@am.sony.com> (raw)

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.

-Tak

*** ../../tmp/emacs-21.2.50/src/xterm.c	Tue Apr  2 07:10:36 2002
--- xterm.c	Tue Apr  2 07:29:28 2002
***************
*** 11677,11683 ****
  						       &new_cursor_width);
  	  if (w->cursor_off_p)
  	    {
! 	      if (new_cursor_type == FILLED_BOX_CURSOR)
  		new_cursor_type = HOLLOW_BOX_CURSOR;
  	      else if (new_cursor_type == BAR_CURSOR && new_cursor_width > 1)
  		new_cursor_width = 1;
--- 11677,11683 ----
  						       &new_cursor_width);
  	  if (w->cursor_off_p)
  	    {
! 	      if (new_cursor_type == FILLED_BOX_CURSOR && cursor_non_selected)
  		new_cursor_type = HOLLOW_BOX_CURSOR;
  	      else if (new_cursor_type == BAR_CURSOR && new_cursor_width > 1)
  		new_cursor_width = 1;

*** ../../tmp/emacs-21.2.50/src/w32term.c	Mon Apr  1 07:47:11 2002
--- w32term.c	Tue Apr  2 07:29:11 2002
***************
*** 9774,9780 ****
  						       &new_cursor_width);
  	  if (w->cursor_off_p)
  	    {
! 	      if (new_cursor_type == FILLED_BOX_CURSOR)
  		new_cursor_type = HOLLOW_BOX_CURSOR;
  	      else if (new_cursor_type == BAR_CURSOR && new_cursor_width > 1)
  		new_cursor_width = 1;
--- 9774,9780 ----
  						       &new_cursor_width);
  	  if (w->cursor_off_p)
  	    {
! 	      if (new_cursor_type == FILLED_BOX_CURSOR && cursor_non_selected)
  		new_cursor_type = HOLLOW_BOX_CURSOR;
  	      else if (new_cursor_type == BAR_CURSOR && new_cursor_width > 1)
  		new_cursor_width = 1;

             reply	other threads:[~2002-04-02 16:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-02 16:26 Tak Ota [this message]
2002-04-02 22:11 ` controlling hollow box cursor Kim F. Storm
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=20020402.082655.60851184.Takaaki.Ota@am.sony.com \
    --to=takaaki.ota@am.sony.com \
    /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).