From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikolaj Schumacher Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#4194: 23.0.91; Cursor face not changing Date: Tue, 18 Aug 2009 22:56:44 +0200 Message-ID: References: <8763hmheii.fsf@cyd.mit.edu> Reply-To: Nikolaj Schumacher , 4194@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1250798971 30470 80.91.229.12 (20 Aug 2009 20:09:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Aug 2009 20:09:31 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, Chong Yidong , Alberto =?UTF-8?Q?Sim=C3=B5es?= To: Adrian Robert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 20 22:09:22 2009 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.50) id 1MeDwn-0002eV-DN for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Aug 2009 22:09:21 +0200 Original-Received: from localhost ([127.0.0.1]:48968 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeDwm-0008KU-Rn for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Aug 2009 16:09:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MeDvZ-0007oy-EG for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2009 16:08:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MeDvW-0007mt-Cl for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2009 16:08:04 -0400 Original-Received: from [199.232.76.173] (port=48438 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeDvW-0007mm-6M for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2009 16:08:02 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:43993) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MeDvV-0005v0-DX for bug-gnu-emacs@gnu.org; Thu, 20 Aug 2009 16:08:01 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7KK6pa1010334; Thu, 20 Aug 2009 13:07:57 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7KK6VaY010293; Thu, 20 Aug 2009 13:06:31 -0700 Resent-Date: Thu, 20 Aug 2009 13:06:31 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Nikolaj Schumacher Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 20 Aug 2009 20:06:29 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4194 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125062901712509 (code B ref -1); Thu, 20 Aug 2009 20:06:29 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 18 Aug 2009 20:56:57 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7IKutOY012506 for ; Tue, 18 Aug 2009 13:56:57 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:34128) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MdVji-0007VW-Qt for emacs-pretest-bug@gnu.org; Tue, 18 Aug 2009 16:56:54 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MdVjg-0002jy-VJ for emacs-pretest-bug@gnu.org; Tue, 18 Aug 2009 16:56:54 -0400 Original-Received: from dd18200.kasserver.com ([85.13.138.168]:36452) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MdVjg-0002jU-KC for emacs-pretest-bug@gnu.org; Tue, 18 Aug 2009 16:56:52 -0400 Original-Received: from [10.129.39.118] (unknown [92.116.39.118]) by dd18200.kasserver.com (Postfix) with ESMTP id 78A3D1814B893; Tue, 18 Aug 2009 22:56:54 +0200 (CEST) In-Reply-To: X-Mailer: Apple Mail (2.936) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 20 Aug 2009 16:08:04 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:30334 gmane.emacs.pretest.bugs:24967 Archived-At: Sorry for the delay. I checked this again using a build from today. On 2009-05-31, at 17:27, Adrian Robert wrote: > On Apr 3, 2009, at 5:33 AM, Chong Yidong wrote: > >>> Although I am able to configure the cursor face using the usual >>> custumization tool, the real colors/face doesn't change. >> >> I can't reproduce this, so it's likely a bug on NS. Adrian, can you >> reproduce it? > > I cannot. Setting the background color seems to work now. The foreground color, inverse-video, and others don't stick. > Nikolaj Schumacher added later that: > >> The same seems to happen for the region face. The background color >> reverts to ns_selection_color sometime after the custom variables are >> read. (It works when reading the custom settings again, later.) > > I looked at the code and cannot see how this could be happening. > The region face is set to ns_selection_color in ns-win.el, but this > should be overridden by .emacs read later. This should have been > cleared up by David Reitter's changes around 2009-03-14, though > since the ChangeLog entries are incomplete it is difficult to be > certain when the last broken code was removed. > > Anyway, if you still observe these in a recent build let me know and > I'll go on a more thorough witch-hunt. I've looked at this further, and it seems to work with an empty .emacs. It fails with my configuration, because I set the frame's background color like this: (setq default-frame-alist '((background-color . "#040420") (foreground-color . "wheat"))) If I don't set the background-color, I get my customized region face. If I manually evaluate the line after the initial frame was created, any additional frame uses the default ns_selection_color for the region. The first frame and customize-face keep my color. Nik