1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-16 10:50:49 -08:00
Commit graph

556 commits

Author SHA1 Message Date
Adrian Robert
edfda78355 merging Emacs.app (NeXTstep port) 2008-07-15 18:15:18 +00:00
Chong Yidong
41e6403e7f (x-create-frame-with-faces): Don't pass parameters that
are set later to x-create-frame.
(face-set-after-frame-default): Apply X resources for non-default
faces.
2008-07-10 03:32:53 +00:00
Chong Yidong
fa7015f4ea (face-set-after-frame-default): Simplify. Don't apply
frame-specific X resource settings.  Set faces using a list of
frame parameters explicitly passed to the calling
function (e.g. make-frame).
(x-create-frame-with-faces, tty-create-frame-with-faces): Supply
explicit frame parameter list to face-set-after-frame-default.
2008-07-08 17:27:04 +00:00
Juri Linkov
2aef0850e7 (face-name-history): New variable.
(make-face, make-empty-face): Replace interactive spec "S"
with `read-from-minibuffer' where `read' arg is t and
`hist' arg is `face-name-history'.
(read-face-name): Set `hist' arg of `completing-read-multiple'
to `face-name-history'.
(list-faces-display): Use `read-regexp' instead of `read-string'
to read regexp.
2008-06-30 19:35:59 +00:00
Chong Yidong
96c1a8004a (inhibit-face-set-after-frame-default): Var deleted.
(set-face-attribute, face-set-after-frame-default)): Don't use it.
2008-06-28 15:53:07 +00:00
Chong Yidong
bfffdd077e (set-face-attribute): Doc fix. 2008-06-25 22:35:37 +00:00
Andreas Schwab
ed008205fc (face-font-family-alternatives, variable-pitch): Use
"Sans Serif", not "Sans-Serif".
2008-06-25 00:39:59 +00:00
Chong Yidong
80073c336e (face-font-family-alternatives, variable-pitch): Change "Sans" to the
canonical name "Sans-Serif".
2008-06-24 18:18:05 +00:00
Chong Yidong
d5f5733533 (fixed-pitch): Use "Monospace" family.
(variable-pitch): Use "Sans" family.
(face-font-family-alternatives): Define alternatives for "Sans"
and "Monospace".
2008-06-21 19:42:51 +00:00
Stefan Monnier
27129af9d7 * w32fns.c, xfns.c (Qfont_param): New var.
(syms_of_w32fns): Initialize it.
(x_default_font_parameter): Record explicit `font' into `font-parameter'.
* faces.el (face-set-after-frame-default): Re-apply explicit `font'
frame parameters after setting up the `default' face.
2008-06-19 01:57:19 +00:00
Stefan Monnier
338191ce01 (face-set-after-frame-default): Don't exclude `default'. 2008-06-18 21:14:07 +00:00
Kenichi Handa
e4fe6f9f21 (set-face-attribute): Fix previous change. 2008-06-13 02:04:37 +00:00
Kenichi Handa
312ae771c0 (set-face-attribute): Parse "FOUNDRY-FAMILY" here.
(face-x-resources): Add :foundry.
(face-valid-attribute-values): Likewise.
(face-attribute-name-alist): Likewise.
(describe-face): Likewise.
2008-06-13 02:01:07 +00:00
Kenichi Handa
fcea6e2376 (set-face-attribute): Parse "FOUNDRY-FAMILY" form here. 2008-06-13 01:56:55 +00:00
Glenn Morris
aa360da10d Add some compiler declarations, for builds without X. 2008-06-12 03:56:20 +00:00
Chong Yidong
7ecc401137 (face-spec-recalc): When the face is set using Customize, avoid
recalculating it twice.
2008-06-10 19:56:42 +00:00
Kenichi Handa
4cd217dc0d (font-weight-table, font-slant-table)
(font-width-table): Delete them.  Don't call
internal-set-font-style-table.
2008-05-22 02:34:30 +00:00
Juanma Barranquero
4e29db95f9 (font-weight-table): Fix typo in docstring. 2008-05-19 01:06:37 +00:00
Kenichi Handa
6e783e91cb (font-weight-table, font-slant-table)
(font-swidth-table): Declare them by defconst.  Change the format
of elements.  Call internal-set-font-style-table after their
declaration.
(face-valid-attribute-values): Call font-family-list.  Get values
for width, weight, and slant from font-xxx-table.
2008-05-14 01:56:27 +00:00
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +00:00
Juanma Barranquero
45555ebeed (read-face-name): Use completion-table-in-turn', not complete-in-turn'. 2008-04-13 01:46:58 +00:00
Kenichi Handa
36c8e4a64f (font-slant-table): Change numeric values for `r',
`roman', and `normal'.
2008-04-08 02:48:37 +00:00
Chong Yidong
bacbbe8f3d (default): Ensure the face-defface-spec property is set. 2008-04-05 14:39:13 +00:00
Dan Nicolaescu
f31b125795 * faces.el (xw-defined-colors):
* simple.el (widget-convert, shell-mode): Declare as functions
instead of autoloading.

* abbrev.el:
* button.el:
* cus-face.el:
* ediff-hook.el:
* emacs-lisp/backquote.el:
* emacs-lisp/timer.el:
* facemenu.el:
* faces.el:
* menu-bar.el:
* simple.el:
* subr.el:
* textmodes/fill.el:
* textmodes/paragraphs.el: Remove autoloads, redundant when the
files are preloaded.
2008-03-14 17:42:18 +00:00
Glenn Morris
313e2fc488 (mode-line-emphasis): New face. 2008-03-11 02:58:23 +00:00
Juanma Barranquero
a1792b9b01 (face-spec-set): Fix typos in docstring. 2008-03-03 11:43:21 +00:00
Juanma Barranquero
986845aff7 (font-weight-table): Fix value of `semi-light'. 2008-02-22 23:37:23 +00:00
Stefan Monnier
9c7f8459fd (font-weight-table, font-slant-table, font-swidth-table):
Make those tables bijective.
2008-02-22 19:03:06 +00:00
Miles Bader
430d2ee291 Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-312
2008-01-09 01:21:15 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
Miles Bader
43a8b8ca57 Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-308
2008-01-02 04:13:39 +00:00
Miles Bader
b201b9880e Merge from emacs--rel--22, gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-975
2008-01-02 02:20:42 +00:00
Richard M. Stallman
606c9f599e (face-all-attributes): If FRAME is nil, return defaults. 2007-12-31 15:02:34 +00:00
Richard M. Stallman
833547aacb (face-all-attributes): New function.
(face-differs-from-default-p): Compute list of attr names
from face-attribute-name-alist.
2007-12-30 16:26:54 +00:00
Richard M. Stallman
24837f13fc (face-spec-set): Third arg is now FOR-DEFFACE.
Use of frame as third arg is deprecated.
Handle `face-override-spec' property.
(face-spec-recalc): New function.
(face-spec-set-2): New function.
(frame-set-background-mode): Handle `face-override-spec' property.
Use `face-spec-recalc'.
(face-set-after-frame-default): Use `face-spec-recalc'.
2007-12-30 03:32:34 +00:00
Richard M. Stallman
20d29b0bbc (facep): Doc fix. 2007-12-29 19:10:34 +00:00
Miles Bader
a0c92ed92d Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-306
2007-12-29 02:39:17 +00:00
Miles Bader
b17f53abc2 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-966
2007-12-28 22:26:14 +00:00
Richard M. Stallman
341a1bfb33 (copy-face): Create the new face explicitly if it does not exist already. 2007-12-23 18:09:10 +00:00
Miles Bader
f23d76bdef Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-283
2007-11-11 00:56:44 +00:00
Miles Bader
a457417ee5 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-927
2007-11-11 00:03:33 +00:00
Martin Rudalics
b766be6a9b (list-faces-display, describe-face):
Use with-help-window instead of with-output-to-temp-buffer.
2007-11-10 09:57:18 +00:00
Stefan Monnier
a3ee6f08ac (x-create-frame-with-faces, tty-create-frame-with-faces):
Don't set interprogram-(cut|paste)-function on each frame.
2007-11-09 19:41:44 +00:00
YAMAMOTO Mitsuharu
9d2185d10e (face-normalize-spec): Remove function.
(frame-set-background-mode): Undo last change.
2007-11-09 08:45:13 +00:00
Richard M. Stallman
26c07a69b9 (read-color): New function.
(face-at-point, foreground-color-at-point)
(background-color-at-point): New functions.
2007-10-29 13:54:00 +00:00
Miles Bader
9c8020a8df Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 890-898)

   - Update from CVS
   - Merge from emacs--rel--22

 * emacs--rel--22  (patch 122-128)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 257-258)

   - Merge from emacs--rel--22
   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-270
2007-10-19 00:00:21 +00:00
Stefan Monnier
8782c744ef (tty-create-frame-with-faces): Make sure not only
tty-run-terminal-initialization but also set-locale-environment
are run only once per terminal.
(tty-run-terminal-initialization): Don't check if the terminal was
already initted.
2007-10-18 19:02:23 +00:00
Miles Bader
63655c8314 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 887-889)

   - Update from CVS
   - Merge from emacs--rel--22

 * emacs--rel--22  (patch 116-121)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-268
2007-10-15 05:03:21 +00:00
Miles Bader
b2529d56b5 Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 116-121)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-889
2007-10-15 02:07:53 +00:00