GNU bug report logs - #4831
23.1.50; cursor problems on Mac OS X

Previous Next

Packages: ns, emacs;

Reported by: emacs user <emacs_user <at> hotmail.com>

Date: Fri, 30 Oct 2009 07:10:05 UTC

Severity: normal

Merged with 7479

Found in version 24.0.50

Done: Jan Djärv <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 4831-quiet <at> debbugs.gnu.org (full text, mbox):

From: Will Roberts <wildwilhelm <at> gmail.com>
To: 4831-quiet <at> debbugs.gnu.org
Subject: patch: bug #4831 part 2
Date: Fri, 23 Jul 2010 20:45:54 +0200
[Message part 1 (text/plain, inline)]
[ resent from emacs-devel ]

Hello:

This is my first patch submission to Emacs.  I'd be happy to learn how to do it better in the future, if you have any comments or criticism.  The patch was made against the bazaar repository.

Thanks,
Will

== Description: ==

A first draft at patching bug #4831 (23.1.50; cursor problems on Mac OS X), specifically part 2, where characters under the cursor are not seen.

Modified the drawing routines: 
* the cursor will be drawn with the frame foreground color if the cursor color is the same as the current face background color or the frame background color.
* the text over the cursor will be drawn with the frame background color if the cursor is a filled box, and the cursor color is the same as the text color

== Copyright ==

I happily assign copyright for this code to the FSF.  Please do with it what you like.

== src/ChangeLog: ==

2010-07-23  Will Roberts  <wildwilhelm <at> gmail.com>

        * nsfont.m (nsfont_draw): Change the text color if needed to be
        distinct from the cursor color

        * nsterm.m (ns_draw_window_cursor): Change the cursor color to be
        distinct from the text color

[ns-cursor.patch (application/octet-stream, attachment)]

This bug report was last modified 14 years and 173 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.