[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How can I make emacs rendering engine highlight a string of characte
From: |
Bastien |
Subject: |
Re: How can I make emacs rendering engine highlight a string of characters ? |
Date: |
Sat, 20 Oct 2007 18:52:08 +0100 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux) |
gnuist006@gmail.com writes:
> What are the emacs primitives to highlight, italicize, bold-font, or
> such ?
Try C-u C-x = on any character. It will display relevant information on
the character at point. This should look like this:
========================================================================
character: ! (33, #o41, #x21)
preferred charset: ascii (ASCII (ISO646 IRV))
code point: 0x21
syntax: . which means: punctuation
category: a:ASCII graphic characters 32-126 (ISO646 IRV:1983[4/0])
l:Latin r:Japanese roman
buffer code: #x21
file code: not encodable by coding system utf-8
display: by this font (glyph code)
dejavu sans
mono:pixelsize=12:foundry=unknown:weight=medium:slant=r:width=normal (#x04)
Character code properties are not shown: customize what to show
There are text properties here:
auto-composed t
face myblack
gnus-face t
gnus-number 4883
gnus-position t
========================================================================
In the first part, you find information on font and face.
Here the font is:
dejavu sans
mono:pixelsize=12:foundry=unknown:weight=medium:slant=r:width=normal (#x04)
The face is defined by special text properties. See the second part -
here, there are two special text properties that are relevant to Emacs
face rendering :
face myblack
gnus-face t
More on faces :
(info "(elisp)Special Properties")
--
Bastien