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

146 Commits

Author SHA1 Message Date
Gerd Moellmann
2452e0ae97 (margin): Renamed from bitmap-area. 1999-08-24 19:24:28 +00:00
Eli Zaretskii
f3625fc034 (face-valid-attribute-values): Look in
x-bitmap-file-path only for x and w32 window systems.
1999-08-15 11:52:16 +00:00
Gerd Moellmann
fbd5f1cc27 (face-valid-attribute-values): Return an alist for
families on ttys.
(face-read-integer): Handle unspecified face attributes.  Add
completion for `unspecified'.
(read-face-attribute): Handle unspecified font attributes.
(face-valid-attribute-values): Add `unspecified' to lists so that
it can be chosen via completion.
(face-read-string): Don't recognize "none" as input.
1999-08-12 14:35:33 +00:00
Eli Zaretskii
7501463105 (face-set-after-frame-default): Don't call
make-face-x-resource-internal for the pc window-system.
1999-08-10 10:17:47 +00:00
Dave Love
e59176e264 (bitmap-area): Add :version. 1999-07-30 18:03:23 +00:00
Gerd Moellmann
9668a74626 (toolbar): Add face definition for mono displays. 1999-07-27 23:52:50 +00:00
Gerd Moellmann
3d08948993 (bitmap-area): Change background to white for mono displays. 1999-07-26 13:03:06 +00:00
Gerd Moellmann
5f5c8ee54a Complete rewrite. 1999-07-21 21:43:52 +00:00
Richard M. Stallman
acc9e99d87 (face-set-after-frame-default): Obey the
`customized-face' for new faces.
1999-04-06 20:04:27 +00:00
Karl Heuer
ed584298df (list-faces-display): Multiline case of previous fix. 1999-01-25 16:41:04 +00:00
Richard M. Stallman
6fe3eb772f (list-faces-display): Improve the formatting
by computing the maximum length required for any face-name.
1999-01-11 13:32:11 +00:00
Andrew Innes
8cd2ac8d1a (set-face-font): Call resolve-fontset-name on w32.
(set-face-font-auto): Ditto.
1998-11-03 22:26:56 +00:00
Eli Zaretskii
fabe60871a (frame-set-background-mode): Enable the function for MSDOS frames. 1998-10-20 16:34:29 +00:00
Richard M. Stallman
077fcb28fa (modify-face-read-string): Return (nil) for "none".
(modify-face): Don't get error if (nil) is the argument.
(face-try-color-list): Don't check whether nil is a valid color.
1998-10-19 18:25:59 +00:00
Richard M. Stallman
49cd149a22 (frame-set-background-mode): Don't do anythung for text-only or MSDOS frame. 1998-10-10 12:10:30 +00:00
Richard M. Stallman
b7ad053cb4 (list-faces-display): Call print-help-return-message.
(describe-face): Likewise.
1998-08-11 11:15:58 +00:00
Kenichi Handa
53caf287d1 (x-create-frame-with-faces): If an ASCII font is
specified in PARAMETERS, create a fontset from the font and use it
for the new frame.
1998-07-03 04:39:22 +00:00
Richard M. Stallman
d25f052025 (set-face-font): For now, don't call
resolve-fontset-name on Windows.
(set-face-font-auto): Likewise.
1998-06-27 04:42:03 +00:00
Kenichi Handa
70ccc86659 (set-face-font): Pay attention to fontset.
(set-face-font-auto): Call resolve-fontset-name.
1998-06-12 07:10:59 +00:00
Richard M. Stallman
0bea75b9d4 (frame-update-face-colors): Call frame-set-background-mode. 1998-05-25 18:37:10 +00:00
Richard M. Stallman
ba7eaddad2 (frame-background-mode): Define a :set function
to update the background mode of existing frames.
1998-05-20 00:40:19 +00:00
Karl Heuer
113ab303b8 (basic-faces): New group. Put the standard faces in it. 1997-10-23 06:36:33 +00:00
Richard M. Stallman
2743019037 (set-face-font-auto): instanciate-fontset renamed to instantiate-fontset. 1997-09-05 23:39:21 +00:00
Richard M. Stallman
573d18cb3d (modify-face): Fix previous change. 1997-08-24 20:40:48 +00:00
Richard M. Stallman
d343b6f10a (modify-face): New arg INVERSE-P.
Clear the inverse-video flag before installing new colors.
(face-spec-set): Pass INVERSE-P arg, and use (nil) for colors
when calling modify-face.
1997-08-23 02:01:34 +00:00
Richard M. Stallman
1bcb155cb1 Faces now have 2 more elements, bold-p and italic-p.
(internal-facep, make-face, x-create-frame-with-faces):
Create frames with those elements.
(face-bold-p, face-italic-p): Just fetch those elements.
(set-face-italic-p, set-face-bold-p): Doc fixes.
(make-face-bold, make-face-italic, make-face-bold-italic)
(make-face-unbold, make-face-unitalic): Set those new elements.
1997-08-18 02:32:18 +00:00
Richard M. Stallman
e42537fec7 (set-face-doc-string): Define once again, as alias. 1997-08-09 03:34:34 +00:00
Richard M. Stallman
f60a629a96 (internal-face-interactive): Handle default in usual way,
Provide completion for color reading.
(set-face-foreground, set-face-background): Specify `color'
when reading the color name interactively.
1997-08-04 04:23:51 +00:00
Richard M. Stallman
1c1e0fe5df Alternative colors for standard faces if dark background. 1997-08-04 02:57:47 +00:00
Richard M. Stallman
95c7d3d317 (face-attr-match-p): New function.
(face-attr-match-1, face-spec-match-p, face-attr-construct): Likewise.
(face-spec-choose): New function.
(face-spec-set): Use face-spec-choose.
1997-08-03 04:10:36 +00:00
Kenichi Handa
b9f33f3602 (set-face-font-auto): Create a fontset if FONT is a
fontset not instanciated fontset.
1997-07-31 05:54:08 +00:00
Richard M. Stallman
02e0989b51 (face-documentation): Renamed from face-doc-string.
(set-face-documentation): Renamed from set-face-doc-string.
(face-doc-string): Make this an alias.
1997-07-24 06:04:06 +00:00
Richard M. Stallman
e9e594568d (set-face-font-explicit): Call internal-set-face-1 properly. 1997-07-23 04:22:58 +00:00
Richard M. Stallman
87b6ab4c4a (internal-facep): Length is now 10.
(make-face, x-create-frame-with-faces): Make a face 10 elements long.
(internal-set-face-1): Don't call set-face-attribute-internal
if NAME is nil.
(set-face-font): Set the auto-flag to t or nil.
(face-spec-set): Clear out the font at the start,
if it was set automatically before.
(face-font-explicit): New function.
(set-face-font-auto): New function.
(set-face-font-explicit): New function.
(copy-face): Copy the face-font-external flag.
(internal-try-face-font): Use set-face-font-auto.
1997-07-21 05:16:37 +00:00
Richard M. Stallman
b1eb5e6abd (face-set-after-frame-default): New ubroutine,
taken from x-create-frame-with-faces.
(x-create-frame-with-faces): Call it.
(face-italic-p, face-bold-p): Use equal to compare fonts.
(frame-update-faces): Function now a no-op.
1997-07-05 19:28:02 +00:00
Richard M. Stallman
60a719b0b1 (make-face): Call make-face-internal only if defined.
(internal-set-face-1): Call set-face-attribute-internal
only if it is defined.
1997-05-31 05:37:34 +00:00
Richard M. Stallman
f020126027 (x-create-frame-with-faces): Don't call frame-set-background-mode
until after handling the reverse-video parameter.
1997-05-26 01:30:07 +00:00
Richard M. Stallman
55893d25c0 Unconditionally create the standard faces at load time.
Move face setup here from cus-start.el, and add attribute info.
1997-05-25 21:52:33 +00:00
Richard M. Stallman
e8e4cda0ac (modify-face): Don't call make-face-unbold
if face has no font; likewise for make-face-unitalic.
(x-create-frame-with-faces): Use nil for SET-ANYWAY
when calling make-face-x-resource-internal.
(face-initialize): Don't initialize any face attributes here.
(face-fill-in): Don't call set-face-underline-p if underlining off.

(face-inverse-video-p): New function.
(set-face-inverse-video-p): New function.
(internal-set-face-1): Handle the inverse-video attribute.
(face-spec-set): Handle :inverse-video.
(make-face, x-create-frame-with-faces): Make vectors length 9.
(internal-facep): Expect length 9.
(face-try-color-list): Use set-face-inverse-video-p.
1997-05-25 21:39:38 +00:00
Kenichi Handa
b7d7285cd6 (x-make-font-bold-italic): New function. 1997-05-12 05:26:35 +00:00
Richard M. Stallman
64b26d5cb5 (describe-face): Add documentation. 1997-04-25 18:11:33 +00:00
Richard M. Stallman
d11fba257e (frame-set-background-mode): New function.
(frame-background-mode): New variable.
(x-create-frame-with-faces): Rearrangement of order of font processing.
Handle custom-faces here.
(face-doc-string, set-face-doc-string): New functions.
(set-face-bold-p, set-face-italic-p): New functions.
(face-bold-p, face-italic-p): New function.
(face-spec-set, face-spec-set-1, face-spec-set-match-display): New functions.
1997-04-21 03:56:57 +00:00
Richard M. Stallman
17b3a11bfc (make-face): New arg no-resources.
(make-empty-face): New function.
1997-04-11 05:59:37 +00:00
Kenichi Handa
3aa3a18c9c (set-face-font): Allow specifing fontset for the arg FONT. 1997-03-18 23:16:27 +00:00
Simon Marshall
28ceec49f1 clean code. 1997-03-15 13:22:49 +00:00
Simon Marshall
fbd4411672 When testing FACE's non-nil face-font with the default face font, use the frame's font parameter if the default face's face-font is nil. 1997-03-15 13:14:24 +00:00
Richard M. Stallman
c5f0b2d42d (invert-face): Handle inverting the default face better. 1997-01-07 09:05:31 +00:00
Richard M. Stallman
d7fa5aa239 Change defconsts to defvars. 1996-12-16 01:33:02 +00:00
Geoff Voelker
b86b9918dd Use w32 instead of ms-windows for window-system symbol 1996-11-19 06:59:17 +00:00
Richard M. Stallman
7e45a1ec94 (make-face, make-face-x-resource-internal):
Test for ms-windows instead of win32.  Use memq.
(initialization at end of file): Likewise.
1996-09-15 02:15:42 +00:00