From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Deniz Dogan Newsgroups: gmane.emacs.bugs Subject: bug#6609: 23.2; Cursor becomes invisible when put over some faces Date: Sun, 11 Jul 2010 16:13:13 +0200 Message-ID: References: <83hbk6unnp.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1278858619 5900 80.91.229.12 (11 Jul 2010 14:30:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 11 Jul 2010 14:30:19 +0000 (UTC) Cc: 6609@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 11 16:30:17 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 1OXxXr-0003Ot-8G for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Jul 2010 16:30:15 +0200 Original-Received: from localhost ([127.0.0.1]:51457 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXxXq-0004Dk-LU for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Jul 2010 10:30:14 -0400 Original-Received: from [140.186.70.92] (port=43146 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXxXk-0004De-Qo for bug-gnu-emacs@gnu.org; Sun, 11 Jul 2010 10:30:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OXxXj-0005k2-MF for bug-gnu-emacs@gnu.org; Sun, 11 Jul 2010 10:30:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39329) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXxXj-0005jy-Jo for bug-gnu-emacs@gnu.org; Sun, 11 Jul 2010 10:30:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OXxI9-0003Dh-Ne; Sun, 11 Jul 2010 10:14:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Deniz Dogan Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Jul 2010 14:14:01 +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.127885762612370 (code B ref 6609); Sun, 11 Jul 2010 14:14:01 +0000 Original-Received: (at 6609) by debbugs.gnu.org; 11 Jul 2010 14:13:46 +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 1OXxHu-0003DT-Dz for submit@debbugs.gnu.org; Sun, 11 Jul 2010 10:13:46 -0400 Original-Received: from mail-ww0-f46.google.com ([74.125.82.46]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXxHs-0003DO-H8 for 6609@debbugs.gnu.org; Sun, 11 Jul 2010 10:13:45 -0400 Original-Received: by wwc33 with SMTP id 33so783870wwc.15 for <6609@debbugs.gnu.org>; Sun, 11 Jul 2010 07:13:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=zNvTKnxwE8j5KEQ81s1qH8mdP8Eik7Oa6Vop2HEJMtI=; b=C1iez0f6Wv71Q+OuRCJPcySBzKL29gJmkW5/IymW4IZ35gbnhsJA5sSvuZ8VRcbC+V oQ2II+MNBXQCEUpmaqjU0Pbo0vc66OKwJTjY0X896EHWvNVL9kd3BgJpTz/6pIk0EC6a +032ZJoUa23JSvLFBsF7VJtt8NyiaA0wqnimc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=EZ9rMEzYPeUEBkoyiTMZd+lU1WE6PhmDlcq0FUlC9SjF36ijR/ldjMejXZyM4IlqO6 tfKGmWBAZhOZWX1u4x1hS96pEyqAGPC2djbrWQzTPRiL7zMtqgR+Mo4+i7gaIahokBdt /A+C1sNYbx91FOd5SgJ5uhXZXq+Rj4A1bO8BI= Original-Received: by 10.227.7.131 with SMTP id d3mr3743252wbd.83.1278857624359; Sun, 11 Jul 2010 07:13:44 -0700 (PDT) Original-Received: by 10.216.182.135 with HTTP; Sun, 11 Jul 2010 07:13:13 -0700 (PDT) In-Reply-To: <83hbk6unnp.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 11 Jul 2010 10:14:01 -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:38380 Archived-At: 2010/7/11 Eli Zaretskii : >> From: Deniz Dogan >> Date: Sun, 11 Jul 2010 13:25:03 +0200 >> Cc: >> >> I'm using Windows 7 and GNU Emacs 23.2.1 (i386-mingw-nt6.1.7600) of >> 2010-05-08 on G41R2F1. >> >> Steps to reproduce: >> 1. Make the following the only contents of your .emacs: >> (set-foreground-color "black") >> (set-background-color "white") >> 2. Move the cursor over text with the "default" face. >> 3. Notice how the cursor is now effectively invisible. > > What exactly does "effectively invisible" mean? =A0Do you see it or not? > How about a screenshot? > I don't see it. I would screenshot it if there was anything to be seen. >> This happens on Windows Vista as well. >> >> It also seems to happen when text has the "button" face, as seen in >> e.g. the *Help* buffer sometimes. > > I can reproduce neither of these on Windows XP. =A0(I don't have access > to W7 or Vista with development environment.) > > What does Emacs show if you type "M-x describe-face RET cursor RET"? > Face: cursor (sample) (customize this face) Documentation: Basic face for the cursor color under X. Note: Other faces cannot inherit from the cursor face. Defined in `faces.el'. Family: unspecified Foundry: unspecified Width: unspecified Height: unspecified Weight: unspecified Slant: unspecified Foreground: unspecified Background: unspecified Underline: unspecified Overline: unspecified Strike-through: unspecified Box: unspecified Inverse: unspecified Stipple: unspecified Font: unspecified Fontset: unspecified Inherit: unspecified > Do you have some non-standard color schemes defined on those systems? > No, I downloaded Emacs from the official FTP server and just added set-background-color and set-foreground-color to my Emacs. I can reproduce it on my system like this: 1. runemacs.exe -Q 2. Evaluate (progn (set-background-color "black") (set-foreground-color "white")) 3. Notice how the cursor is not displayed when put over e.g. an ending parenthesis. 4. Notice how the cursor *is* displayed when put over e.g. "progn" (assuming we're in the *scratch* buffer or any buffer with lisp-interaction-mode and font locking turned on). --=20 Deniz Dogan