aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/facemenu.el
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove unnecessary spaces.Pavel Janík2001-12-031-1/+1
|
* (facemenu-add-new-face): Fix variable names.Miles Bader2001-10-251-3/+3
|
* (facemenu-unlisted-faces): Improve doc stringsRichard M. Stallman2001-10-241-75/+98
| | | | | | | | | | | | | of t and nil values. (facemenu-set-face): Handle START and END interactively. (facemenu-set-foreground): Don't use a face; specify color directly. (facemenu-set-background): Likewise. (facemenu-set-face-from-menu): Doc fix. (facemenu-active-faces): Use face-attribute-vector to handle bare attributes not in faces. (facemenu-get-face): Don't handle face names fg:... and bg:... specially. (facemenu-add-new-face): New argument MENU. New way to handle adding colors to the color menus.
* (facemenu-set-face, facemenu-set-face-from-menu): Doc fix.Eli Zaretskii2001-01-271-4/+4
|
* (facemenu-unlisted-faces): Fix value.Dave Love2000-12-071-4/+4
|
* Docstrings fixes.Stefan Monnier2000-07-061-14/+14
| | | | | (facemenu-get-face): Don't use internal-find-face. (facemenu-iterate): Rename arg to match the docstring.
* (facemenu-set-face): Fix interactive prompt.Dave Love2000-05-211-1/+1
|
* Use display-color-p.Dave Love2000-03-121-1/+1
|
* (list-text-properties-at): Set help-xref-stack toDave Love2000-03-011-0/+1
| | | | nil.
* (facemenu-set-face): Amend interactive prompt.Dave Love2000-02-161-1/+1
|
* Purecopy various strings.Dave Love2000-01-281-29/+43
|
* Changes for automatic remapping of X colors on terminal frames:Eli Zaretskii1999-12-061-13/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * term/pc-win.el (msdos-setup-initial-frame): New function, run by term-setup-hook. Call msdos-remember-default-colors and msdos-handle-reverse-video. (msdos-face-setup): Parts of code moved to msdos-setup-initial-frame. (msdos-handle-reverse-video): New function, modeled after x-handle-reverse-video. (make-msdos-frame): Don't use initial-frame-alist and default-frame-alist. Call msdos-handle-reverse-video. (msdos-color-aliases): Remove. (msdos-color-translate, msdos-approximate-color): Remove. (msdos-color-values): Use 16-bit RGB values. RGB values updated for better approximation of X colors. (msdos-face-setup): Call tty-color-clear. Remove code that sets up tty-color-alist (it is now on startup.el). (x-display-color-p, x-color-defined-p, x-color-values, x-defined-colors, face-color-supported-p, face-color-gray-p): Remove. * facemenu.el (facemenu-read-color, list-colors-display): Use defined-colors for all frame types. (facemenu-color-equal): Use color-values for all frame types. * faces.el (read-face-attribute): For :foreground and :background attributes and frames on character terminals, translate the color to the closest supported one before looking it up in the list of valid values. (face-valid-attribute-values): Call defined-colors for all types of frames. (defined-colors, color-defined-p, color-values, display-color-p): New finctions. (x-defined-colors, x-color-defined-p, x-color-values, x-display-color-p): Aliases for the above. * startup.el (command-line): Register terminal colors for frame types other than x and w32, but only if the terminal supports colors. Call tty-color-define instead of face-register-tty-color. * term/x-win.el (xw-defined-colors): Renamed from x-defined-colors. * term/w32-win.el (xw-defined-colors): Likewise. * term/tty-colors.el: New file. * loadup.el: Load term/tty-colors.
* Fix maintainer address.Karl Heuer1999-08-161-1/+1
|
* (facemenu-read-color): Make it work for ttys.Dave Love1999-07-301-1/+2
|
* (list-colors-display): Make it work on ttys.Dave Love1999-07-301-9/+10
|
* (facemenu-remove-face-props): Renamed fromKarl Heuer1997-12-091-6/+5
| | | | | facemenu-remove-props. Remove only face and mouse-face. (facemenu-menu): Update menu item for facemenu-remove-face-props.
* (facemenu-get-face): Just warn when given anRichard M. Stallman1997-09-021-17/+20
| | | | undefined color, no error, still return face.
* (facemenu-unlisted-faces): Expand variableRichard M. Stallman1997-08-261-8/+20
| | | | | | | | | definition to allow regexps; add regexps for some packages that define a lot of faces. (facemenu-add-new-face): Test new face against regexps. (list-colors-display): Rather than creating a zillion faces, use new (foreground-color . COLOR) and (background-color . COLOR) face properties.
* Customized.Richard M. Stallman1997-07-271-12/+36
|
* (facemenu-add-new-face): Fix comma in backquote.Richard M. Stallman1997-06-271-1/+1
|
* (facemenu-add-new-face): Rewrite to give eachRichard M. Stallman1997-04-251-9/+22
| | | | lambda expression a doc string.
* (facemenu-update): Don't make global bindings here.Richard M. Stallman1997-04-181-13/+9
| | | | | | | Make them at top level. (facemenu-key): Variable deleted. (facemenu-keybindings, facemenu-new-faces-at-end) (facemenu-unlisted-faces, facemenu-remove-face-function): Doc fixes.
* Change put-text-property with constant args to add-text-properties for ↵Boris Goldowsky1997-02-241-3/+3
| | | | efficiency. Suggested by Stavros Macrakis <[email protected]>
* Use w32 instead of ms-windows for window-system symbolGeoff Voelker1996-11-191-1/+1
|
* (facemenu-color-equal): Change win32 to ms-windows.Richard M. Stallman1996-09-151-1/+1
|
* (facemenu-complete-face-list): Doc fix.Karl Heuer1996-06-081-1/+1
|
* (list-text-properties-at): Display category's properties.Richard M. Stallman1996-03-281-1/+15
|
* (list-text-properties-at): Pass proper format string to message.Karl Heuer1996-01-251-1/+1
|
* Update FSF's address.Erik Naggum1996-01-141-2/+5
|
* (facemenu-add-face): Adding default to no regionRichard M. Stallman1996-01-121-2/+5
| | | | once again sets it for following typed in text.
* (facemenu-read-color, list-colors-display)Richard M. Stallman1996-01-021-41/+87
| | | | | (facemenu-get-face): Treat all non-nil window-system values alike. (facemenu-color-equal): Special case for MSDOS.
* (facemenu-active-faces): Replaces functionKarl Heuer1995-11-101-29/+26
| | | | | | | | | | | | | | `facemenu-discard-redundant-faces'. This version, written by Simon Marshall, is faster and does not require optional argument for recursive re-entry. New argument FRAME allows check to be done relative to face definitions in any frame. (facemenu-unlisted-faces): Remove font-lock faces from the default list. The list of face names was out of sync; to prevent this from happenning again I made font-lock.el, and other packages that create "private" faces, put them on the list themselves. This should give them a better chance of being updated when the packages are changed.
* [win32] (face-menu-read-color, list-colors-display, facemenu-color-equal, ↵Geoff Voelker1995-11-071-5/+5
| | | | | | face-menu-get-face): Test for 'win32 window system as well as 'x.
* Comment change.Richard M. Stallman1995-10-301-1/+1
|
* Props -> PropertiesSimon Marshall1995-06-161-1/+1
|
* Change email address for Boris.Boris Goldowsky1995-06-051-1/+1
|
* (facemenu-special-menu): Use characters, not symbols.Karl Heuer1995-05-301-47/+76
| | | | | | | | | | | | | | | | | | | | | Add Remove Special menu item. (facemenu-remove-special): New function. (facemenu-set-face-from-menu): If prefix arg, treat region as inactive. (facemenu-set-face): Likewise. (facemenu-keymap, facemenu-foreground-menu, facemenu-background-menu): Add ... after Other. (facemenu-menu): Change name to Text Properties. (facemenu-remove-really-all): New function. (facemenu-special-menu): Add Remove All menu item. (facemenu-indentation-menu): Make item names clearer. Pick new key names too. (facemenu-menu): Split up definition. Move `Remove All' item here. (facemenu-special-menu): Delete `Remove All' item. (facemenu-remove-all): Renamed from facemenu-remove-really-all. (facemenu-remove-props): Renamed from facemenu-remove-all.
* (facemenu-set-face-from-menu): Doc fix.Karl Heuer1995-05-161-4/+4
| | | | | (facemenu-set-background, facemenu-set-foreground): Doc fix. (facemenu-set-face): Doc fix.
* (list-colors-display): Minor clarification.Richard M. Stallman1995-04-161-12/+17
| | | | | (facemenu-special-menu): Add "Intangible" item. (facemenu-color-equal): Doc fix.
* (facemenu-read-color): Don't ignore PROMPT arg. Make arg optional.Boris Goldowsky1995-04-111-3/+6
| | | | (facemenu-unlisted-faces): Add font-lock faces to default value.
* Update copyright.Karl Heuer1995-04-071-1/+1
|
* Doc fix + autoload cookies.Boris Goldowsky1995-03-221-7/+30
|
* (list-text-properties-at): New fn.Boris Goldowsky1995-03-211-1/+16
| | | | (facemenu-menu): Add it to menu.
* (facemenu-justification-menu): binding fixed.Boris Goldowsky1995-02-231-5/+5
|
* (facemenu-self-insert-face): If previousBoris Goldowsky1995-02-141-3/+5
| | | | self-insert-face is still valid, add to rather than replace it.
* (facemenu-next): Variable deleted.Richard M. Stallman1995-02-131-17/+6
| | | | | | | (facemenu-self-insert-face): New function. (facemenu-set-face): Use facemenu-self-insert-face. (facemenu-set-face-from-menu): Likewise. (facemenu-after-change): Function deleted. Don't use it as hook.
* (facemenu-keybindings, facemenu-face-menu):Richard M. Stallman1995-01-221-62/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Keybinding for bold-italic changed from M-g o to M-g l; M-g o is now "other". (facemenu-justification-menu, facemenu-indentation-menu): New submenus, moved from enriched.el (list-colors-display, facemenu-color-equal): New functions. (facemenu-menu): Added "Display Faces" item. (facemenu-new-faces-at-end): New variable. (facemenu-add-new-face): Obey facemenu-new-faces-at-end. (facemenu-menu, facemenu-keymap, facemenu-face-menu) (facemenu-foreground-menu, facemenu-background-menu) (facemenu-special-menu): Now have function definitions as prefix keys. (facemenu-menu, facemenu-update): Refer to submenus by their names rather than including their values. (facemenu-set-face): Error if read-only; add item to menu if necessary. (facemenu-get-face): Always return FACE. (facemenu-add-new-face): Don't add if facemenu-unlisted-faces is t. (facemenu-unlisted-faces): Doc fix. Revise keybindings; doc fix. (facemenu-new-faces-at-end): New vbl. (facemenu-add-new-face): Use it. (facemenu-set-face, facemenu-set-face-from-menu): Check read-only. (facemenu-set-face): Doc fix. (facemenu-face-menu, facemenu-foreground-menu, facemenu-background-menu, facemenu-special-menu): New or renamed variables for submenus. (facemenu-color-alist): Renamed from facemenu-colors. (facemenu-add-new-face): New function. (facemenu-update): Don't redo top-level menu; nothing should change. Move menu setup to defvars. Use facemenu-add-new-face. Changed global binding to C-down-mouse-3. (facemenu-menu): "Update" item removed; should no longer be needed interactively. (facemenu-complete-face-list): Just return faces, not keybindings.
* (facemenu-key): Change to M-g.Richard M. Stallman1994-12-241-1/+1
|
* (facemenu-update): Use C-down-mouse-2 for the menu.Richard M. Stallman1994-11-091-8/+3
| | | | Doc fixes.
* (facemenu-get-face): Don't add to menu here.Boris Goldowsky1994-10-201-171/+172
| | | | | | | | | | | | | (facemenu-face-menu, facemenu-foreground-menu, facemenu-background-menu): New or renamed variables for submenus.(facemenu-color-alist): Renamed from facemenu-colors. (facemenu-add-new-face): New function. (facemenu-update): Don't redo top-level menu; nothing should change. Move menu setup to defvars. Use facemenu-add-new-face. Changed global binding to C-down-mouse-3. (facemenu-menu): "Update" item removed; should no longer be needed interactively. (facemenu-complete-face-list): Just return faces, not keybindings.