From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#6609: 23.2; Cursor becomes invisible when put over some faces Date: Mon, 12 Jul 2010 10:55:08 +0300 Message-ID: <83hbk5t9r7.fsf@gnu.org> References: <83hbk6unnp.fsf@gnu.org> <83aapyum9c.fsf@gnu.org> <838w5iue9p.fsf@gnu.org> <8339vpvrld.fsf@gnu.org> <83tyo5u7mp.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1278922176 32311 80.91.229.12 (12 Jul 2010 08:09:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 12 Jul 2010 08:09:36 +0000 (UTC) Cc: 6609@debbugs.gnu.org To: Deniz Dogan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 12 10:09:33 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OYE4y-0004Gt-B2 for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Jul 2010 10:09:32 +0200 Original-Received: from localhost ([127.0.0.1]:41598 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYDw5-0004Si-4H for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Jul 2010 04:00:21 -0400 Original-Received: from [140.186.70.92] (port=48968 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYDw0-0004Rv-46 for bug-gnu-emacs@gnu.org; Mon, 12 Jul 2010 04:00:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYDvt-0001yK-Uk for bug-gnu-emacs@gnu.org; Mon, 12 Jul 2010 04:00:15 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36651) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYDvt-0001yG-PI for bug-gnu-emacs@gnu.org; Mon, 12 Jul 2010 04:00:09 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OYDtq-0005S9-Dv; Mon, 12 Jul 2010 03:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Jul 2010 07:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6609-submit@debbugs.gnu.org id=B6609.127892148120954 (code B ref 6609); Mon, 12 Jul 2010 07:58:02 +0000 Original-Received: (at 6609) by debbugs.gnu.org; 12 Jul 2010 07:58:01 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYDto-0005Rv-HR for submit@debbugs.gnu.org; Mon, 12 Jul 2010 03:58:00 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYDtm-0005Rq-A7 for 6609@debbugs.gnu.org; Mon, 12 Jul 2010 03:57:59 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0L5F00E00Q1O9P00@a-mtaout22.012.net.il> for 6609@debbugs.gnu.org; Mon, 12 Jul 2010 10:57:10 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.127.120.144]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L5F002YMQ38HYT0@a-mtaout22.012.net.il>; Mon, 12 Jul 2010 10:57:09 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 12 Jul 2010 03:58:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:38436 Archived-At: > From: Deniz Dogan > Date: Sun, 11 Jul 2010 21:49:12 +0200 > Cc: 6609@debbugs.gnu.org > > Terribly sorry about that. I did mean white foreground on black > background in the original report! A world of difference. I do see this problem on XP as well, then. Can someone try this on GNU/Linux in a GUI session, please? I'd like to know if this problem is specific to w32. To repeat the recipe: emacs -Q Insert this in the *scratch* buffer: (set-background-color "black") (set-foreground-color "white") Evaluate these two lines. Your cursor will now become invisible. You can only see it (a) when it is on some text of a non-default color, or (b) when the Emacs frame does not have focus, and the cursor is displayed as a hollow rectangle. "M-x set-face-background RET cursor RET white RET" fixes the problem. So my first guess would be that we don't do that automatically as part of changing the default face, for some reason.