all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Broken Face Introduction in Info Page
@ 2007-04-07 12:16 Herbert Euler
  2007-04-07 17:31 ` Richard Stallman
  0 siblings, 1 reply; 2+ messages in thread
From: Herbert Euler @ 2007-04-07 12:16 UTC (permalink / raw)
  To: emacs-devel; +Cc: herberteuler

The "Defining Faces" subsection in the elisp manual includes
a broken `defface' example.  (info "(elisp) Defining Faces")
It says:

   Here's how the standard face `region' is defined:

       '((((class color) (min-colors 88) (background dark))
          :background "blue3")
         (((class color) (min-colors 88) (background light))
          :background "lightgoldenrod2")
         (((class color) (min-colors 16) (background dark))
          :background "blue3")
         (((class color) (min-colors 16) (background light))
          :background "lightgoldenrod2")
         (((class color) (min-colors 8))
          :background "blue" :foreground "white")
         (((type tty) (class mono))
          :inverse-video t)
         (t :background "gray"))
       "Basic face for highlighting the region."
       :group 'basic-faces)

Well, it seems this should be

   Here's how the standard face `region' is defined:

     (defface region
       '((((class color) (min-colors 88) (background dark))
          :background "blue3")
         (((class color) (min-colors 88) (background light))
          :background "lightgoldenrod2")
         (((class color) (min-colors 16) (background dark))
          :background "blue3")
         (((class color) (min-colors 16) (background light))
          :background "lightgoldenrod2")
         (((class color) (min-colors 8))
          :background "blue" :foreground "white")
         (((type tty) (class mono))
          :inverse-video t)
         (t :background "gray"))
       "Basic face for highlighting the region."
       :group 'basic-faces)

Regards,
Guanpeng Xu

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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

* Re: Broken Face Introduction in Info Page
  2007-04-07 12:16 Broken Face Introduction in Info Page Herbert Euler
@ 2007-04-07 17:31 ` Richard Stallman
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2007-04-07 17:31 UTC (permalink / raw)
  To: Herbert Euler; +Cc: herberteuler, emacs-devel

Thanks.

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

end of thread, other threads:[~2007-04-07 17:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-07 12:16 Broken Face Introduction in Info Page Herbert Euler
2007-04-07 17:31 ` 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.