all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: preparing colored text
Date: Wed, 02 Apr 2003 12:10:55 -0700	[thread overview]
Message-ID: <3E8B35BF.5050206@yahoo.com> (raw)
In-Reply-To: 27e4d2e8.0304020942.52ae37ad@posting.google.com

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:&lt;kevin.rodgers&#64;ihs.com&gt;">Kevin Rodgers</a>

  parent reply	other threads:[~2003-04-02 19:10 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-02 17:42 preparing colored text Jonathan Epstein
2003-04-02 18:20 ` Kai Großjohann
2003-04-02 19:10 ` Kevin Rodgers [this message]
2003-04-02 19:18 ` Bijan Soleymani
2003-04-03  6:59 ` Colin Marquardt
2003-04-03 14:17 ` Jonathan Epstein
2003-04-03 13:37   ` Kai Großjohann
2003-04-03 16:52     ` Matthew Kennedy
2003-04-03 18:05       ` Oliver Scholz
2003-04-03 18:27         ` Matthew Kennedy
2003-04-04  7:00       ` Lee Sau Dan
2003-04-04 12:48       ` Kai Großjohann

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=3E8B35BF.5050206@yahoo.com \
    --to=ihs_4664@yahoo.com \
    /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.