all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* preparing colored text
@ 2003-04-02 17:42 Jonathan Epstein
  2003-04-02 18:20 ` Kai Großjohann
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Jonathan Epstein @ 2003-04-02 17:42 UTC (permalink / raw)


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.

Oh, I'm sort of wedded to Emacs 20 (I use 20.6.1), if there's an Emacs
20-compatible solution, that would be great.  Solutions that only work
on MS Windows would be OK too, although not optimal.

TIA,

Jonathan

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

end of thread, other threads:[~2003-04-04 12:48 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.