all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* cursor face
@ 2007-06-01 21:37 Drew Adams
  2007-06-02  7:16 ` Eli Zaretskii
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Drew Adams @ 2007-06-01 21:37 UTC (permalink / raw)
  To: Emacs-Devel

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?

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-06-02 13:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-01 21:37 cursor face Drew Adams
2007-06-02  7:16 ` Eli Zaretskii
2007-06-02 13:52   ` Drew Adams
2007-06-02 13:54 ` Richard Stallman
2007-06-02 13:54 ` Richard Stallman

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.