all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "Emacs-Devel" <emacs-devel@gnu.org>
Subject: cursor face
Date: Fri, 1 Jun 2007 14:37:51 -0700	[thread overview]
Message-ID: <BDEIJAFNGDOAGCJIPKPBCEMKCEAA.drew.adams@oracle.com> (raw)

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?

             reply	other threads:[~2007-06-01 21:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-01 21:37 Drew Adams [this message]
2007-06-02  7:16 ` cursor face Eli Zaretskii
2007-06-02 13:52   ` Drew Adams
2007-06-02 13:54 ` Richard Stallman
2007-06-02 13:54 ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BDEIJAFNGDOAGCJIPKPBCEMKCEAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.