|
From: | Kevin Rodgers |
Subject: | Re: preparing colored text |
Date: | Wed, 02 Apr 2003 12:10:55 -0700 |
User-agent: | Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
Jonathan Epstein wrote:
I've read a lot about faces over the years, but there's something that I just don't get: how do I prepare some text which is colored in a specific way? E.g., suppose I have the following text in my Emacs buffer (say, the *Scratch* buffer): Here is some sample text colored in different ways How can I make "Here is" red, "some sample" blue, "text" green, "colored in" red, and "different ways" blue ? The specific colors aren't important; an example using commonly available faces such as: font-lock-comment-face font-lock-keyword-face font-lock-warning-face would be fine too.
Global Bindings Starting With M-g: key binding --- ------- M-g d facemenu-set-default M-g b facemenu-set-bold M-g i facemenu-set-italic M-g l facemenu-set-bold-italic M-g u facemenu-set-underline M-g o facemenu-set-face And see the "Formatted Text" and "Format Colors" nodes of the Emacs manual. -- <a href="mailto:<kevin.rodgers@ihs.com>">Kevin Rodgers</a>
[Prev in Thread] | Current Thread | [Next in Thread] |