1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00
Commit Graph

137 Commits

Author SHA1 Message Date
Karl Heuer
da41135a67 (copy-face): Don't change old-face and new-face before the frame loop. 1994-03-02 06:45:38 +00:00
Richard M. Stallman
6a588f9a70 (face-try-color-list): Don't rely on errors from using
a color that the server can't really support.
1994-02-15 22:38:00 +00:00
Richard M. Stallman
19ae9866c9 (face-initialize): Specify default characteristics
for the	standard faces.  Use face-fill-in to set up existing frames.
(face-fill-in, face-try-color-list): New subroutines.
Handle underline, foreground and background in the
frame-independent info of a face.
(x-create-frame-with-faces): Use face-fill-in.
(x-initialize-frame-faces): Function deleted.
1994-02-12 06:25:56 +00:00
Richard M. Stallman
2f2ddd1e4a (copy-face): Doc fix. 1994-02-08 18:22:09 +00:00
Richard M. Stallman
534dbc9764 (make-face-unitalic, make-face-unbold, make-face-bold)
(make-face-bold-italic, make-face-italic): If frame is t,
do the special handling only if face-font is a list.
1993-11-27 07:52:47 +00:00
Richard M. Stallman
8db93e456a (x-resolve-font-name): Undo previous change. 1993-11-21 07:23:17 +00:00
Richard M. Stallman
4901eb1b09 (x-resolve-font-name): Don't pass FACE to x-list-fonts
if FACE has nil as its font.
1993-11-20 08:42:47 +00:00
Richard M. Stallman
ec3b1a9bf9 (x-create-frame-with-faces): Check for on' or true'
as reverseVideo resource value.
1993-08-14 09:23:24 +00:00
Richard M. Stallman
f3f31ccf98 Make boldness and italicness affect subsequently created frames.
(make-face-bold, make-face-italic, make-face-bold-italic)
(make-face-unbold, make-face-unitalic): Update global-face-data.
Ignore a list found in the font slot.
(make-face-bold-internal, make-face-italic-internal):
(make-face-bold-italic-internal): New subroutines.
(x-create-frame-with-faces): If global-face-data's font slot
indicates bold and/or italic, make it so.
1993-08-03 07:12:34 +00:00
Richard M. Stallman
11872f7e1e (face-equal): Don't mess with face-background-pixmap. 1993-07-18 04:44:27 +00:00
Richard M. Stallman
710e70052b (copy-face): New arg NEW-FRAME.
(list-faces-display): New command.
1993-07-13 22:05:13 +00:00
Jim Blandy
eacaa9905a * faces.el (make-face-bold, make-face-italic,
make-face-bold-italic, make-face-unbold, make-face-unitalic):
	Properly pass noerror argument to recursive calls.
1993-07-04 01:46:30 +00:00
Jim Blandy
31beb30ec1 Fix typo in last change. 1993-06-30 04:14:08 +00:00
Jim Blandy
66a5c2c6e4 * faces.el (global-face-data): Doc fix. 1993-06-29 23:33:00 +00:00
Richard M. Stallman
f4b9e76b49 (face-initialize): Create `underline' face.
(x-initialize-frame-faces): Set up `underline' face.

(x-initialize-frame-faces): Check x-display-color-p
and x-display-planes to decide whether to try using colors or gray.
1993-06-28 20:38:49 +00:00
Jim Blandy
8220dfd066 Doc fix. 1993-06-28 19:56:00 +00:00
Jim Blandy
586388410a * faces.el (make-face-bold, make-face-italic,
make-face-bold-italic, make-face-unbold, make-face-unitalic):
	Always pass the frame parameter to internal-try-face-font; we only
	want to set the face for this frame.

	* faces.el (make-face-bold, make-face-italic,
	make-face-bold-italic, make-face-unbold, make-face-unitalic):
	Fix error messages.
1993-06-17 22:59:49 +00:00
Richard M. Stallman
f0b9055ffa (set-face-background-pixmap, face-background-pixmap): Functions commented out. 1993-06-17 22:07:26 +00:00
Richard M. Stallman
0f1dc98e7a (x-create-frame-with-faces): Reversevideo -> ReverseVideo. 1993-06-07 23:23:42 +00:00
Richard M. Stallman
7cf6fac180 (x-resolve-font-name): Clean up error messages. 1993-05-31 18:02:03 +00:00
Jim Blandy
25c08a32ed * faces.el (x-resolve-font-name): Give correct error message
depending on whether or not FACE was non-nil.
1993-05-30 17:28:33 +00:00
Jim Blandy
d9d5950f41 * faces.el (x-resolve-font-name): Fix args to error; the format
string was changed, but not the arguments to be substituted.
1993-05-30 17:21:36 +00:00
Richard M. Stallman
14e6867cdf (x-resolve-font-name): Allow symbol as FACE arg.
Allow t as FRAME arg.
1993-05-29 04:36:40 +00:00
Richard M. Stallman
1b691d5c6c (x-create-frame-with-faces): Handle reverseVideo resource. 1993-05-27 23:50:21 +00:00
Jim Blandy
10d8967392 * faces.el (x-resolve-font-name): If PATTERN is nil, return the
frame's face.
	(set-face-font): Only use x-resolve-font-name if FONT is a string.
	Copying a faces shouldn't resolve the font.
1993-05-26 19:42:36 +00:00
Jim Blandy
281dc1c259 * faces.el (set-face-font): Call x-resolve-font-name on the font
before including it in the face.
	(x-resolve-font-name): New function.
1993-05-25 13:19:28 +00:00
Richard M. Stallman
1dd6d2a2dd (x-create-frame-with-faces): Handle `reverse' as parameter. 1993-05-25 02:28:03 +00:00
Jim Blandy
19fac29988 * faces.el (make-face): Change interactive spec to 'S'. 1993-05-24 01:58:58 +00:00
Jim Blandy
ade516a1a7 * xfaces.el (face-equal): Doc fix. 1993-05-19 19:48:38 +00:00
Richard M. Stallman
ebea97d856 (face-initialize): Do make the modeline face.
(x-initialize-frame-faces): Explicitly invert `modeline' face.
(x-create-frame-with-faces): Simplify; do nothing special
with `default' or `modeline' face.
1993-05-16 15:41:50 +00:00
Richard M. Stallman
578d09a642 Rename primary-selection' to region'. 1993-05-15 21:17:55 +00:00
Richard M. Stallman
8494bbf1a7 (face-initialize): Don't create the `modeline' face.
Set region-face.
(invert-face): Really do use the default colors.
(x-initialize-frame-faces): Always try "gray" color for
primary-selection; always invert if that fails.
Similar changes for highlight, secondary-selection.

(make-face): Add interactive spec.
(set-default-font): Deleted.
1993-05-15 19:53:44 +00:00
Richard M. Stallman
e09c52a8a0 (face-initialize): New function.
All initialization code moved into it.
Call at end of file, if using X frames already.
(x-create-frame-with-faces): Don't use faces if not initialized.
1993-05-13 03:24:09 +00:00
Jim Blandy
bdda375433 Re-arranged stuff to put defsubst accessors at the top 1993-05-11 19:14:34 +00:00
Jim Blandy
f0138172cd * faces.el: Call internal-set-face-1, not internat-set-face-1.
* faces.el: Don't set frame-creation-function here; x-win.el is
	the appropriate place to set it.

	* faces.el: Only apply x-initialize-frame-faces to X frames; pass
	over terminal frames.

	* faces.el: Provide 'faces.
1993-05-09 23:48:41 +00:00
Jim Blandy
bb9a81fcda * faces.el (read-face-name): Call face-list, not list-faces.
Fail more gracefully if we can't build bold, italic, etc,
	versions of the default font.
	* faces.el (make-face-bold, make-face-italic,
	make-face-bold-italic, make-face-unbold, make-face-unitalic):
	Implement NOERROR argument.
	(x-initialize-frame-faces): Use the NOERROR argument to the
	font manipulation functions to avoid errors while starting up.
	Remove initialization of isearch font.
	* xfaces.c (internal-x-complain-about-font): Add new frame
	argument, so we can check the frame parameters to find the
	default font.  Callers changed.

	* faces.el (x-create-frame-with-faces): Fix typo.  Dyke out
	code to fully qualify the modeline font; we may not be able to
	do that correctly.
1993-05-09 23:38:29 +00:00
Eric S. Raymond
465fceed88 Initial revision 1993-04-03 23:28:03 +00:00