aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/facemenu.el
Commit message (Collapse)AuthorAgeFilesLines
* Trailing whitespace deleted.Juanma Barranquero2003-02-041-29/+29
|
* Move `provide' to the end.Stefan Monnier2002-07-081-3/+2
| | | | (facemenu-read-color): Don't cons unnecessarily.
* (facemenu-map): Rename to Describe TextRichard M. Stallman2002-06-171-2/+2
| | | | to Describe Properties and use describe-text-properties.
* (list-colors-display): Don't use `display-color-cells' unless theMiles Bader2002-05-091-4/+5
| | | | display class is one for which that info is relevant.
* (describe-text-at and stuff): Moved to descr-text.el.Richard M. Stallman2002-04-301-158/+0
|
* (list-text-properties-at): Command deleted.Richard M. Stallman2002-04-191-40/+3
|
* Remove require of wid-edit.Andrew Innes2002-04-181-1/+0
|
* (facemenu-add-new-face): Use this only for faces. Delete arg MENU.Richard M. Stallman2002-04-151-27/+56
| | | | | | (facemenu-add-new-color): New function. (facemenu-set-foreground, facemenu-set-background): Use facemenu-add-new-color.
* Require wid-edit.Andrew Innes2002-04-151-0/+1
|
* (facemenu-get-face): Remove unised variable `foreground'.Eli Zaretskii2002-03-241-2/+1
|
* (facemenu-add-new-face):Richard M. Stallman2002-03-141-11/+10
| | | | | | Pass region args to facemenu-set-face, when there is a region. (facemenu-set-foreground, facemenu-set-background) (facemenu-add-face): Doc fixes.
* 2002-02-19 Per Abrahamsen <[email protected]>Per Abrahamsen2002-02-191-12/+1
| | | | | | | * facemenu.el (describe-text-mode-map): Removed bootstrap kludge. * toolbar/tool-bar.el (tool-bar-mode): Made the standard value t. * menu-bar.el (menu-bar-mode): Ditto.
* 2002-02-14 Per Abrahamsen <[email protected]>Per Abrahamsen2002-02-141-3/+178
| | | | | | | | | | | | | | | | | | | | | | * facemenu.el (describe-text-done): New function. (describe-text-mode-map): New variable. (describe-text-mode-hook): New option. (describe-text-mode): New function. (describe-text-widget): New function. (describe-text-sexp): New function. (describe-text-properties): New function. (describe-text-category): New command. (describe-text-at): New command. (facemenu-menu): Replace `list-text-properties-at' with `describe-text-at' in the menu. * wid-edit.el (widgetp): New function. * wid-edit.el (widget-keymap, widget-insert, widget-setup): Autoloaded. * emacs-lisp/pp.el (pp-to-string): Autoloaded. * wid-browse.el: Removed version and x-url keywords.
* (list-colors-display): If the argument is nil, don'tEli Zaretskii2002-01-251-2/+6
| | | | show more colors that the number returned by display-color-cells.
* (facemenu-active-faces):Richard M. Stallman2002-01-021-2/+2
| | | | Use face-attributes-as-vector, not face-attributes-vector.
* 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
|