1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-11 09:20:51 +00:00
Commit Graph

95 Commits

Author SHA1 Message Date
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Juanma Barranquero
d9f2959ea6 (facemenu-unlisted-faces): Put obsolescence info in the call to
`make-obsolete-variable', not in the docstring.
2006-12-04 16:49:31 +00:00
Chong Yidong
ed50f0d233 (facemenu-unlisted-faces): Define as obsolete variable. 2006-12-04 16:09:21 +00:00
Richard M. Stallman
3187841b68 (facemenu-add-new-face): Improve doc strings of constructed commands. 2006-11-28 02:19:58 +00:00
Richard M. Stallman
f3359de125 (facemenu-add-new-face): Defend against symbol that isn't a face name. 2006-10-18 10:51:00 +00:00
Richard M. Stallman
d7beaf5382 (facemenu-listed-faces): Doc fix. 2006-08-10 04:31:21 +00:00
Richard M. Stallman
cd7890bd1a (facemenu-add-face): Pass frame to facemenu-active-faces.
(facemenu-set-face): Doc fix.
2006-08-10 04:00:34 +00:00
Chong Yidong
b6a6750730 * facemenu.el (facemenu-listed-faces): New var.
(facemenu-unlisted-faces): Variable deleted.
	(facemenu-add-new-face): Use facemenu-listed-faces.
2006-07-03 14:31:35 +00:00
Richard M. Stallman
a926c9ceed (facemenu-color-alist): Doc fix. 2006-06-16 15:13:21 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Richard M. Stallman
5bcc074b49 (facemenu-read-color): Do case-insensitive matching. 2005-07-10 17:20:02 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Juanma Barranquero
8e51619c31 (facemenu): Finish `defgroup' description with period. 2005-07-04 02:04:45 +00:00
Lute Kamstra
b97c98ad01 (facemenu-unlisted-faces): Delete foreground and background color
faces.
(facemenu-set-foreground, facemenu-set-background): Use
facemenu-set-face-from-menu.
(facemenu-set-face-from-menu): Treat face names that start with "fg:"
or "bg:" as special.
(facemenu-add-new-color): Don't create faces.  Simplify.
2005-07-01 08:30:30 +00:00
Richard M. Stallman
97a7aa7b36 (facemenu-add-face): Warn when font-lock is active. 2005-06-28 18:55:48 +00:00
Lute Kamstra
019b1899e5 (facemenu-unlisted-faces): Add foreground and background color faces.
(facemenu-get-face): Delete function.
(facemenu-set-face-from-menu): Don't call facemenu-get-face.
(facemenu-add-new-color): Make second argument mandatory.  Create the
approprate face and return it.  Simplify.
(facemenu-set-foreground, facemenu-set-background): Don't check if
color is defined.  Use return value of facemenu-add-new-color.
2005-06-27 07:31:49 +00:00
Richard M. Stallman
6c763f3667 (facemenu-enable-faces-p): New function.
(facemenu-background-menu, facemenu-foreground-menu)
(facemenu-face-menu): Add menu-enable property.
2005-06-25 22:24:10 +00:00
Juri Linkov
51d23bd053 (list-colors-print): Print #RRGGBB in default face.
Remove 1 space before #RRGGBB to not truncate it on terminal
windows w/o fringes.  Remove 1 space between bg and fg examples
to get more space.
(list-colors-duplicates): Replace `and' with `if' for `boundp' to
avoid byte-compile warnings.
2005-03-08 21:47:03 +00:00
Richard M. Stallman
6be7d8dbeb (global-map): Bind M-o, not M-g. 2005-03-06 20:44:33 +00:00
Juri Linkov
987d1819c1 * facemenu.el (list-colors-print): New function created from code
in list-colors-display.  Print #RRGGBB at the window right edge.
(list-colors-display): When temp-buffer-show-function is not
defined, call list-colors-print from temp-buffer-show-hook
to get the right value of window-width in list-colors-print
after the buffer is displayed.
2005-01-12 00:33:00 +00:00
Juri Linkov
066a23af25 (list-colors-display): Add new arg buffer-name.
Use it.  Fix docstring.  Replace code for identifying duplicate
colors by the name with call to `list-colors-duplicates' which
identifies duplicate colors by the value unless the color
is one of special Windows colors.  Set truncate-lines to t.
Print sorted duplicate color names on each line.  Indent to 22
\(the longest color name in rgb.txt) instead of 20.  Optimize.
(list-colors-duplicates): New function.
(facemenu-color-name-equal): Delete function.
2005-01-11 23:53:35 +00:00
Luc Teirlinck
240c0c90e5 (facemenu-active-faces): Change condition of inner `while' loop to
also check the first two elements of `face-atts' and `mask-atts'.
2004-09-04 19:13:40 +00:00
Eli Zaretskii
64867fce6d (facemenu-color-name-equal): New function.
(list-colors-display): Use it to compare colors instead of
facemenu-color-equal.
2004-05-20 16:59:22 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
71296446d3 Trailing whitespace deleted. 2003-02-04 11:26:42 +00:00
Stefan Monnier
1ff4ace585 Move `provide' to the end.
(facemenu-read-color): Don't cons unnecessarily.
2002-07-08 01:21:41 +00:00
Richard M. Stallman
cea5ec30b4 (facemenu-map): Rename to Describe Text
to Describe Properties and use describe-text-properties.
2002-06-17 16:14:37 +00:00
Miles Bader
d259670027 (list-colors-display): Don't use `display-color-cells' unless the
display class is one for which that info is relevant.
2002-05-09 18:05:10 +00:00
Richard M. Stallman
641c04b9f0 (describe-text-at and stuff): Moved to descr-text.el. 2002-04-30 04:59:24 +00:00
Richard M. Stallman
0af1db4225 (list-text-properties-at): Command deleted. 2002-04-19 00:27:07 +00:00
Andrew Innes
a03c7d2406 Remove require of wid-edit. 2002-04-18 12:08:40 +00:00
Richard M. Stallman
9bf4c4e564 (facemenu-add-new-face): Use this only for faces. Delete arg MENU.
(facemenu-add-new-color): New function.
(facemenu-set-foreground, facemenu-set-background):
Use facemenu-add-new-color.
2002-04-15 22:05:52 +00:00
Andrew Innes
772f363f27 Require wid-edit. 2002-04-15 10:25:19 +00:00
Eli Zaretskii
c7bce5f21f (facemenu-get-face): Remove unised variable `foreground'. 2002-03-24 19:17:10 +00:00
Richard M. Stallman
af1eab213c (facemenu-add-new-face):
Pass region args to facemenu-set-face, when there is a region.
(facemenu-set-foreground, facemenu-set-background)
(facemenu-add-face): Doc fixes.
2002-03-14 08:52:16 +00:00
Per Abrahamsen
9b2d1d408c 2002-02-19 Per Abrahamsen <abraham@dina.kvl.dk>
* 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-19 10:30:30 +00:00
Per Abrahamsen
0e520006a8 2002-02-14 Per Abrahamsen <abraham@dina.kvl.dk>
* 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.
2002-02-14 16:47:11 +00:00
Eli Zaretskii
6062889d6f (list-colors-display): If the argument is nil, don't
show more colors that the number returned by display-color-cells.
2002-01-25 13:11:49 +00:00
Richard M. Stallman
f790dddf6d (facemenu-active-faces):
Use face-attributes-as-vector, not face-attributes-vector.
2002-01-02 22:56:12 +00:00
Pavel Janík
220c969f6e Remove unnecessary spaces. 2001-12-03 06:09:24 +00:00
Miles Bader
1d792b181b (facemenu-add-new-face): Fix variable names. 2001-10-25 01:08:52 +00:00
Richard M. Stallman
7d8177cf90 (facemenu-unlisted-faces): Improve doc strings
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.
2001-10-24 22:53:45 +00:00
Eli Zaretskii
cfee9de7a9 (facemenu-set-face, facemenu-set-face-from-menu): Doc fix. 2001-01-27 11:49:46 +00:00
Dave Love
74a723ded2 (facemenu-unlisted-faces): Fix value. 2000-12-07 12:14:08 +00:00
Stefan Monnier
7e6cb5132d Docstrings fixes.
(facemenu-get-face): Don't use internal-find-face.
(facemenu-iterate): Rename arg to match the docstring.
2000-07-06 13:58:49 +00:00
Dave Love
84469aeb4f (facemenu-set-face): Fix interactive prompt. 2000-05-21 16:56:47 +00:00
Dave Love
27cd44bcfa Use display-color-p. 2000-03-12 15:27:33 +00:00
Dave Love
37d5af8a49 (list-text-properties-at): Set help-xref-stack to
nil.
2000-03-01 19:05:24 +00:00
Dave Love
d932ce2079 (facemenu-set-face): Amend interactive prompt. 2000-02-16 22:45:03 +00:00