Changeset 4148 for trunk/man/text.texi
- Timestamp:
- 08/18/06 08:35:31 (2 years ago)
- Files:
-
- trunk/man/text.texi (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/man/text.texi
r4111 r4148 2068 2068 2069 2069 The Faces submenu lists various Emacs faces including @code{bold}, 2070 @code{italic}, and @code{underline}. Selecting one of these adds the 2071 chosen face to the region. @xref{Faces}. You can also specify a face 2072 with these keyboard commands: 2070 @code{italic}, and @code{underline} (@pxref{Faces}). These menu items 2071 operate on the region if it is active and nonempty. Otherwise, they 2072 specify to use that face for an immediately following self-inserting 2073 character. Instead of the menu, you can use these keyboard commands: 2073 2074 2074 2075 @table @kbd … … 2076 2077 @findex facemenu-set-default 2077 2078 @item M-o d 2078 Set the region, or the next inserted character, to the @code{default} face 2079 (@code{facemenu-set-default}). 2079 Remove all @code{face} properties from the region (which includes 2080 specified colors), or force the following inserted character to have no 2081 @code{face} property (@code{facemenu-set-default}). 2080 2082 @kindex M-o b @r{(Enriched mode)} 2081 2083 @findex facemenu-set-bold 2082 2084 @item M-o b 2083 Set the region, or the next inserted character, to the @code{bold} face 2084 (@code{facemenu-set-bold}).2085 Add the face @code{bold} to the region or to the following inserted 2086 character (@code{facemenu-set-bold}). 2085 2087 @kindex M-o i @r{(Enriched mode)} 2086 2088 @findex facemenu-set-italic 2087 2089 @item M-o i 2088 Set the region, or the next inserted character, to the @code{italic} face 2089 (@code{facemenu-set-italic}).2090 Add the face @code{italic} to the region or to the following inserted 2091 character (@code{facemenu-set-italic}). 2090 2092 @kindex M-o l @r{(Enriched mode)} 2091 2093 @findex facemenu-set-bold-italic 2092 2094 @item M-o l 2093 Set the region, or the next inserted character, to the @code{bold-italic} face 2094 (@code{facemenu-set-bold-italic}).2095 Add the face @code{bold-italic} to the region or to the following 2096 inserted character (@code{facemenu-set-bold-italic}). 2095 2097 @kindex M-o u @r{(Enriched mode)} 2096 2098 @findex facemenu-set-underline 2097 2099 @item M-o u 2098 Set the region, or the next inserted character, to the @code{underline} face 2099 (@code{facemenu-set-underline}).2100 Add the face @code{underline} to the region or to the following inserted 2101 character (@code{facemenu-set-underline}). 2100 2102 @kindex M-o o @r{(Enriched mode)} 2101 2103 @findex facemenu-set-face 2102 2104 @item M-o o @var{face} @key{RET} 2103 Set the region, or the next inserted character, to the face @var{face} 2104 (@code{facemenu-set-face}).2105 Add the face @var{face} to the region or to the following inserted 2106 character (@code{facemenu-set-face}). 2105 2107 @end table 2106 2108 2107 If you use these commands with a prefix argument---or, in Transient Mark2108 mode, if the region is not active---then these commands specify a face 2109 to use for any immediately following self-inserting input. 2110 @xref{Transient Mark}. This applies to both the keyboard commands and 2111 the menu commands. 2112 2113 Specifying the @code{default} face also resets foreground and 2114 background color to their defaults.(@pxref{Format Colors}). 2115 2116 Any self-inserting character you type inherits, by default, the face 2117 properties (as well as most other text properties) of the preceding2118 character. Specifying any face property, including foreground or 2119 background color, for your next self-inserting character will prevent 2120 it from inheriting any face properties from the preceding character, 2121 although it will still inherit other text properties. Characters 2122 inserted by yanking do not inherit text properties.2109 With a prefix argument, all these commands apply to an immediately 2110 following self-inserting character, disregarding the region. 2111 2112 A self-inserting character normally inherits the @code{face} 2113 property (and most other text properties) from the preceding character 2114 in the buffer. If you use the above commands to specify face for the 2115 next self-inserting character, or the next section's commands to 2116 specify a foreground or background color for it, then it does not 2117 inherit the @code{face} property from the preceding character; instead 2118 it uses whatever you specified. It will still inherit other text 2119 properties, though. 2120 2121 Strictly speaking, these commands apply only to the first following 2122 self-inserting character that you type. But if you insert additional 2123 characters after it, they will inherit from the first one. So it 2124 appears that these commands apply to all of them. 2123 2125 2124 2126 Enriched mode defines two additional faces: @code{excerpt} and … … 2158 2160 If you specify a color with a prefix argument---or, in Transient 2159 2161 Mark mode, if the region is not active---then it applies to any 2160 immediately following self-inserting input. @xref{Transient Mark}.2161 Otherwise, the commandapplies to the region.2162 immediately following self-inserting input. Otherwise, the command 2163 applies to the region. 2162 2164 2163 2165 Each color menu contains one additional item: @samp{Other}. You can use
