aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2008-02-22 19:03:06 +0000
committerStefan Monnier2008-02-22 19:03:06 +0000
commit9c7f8459fd159b5b8cd443c2cbf3d69f256d6b2e (patch)
tree9158fa945762f8891b7a0fa564a254d996e5ac0c
parentf7aa70c758c188e700ac303518f48f116e3e40c9 (diff)
downloademacs-9c7f8459fd159b5b8cd443c2cbf3d69f256d6b2e.tar.gz
emacs-9c7f8459fd159b5b8cd443c2cbf3d69f256d6b2e.zip
(font-weight-table, font-slant-table, font-swidth-table):
Make those tables bijective.
-rw-r--r--lisp/ChangeLog11
-rw-r--r--lisp/faces.el51
2 files changed, 33 insertions, 29 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8d5543c2856..867d8f288f5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12008-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * faces.el (font-weight-table, font-slant-table, font-swidth-table):
4 Make those tables bijective.
5
12008-02-22 Ken Manheimer <ken.manheimer@gmail.com> 62008-02-22 Ken Manheimer <ken.manheimer@gmail.com>
2 7
3 Finish pdbtrack integration cleanup, settling missing-functions 8 Finish pdbtrack integration cleanup, settling missing-functions
@@ -32,7 +37,7 @@
32 (vc-update-vc-status-buffer): Reset mode-line-process. 37 (vc-update-vc-status-buffer): Reset mode-line-process.
33 (vc-status-mark-all-files, vc-status-unmark-all-files): Change to 38 (vc-status-mark-all-files, vc-status-unmark-all-files): Change to
34 mark/unmark all the files with the same state as the current one. 39 mark/unmark all the files with the same state as the current one.
35 With a prefix argument mark/unmark all files. 40 With a prefix argument mark/unmark all files.
36 (vc-status-mode-menu): Adjust strings. 41 (vc-status-mode-menu): Adjust strings.
37 (vc-update-vc-status-buffer): Only do something when the argument 42 (vc-update-vc-status-buffer): Only do something when the argument
38 is not nil. 43 is not nil.
@@ -54,8 +59,8 @@
54 59
55 * time.el (top-level): No need to require time-date when compiling. 60 * time.el (top-level): No need to require time-date when compiling.
56 61
57 * emacs-lisp/copyright.el (copyright-update-year): Fix 62 * emacs-lisp/copyright.el (copyright-update-year):
58 subexpression numbering for the case when years are split over 63 Fix subexpression numbering for the case when years are split over
59 lines, and for the replace case. 64 lines, and for the replace case.
60 65
61 * emulation/tpu-edt.el (tpu-have-ispell): Doc fix. Make obsolete. 66 * emulation/tpu-edt.el (tpu-have-ispell): Doc fix. Make obsolete.
diff --git a/lisp/faces.el b/lisp/faces.el
index ed9127da1e0..9ead531d71b 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -106,28 +106,28 @@ REGISTRY, ALTERNATIVE1, ALTERNATIVE2, and etc."
106(defcustom font-weight-table 106(defcustom font-weight-table
107 (if (eq system-type 'windows-nt) 107 (if (eq system-type 'windows-nt)
108 '((thin . 100) 108 '((thin . 100)
109 (ultralight . 200) (ultra-light . 200) (extra-light . 200) 109 (ultralight . 199) (ultra-light . 200) (extra-light . 201)
110 (light . 300) 110 (light . 300)
111 (semilight . 330) (semi-light . 330) 111 (semilight . 330) (semi-light . 330)
112 (book . 350) 112 (book . 350)
113 (normal . 400) (regular . 400) 113 (normal . 400) (regular . 401)
114 (medium . 500) 114 (medium . 500)
115 (semibold . 600) (semi-bold . 600) (demibold . 600) (demi . 600) 115 (semibold . 599) (semi-bold . 600) (demibold . 601) (demi . 602)
116 (bold . 700) 116 (bold . 700)
117 (extrabold . 800) (extra-bold . 800) 117 (extrabold . 799) (extra-bold . 800)
118 (ultrabold . 800) (ultra-bold . 800) 118 (ultrabold . 801) (ultra-bold . 802)
119 (black . 900) (heavy . 900)) 119 (black . 900) (heavy . 901))
120 '((thin . 0) 120 '((thin . 0)
121 (ultralight . 40) (ultra-light . 40) (extra-light . 40) 121 (ultralight . 39) (ultra-light . 40) (extra-light . 41)
122 (light . 50) 122 (light . 50)
123 (semilight . 65) (semi-light . 65) 123 (semilight . 65) (semi-light . 66)
124 (book . 75) 124 (book . 75)
125 (medium . 100) (regular . 100) (normal . 100) 125 (medium . 99) (regular . 100) (normal . 101)
126 (semibold . 180) (semi-bold . 180) (demibold . 180) (demi . 180) 126 (semibold . 179) (semi-bold . 180) (demibold . 181) (demi . 182)
127 (bold . 200) 127 (bold . 200)
128 (extrabold . 205) (extra-bold . 205) 128 (extrabold . 204) (extra-bold . 205)
129 (ultrabold . 205) (ultra-bold . 205) 129 (ultrabold . 206) (ultra-bold . 207)
130 (black . 210) (heavy . 210))) 130 (black . 210) (heavy . 211)))
131 "*Alist of font weight symbols vs the corresponding numeric values." 131 "*Alist of font weight symbols vs the corresponding numeric values."
132 :tag "Font weight table" 132 :tag "Font weight table"
133 :version "23.1" 133 :version "23.1"
@@ -141,9 +141,9 @@ REGISTRY, ALTERNATIVE1, ALTERNATIVE2, and etc."
141(defcustom font-slant-table 141(defcustom font-slant-table
142 '((ro . 0) 142 '((ro . 0)
143 (ri . 10) 143 (ri . 10)
144 (r . 100) (roman . 100) (normal . 100) 144 (r . 99) (roman . 100) (normal . 101)
145 (i . 200) (italic . 200) (ot . 200) 145 (i . 199) (italic . 200) (ot . 201)
146 (o . 210) (oblique . 210)) 146 (o . 210) (oblique . 211))
147 "*Alist of font slant symbols vs the corresponding numeric values." 147 "*Alist of font slant symbols vs the corresponding numeric values."
148 :tag "Font slant table" 148 :tag "Font slant table"
149 :version "23.1" 149 :version "23.1"
@@ -155,15 +155,15 @@ REGISTRY, ALTERNATIVE1, ALTERNATIVE2, and etc."
155 (internal-set-font-style-table :slant value)))) 155 (internal-set-font-style-table :slant value))))
156 156
157(defcustom font-swidth-table 157(defcustom font-swidth-table
158 '((ultracondensed . 50) (ultra-condensed . 50) 158 '((ultracondensed . 50) (ultra-condensed . 51)
159 (extracondensed . 63) (extra-condensed . 63) 159 (extracondensed . 63) (extra-condensed . 64)
160 (condensed . 75) (compressed . 75) (narrow . 75) 160 (narrow . 74) (compressed . 75) (condensed . 76)
161 (semicondensed . 87) (semi-condensed . 87) 161 (semi-condensed . 87) (semicondensed . 88)
162 (normal . 100) (medium . 100) (regular . 100) 162 (medium . 99) (normal . 100) (regular . 101)
163 (semiexpanded . 113) (semi-expanded . 113) (demiexpanded . 113) 163 (semiexpanded . 112) (semi-expanded . 113) (demiexpanded . 114)
164 (expanded . 125) 164 (expanded . 125)
165 (extraexpanded . 150) (extra-expanded . 150) 165 (extraexpanded . 150) (extra-expanded . 151)
166 (ultraexpanded . 200) (ultra-expanded . 200) (wide . 200)) 166 (ultraexpanded . 199) (ultra-expanded . 200) (wide . 201))
167 "*Alist of font swidth symbols vs the corresponding numeric values." 167 "*Alist of font swidth symbols vs the corresponding numeric values."
168 :tag "Font swidth table" 168 :tag "Font swidth table"
169 :version "23.1" 169 :version "23.1"
@@ -2190,8 +2190,7 @@ terminal type to a different value."
2190 "The standard faces of Emacs." 2190 "The standard faces of Emacs."
2191 :group 'faces) 2191 :group 'faces)
2192 2192
2193(defface default 2193(defface default nil
2194 '((t nil))
2195 "Basic default face." 2194 "Basic default face."
2196 :group 'basic-faces) 2195 :group 'basic-faces)
2197 2196