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

Previous Next

Packages: emacs, ns;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4831 in the body.
You can then email your comments to 4831 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4831; Package emacs. (Fri, 30 Oct 2009 07:10:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to emacs user <emacs_user <at> hotmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Fri, 30 Oct 2009 07:10:06 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: emacs user <emacs_user <at> hotmail.com>
To: <emacs-pretest-bug <at> gnu.org>
Subject: 23.1.50; cursor problems on Mac OS X
Date: Fri, 30 Oct 2009 03:02:15 -0400
two cursor problems on Mac OS X that seem to have been around for manymonths now...
1) start emacs from the most recent CVS using Emacs -QM-x diredwith cursor on some file name, move mouse to be over it.  thegreen highlighting erases the gray cursor and it is not seen even aftermoving the mouse away
2) M-x set-cursor-color black: the character under the cursor is notseen.  That is, the character does not show in inverse-color under thecursor.
please let me know if there is any additional information I canprovide... 
In GNU Emacs 23.1.50.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) of 2009-10-29 on Windowing system distributor `Apple', version 10.3.949configured using `configure  '--with-ns' '--without-x''
 		 	   		  
_________________________________________________________________
New Windows 7: Find the right PC for you. Learn more.
http://www.microsoft.com/windows/pc-scout/default.aspx?CBID=wl&ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_pcscout:102009


bug reassigned from package 'emacs' to 'emacs,ns'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Sat, 31 Oct 2009 02:30:18 GMT) Full text and rfc822 format available.

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)]

Forcibly Merged 4831 7479. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 03 Dec 2010 08:44:01 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: 4831-quiet <at> debbugs.gnu.org
Subject: Re: bug#7479: 24.0.50; color of text under cursor is not inverted
Date: Fri, 03 Dec 2010 03:49:21 -0500
forcemerge 7479 4831
stop

Comments from bug#7479:

Jan Djärv wrote:

> Part 1 of 4831 is a duplicate of 6868, part 2 is a duplicate of this
> bug (or the other way around).




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 31 Dec 2010 12:24:04 GMT) Full text and rfc822 format available.

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.