8/21/2023 0 Comments Facemenu mcmThat is one enhancement provided by facemenu+.el: it uses the cursor position (point) when Describe Properties is accessed from the menu bar, and the pointer position when it is accessed via mouse popup menu ( ‘C-mouse-2’). When accessing the Text Properties menu using the mouse, it is more convenient for Describe Properties to apply to the character under the mouse pointer, so you don’t have to first put the text-cursor where you want to check text properties. Item Describe Properties lists the text properties of the character at the cursor: faces, fonts, and so on. These include items Describe Properties, Display Faces, Display Colors, and Display Fonts. Some, however, apply to the character at the text cursor position ( point). Most of the items in the standard Text Properties menu apply to the current region. This submenu holds items that correspond to the commands in library HighLight. If you load library highlight.el before library facemenu+.el, then a Highlight submenu is added to the Text Properties menu. Th Text Properties menu is available from the menu bar, Edit > Text Properties, or as a mouse popup menu via ‘C-mouse-2’ (hold Control while pressing the middle mouse button). Changing the current palette color has no effect on the definition of the color named “slate blue”. For instance, if you click the color “slate blue”, then the palette is opened with slate blue as the current color. By editing the color in the color palette, you are not changing the definition of the named color that the palette originally opened to. Keep in mind, however, that the values of named colors are constants. This lets you see the color in context, and experiment by changing different color components. With facemenu+.el, clicking anywhere on a color’s line opens the color palette to that color. In vanilla Emacs, there are no links or active areas in the ‘*Colors*’ buffer that is displayed. It shows samples of each named color as a foreground and a background color, and it shows the RGB hex code for the color. The colors list display is available from ‘M-x list-colors-display’ or item Display Colors in the Text Properties menu. See Icicles - Candidates with Text Properties. Note: If you use Icicles, then you need not use this enhancement, because the list of face names during completion (in buffer ‘*Completions*’) shows each name in the appropriate face. If you prefer to apply a face by name, you can still do that without opening the faces display – just don’t use a numeric prefix argument when you use ‘M-o o’ or Text Properties > Face > Other…. You don’t need to know the name of a face to use it. This gives you a WYSIWYG, direct-manipulation way to choose and apply any face. ` C-7’), so you can choose a face by its appearance, not just by its name. With facemenu+.el, ‘M-o o’ and Text Properties > Face > Other… open the faces display for you when you provide a numeric prefix (e.g. In vanilla Emacs, ‘M-o o’ and Text Properties > Face > Other… apply a face this way, but you must supply a face name (possibly using completion). With facemenu+.el, clicking a face sample applies that face to the selected text ( region), or, if the region is not active, or is empty, to newly entered text. This is a bit redundant, because clicking the face name shows a description of the face, which also has a link to customize it. In vanilla Emacs, if you click the face sample, Customize is opened for that face. It shows a sample of each face, next to the face name, in buffer ‘*Faces*’. The faces list display is available from ‘M-x list-faces-display’ or item Display Faces in the Text Properties menu.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |