From b7314ef788cd01b4e845919f2d29448a5c99d58d Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Fri, 3 Feb 2012 19:59:11 -0500 Subject: [PATCH] * doc/emacs/display.texi (Colors): Mention list-colors-sort. --- doc/emacs/ChangeLog | 2 ++ doc/emacs/display.texi | 18 ++++++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index a9210fbefe6..3e0d0c72f22 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@ -1,5 +1,7 @@ 2012-02-04 Glenn Morris + * display.texi (Colors): Mention list-colors-sort. + * files.texi (File Conveniences): Mention image animation. 2012-01-31 Chong Yidong diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi index 6e69b723204..8159b8cc6aa 100644 --- a/doc/emacs/display.texi +++ b/doc/emacs/display.texi @@ -524,16 +524,18 @@ specify a color for a face---for instance, when customizing the face or an @dfn{RGB triplet}. @findex list-colors-display +@vindex list-colors-sort A color name is a pre-defined name, such as @samp{dark orange} or @samp{medium sea green}. To view a list of color names, type @kbd{M-x -list-colors-display}. If you run this command on a graphical display, -it shows the full range of color names known to Emacs (these are the -standard X11 color names, defined in X's @file{rgb.txt} file). If you -run the command on a text-only terminal, it shows only a small subset -of colors that can be safely displayed on such terminals. However, -Emacs understands X11 color names even on text-only terminals; if a -face is given a color specified by an X11 color name, it is displayed -using the closest-matching terminal color. +list-colors-display}. To control the order in which colors are shown, +customize @code{list-colors-sort}. If you run this command on a +graphical display, it shows the full range of color names known to Emacs +(these are the standard X11 color names, defined in X's @file{rgb.txt} +file). If you run the command on a text-only terminal, it shows only a +small subset of colors that can be safely displayed on such terminals. +However, Emacs understands X11 color names even on text-only terminals; +if a face is given a color specified by an X11 color name, it is +displayed using the closest-matching terminal color. An RGB triplet is a string of the form @samp{#RRGGBB}. Each of the R, G, and B components is a hexadecimal number specifying the -- 2.39.2