From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: cursor face Date: Fri, 1 Jun 2007 14:37:51 -0700 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1180733932 29070 80.91.229.12 (1 Jun 2007 21:38:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Jun 2007 21:38:52 +0000 (UTC) To: "Emacs-Devel" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 01 23:38:50 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HuEpd-0007mD-CV for ged-emacs-devel@m.gmane.org; Fri, 01 Jun 2007 23:38:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HuEpc-0000Ll-QD for ged-emacs-devel@m.gmane.org; Fri, 01 Jun 2007 17:38:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HuEpY-0000LW-AR for emacs-devel@gnu.org; Fri, 01 Jun 2007 17:38:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HuEpW-0000LH-Ju for emacs-devel@gnu.org; Fri, 01 Jun 2007 17:38:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HuEpW-0000LE-HE for emacs-devel@gnu.org; Fri, 01 Jun 2007 17:38:42 -0400 Original-Received: from agminet01.oracle.com ([141.146.126.228]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HuEpW-0001M0-61 for emacs-devel@gnu.org; Fri, 01 Jun 2007 17:38:42 -0400 Original-Received: from rgmgw2.us.oracle.com (rgmgw2.us.oracle.com [138.1.186.111]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l51LccsK002807 for ; Fri, 1 Jun 2007 16:38:38 -0500 Original-Received: from acsmt350.oracle.com (acsmt350.oracle.com [141.146.40.150]) by rgmgw2.us.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l51LU6rq011361 for ; Fri, 1 Jun 2007 15:38:37 -0600 Original-Received: from dhcp-amer-whq-csvpn-gw3-141-144-81-218.vpn.oracle.com by acsmt350.oracle.com with ESMTP id 2751025431180733876; Fri, 01 Jun 2007 14:37:56 -0700 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Whitelist: TRUE X-Whitelist: TRUE X-Brightmail-Tracker: AAAAAQAAAAI= X-detected-kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:72030 Archived-At: I don't see any index entry for the `cursor' face in the Elisp manual. I haven't yet found any mention of the `cursor' face in the manual by searching and browsing, either, but perhaps it is there. I did find a statement in node Color Parameters that frame parameter `cursor-color' is equivalent to the :background attribute of the `cursor' face. (It would be good to state that also at the place where the `cursor' face is described, if it ever is.) Question: The `cursor' face is equivalent to the value of frame parameter `cursor-color' - but for which frame? Or is face `cursor' somehow a frame-local face? Frame parameters are frame-local variables, but I didn't think that there was such a thing as a frame-local face. Is there? I have the frame parameter `cursor-color' set to "Yellow" for special-display frames, but "Red" for the default-frame-alist. If there is no such thing as a frame-local face, then I would expect that the :background of face `cursor' would correspond to the `cursor-color' parameter for the default-frame-alist. However, if I do `M-x customize-face cursor', no matter which frame or buffer I am in when I do it, I get a customize buffer that shows me the `cursor' face with background "Yellow" (not "Red"). When I show, in buffer Customize, the Lisp expression that defines face `cursor', I see this: ((t (:background "Yellow"))). Why is the value for `special-display-frame-alist' ("Yellow") what is used, not that for `default-frame-alist'? If I customize the value of the face background, changing from "Yellow" to "Green", and click set for session but not save for future, I see no change in any existing frame or in any frame created thereafter. Is that right? Is there a bug here somewhere? Several bugs? What am I missing?