unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Joe Matarazzo <joe.matarazzo@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Cannot set mouse pointer / cursor color on Mac OS X (10.9)
Date: Tue, 29 Jul 2014 05:43:56 +0000 (UTC)	[thread overview]
Message-ID: <loom.20140729T073533-748@post.gmane.org> (raw)
In-Reply-To: CANs_5e6OHy-7g+WN7L_95PVvY111vmM75heO8+73BoR2QKqhVA@mail.gmail.com

Looks like I can brute-force a solution by recompiling from source, and modify
nsfns.m like so:

  NSImage *joeIbeam = [NSImage imageNamed:@"joeIbeam"];
  f->output_data.ns->text_cursor = [[NSCursor alloc] initWithImage:joeIbeam
                                                                              hotSpot:NSMakePoint(4,7)]; 
// f->output_data.ns->text_cursor = [NSCursor IBeamCursor];

where joeIbeam.tiff is a simple copy of the system ibeam with the black pixels
replaced by something bright and garish. :)

After rebuilding and copying Emacs into the Applications/Emacs.app hierarchy,
along with joeIbeam.tiff into the Resources part of said hierarchy, I got my
wish. Nice ugly but very visible text cursor.

FWIW, there are comments in the source as well that set-mouse-color doesn't have
an implementation path on nextstep. So I guess it's this or nothing.

Joe





  reply	other threads:[~2014-07-29  5:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-28 18:09 Cannot set mouse pointer / cursor color on Mac OS X (10.9) Joe Matarazzo
2014-07-29  5:43 ` Joe Matarazzo [this message]
2014-07-29  6:02   ` Thien-Thi Nguyen
2014-07-29 16:02     ` Joe Matarazzo

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=loom.20140729T073533-748@post.gmane.org \
    --to=joe.matarazzo@gmail.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.
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).