all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bernardo <bernardo.bacic@pobox.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Invisible mouse cursor with black background
Date: Tue, 08 May 2012 22:01:41 +1000	[thread overview]
Message-ID: <4FA90B25.2090400@pobox.com> (raw)
In-Reply-To: <DFB47E11-D154-444A-A3A2-CF9503C153C1@gmx.de>

> The mouse cursor when over text is a thin I-beam, perhaps two pixels wide, black and white.  Needless to say it is almost invisible and in bright ambient light, completely invisible.  How can I change the colour and/or shape of the pointer (preferably both)?
> 
> I had a similar problem on the terminal and was able to replace the I-beam resource file with one I created myself. I'm hoping something similar is possible for Emacs.

did you try setting the cursor-type variable?
,----
| cursor-type is a variable defined in `C source code'.
| Its value is t
|
|   Automatically becomes buffer-local when set in any fashion.
|
| Documentation:
| Cursor to use when this buffer is in the selected window.
| Values are interpreted as follows:
|
|   t 		  use the cursor specified for the frame
|   nil		  don't display a cursor
|   box		  display a filled box cursor
|   hollow	  display a hollow box cursor
|   bar		  display a vertical bar cursor with default width
|   (bar . WIDTH)	  display a vertical bar cursor with width WIDTH
|   hbar		  display a horizontal bar cursor with default height
|   (hbar . HEIGHT) display a horizontal bar cursor with height HEIGHT
|   ANYTHING ELSE	  display a hollow box cursor
|
| When the buffer is displayed in a non-selected window, the
| cursor's appearance is instead controlled by the variable
| `cursor-in-non-selected-windows'.
`----

as for colour, i have this in my .emacs:
,----
| (setq default-frame-alist
|       '((foreground-color . "black")
|         (cursor-color     . "Coral")
|         ; .... other settings
|         ))
`----




  reply	other threads:[~2012-05-08 12:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-07 15:07 Invisible mouse cursor with black background William Morris
2012-05-08 12:01 ` Bernardo [this message]
2012-05-08 12:13   ` Bernardo

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FA90B25.2090400@pobox.com \
    --to=bernardo.bacic@pobox.com \
    --cc=help-gnu-emacs@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.