aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris2020-03-18 07:50:37 -0700
committerGlenn Morris2020-03-18 07:50:37 -0700
commit64d9b4cd762cd39749b899343cb4878e5998a170 (patch)
treed53ca326b506c75d3151a37ac35a199ae7c780e3 /lisp
parentd815e1ea521aac866eb9c305b64a1d4486fea86f (diff)
parente92b8e535aa599fa4477578f3e5d0657e494fdd0 (diff)
downloademacs-64d9b4cd762cd39749b899343cb4878e5998a170.tar.gz
emacs-64d9b4cd762cd39749b899343cb4878e5998a170.zip
Merge from origin/emacs-27
e92b8e535a (origin/emacs-27) Remove raw carriage return characters fr... 5747a59a88 Recalculate default font when switching font backend a2dd8c4234 * lisp/tab-line.el: Fix tab-line-format and tab-line-forma... a7b8291b6c * etc/NEWS: Make the `--eval` example slightly more precise f8254aad14 * lisp/image/image-converter.el: Support more ImageMagick ... 5beb269505 Support Unicode 13.0 3a671ad7ed Fix regression in wisent-total-conflicts # Conflicts: # etc/NEWS
Diffstat (limited to 'lisp')
-rw-r--r--lisp/cedet/semantic/wisent/comp.el13
-rw-r--r--lisp/image/image-converter.el5
-rw-r--r--lisp/international/characters.el46
-rw-r--r--lisp/international/fontset.el9
-rw-r--r--lisp/international/mule-cmds.el4
-rw-r--r--lisp/tab-line.el9
6 files changed, 62 insertions, 24 deletions
diff --git a/lisp/cedet/semantic/wisent/comp.el b/lisp/cedet/semantic/wisent/comp.el
index 263dff9dcc6..4e9927f23f1 100644
--- a/lisp/cedet/semantic/wisent/comp.el
+++ b/lisp/cedet/semantic/wisent/comp.el
@@ -2235,13 +2235,18 @@ there are any reduce/reduce conflicts."
2235(defun wisent-total-conflicts () 2235(defun wisent-total-conflicts ()
2236 "Report the total number of conflicts." 2236 "Report the total number of conflicts."
2237 (let* ((src (wisent-source)) 2237 (let* ((src (wisent-source))
2238 (symbol (intern (format "wisent-%s--expected-conflicts" 2238 (symbol
2239 (replace-regexp-in-string "\\.el$" "" src)) 2239 ;; Source files may specify how many expected conflicts
2240 obarray))) 2240 ;; there are. If the number is the expected number, don't
2241 ;; output warnings.
2242 (and src
2243 (intern (format "wisent-%s--expected-conflicts"
2244 (replace-regexp-in-string "\\.el$" "" src))))))
2241 (when (or (not (zerop rrc-total)) 2245 (when (or (not (zerop rrc-total))
2242 (and (not (zerop src-total)) 2246 (and (not (zerop src-total))
2243 (not (= src-total (or wisent-expected-conflicts 0))) 2247 (not (= src-total (or wisent-expected-conflicts 0)))
2244 (or (not (boundp symbol)) 2248 (or (null symbol)
2249 (not (boundp symbol))
2245 (not (equal (symbol-value symbol) src-total))))) 2250 (not (equal (symbol-value symbol) src-total)))))
2246 (let* ((src (if src (concat " in " src) "")) 2251 (let* ((src (if src (concat " in " src) ""))
2247 (msg (format "Grammar%s contains" src))) 2252 (msg (format "Grammar%s contains" src)))
diff --git a/lisp/image/image-converter.el b/lisp/image/image-converter.el
index 0488a13d41a..ae3d9598920 100644
--- a/lisp/image/image-converter.el
+++ b/lisp/image/image-converter.el
@@ -149,8 +149,9 @@ data is returned as a string."
149 (when (re-search-forward "^-" nil t) 149 (when (re-search-forward "^-" nil t)
150 (forward-line 1) 150 (forward-line 1)
151 ;; Lines look like 151 ;; Lines look like
152 ;; " WPG* r-- Word Perfect Graphics". 152 ;; " WPG* r-- Word Perfect Graphics" or
153 (while (re-search-forward "^ *\\([A-Z0-9]+\\)\\*? +r" nil t) 153 ;; " WPG* WPG r-- Word Perfect Graphics".
154 (while (re-search-forward "^ *\\([A-Z0-9]+\\)\\*?\\(?: +[A-Z0-9]+\\)? +r" nil t)
154 (push (downcase (match-string 1)) formats))) 155 (push (downcase (match-string 1)) formats)))
155 (nreverse formats)))) 156 (nreverse formats))))
156 157
diff --git a/lisp/international/characters.el b/lisp/international/characters.el
index e7f86623234..b7656d9c1a7 100644
--- a/lisp/international/characters.el
+++ b/lisp/international/characters.el
@@ -674,6 +674,12 @@ with L, LRE, or LRO Unicode bidi character type.")
674 (set-case-syntax c "." tbl) 674 (set-case-syntax c "." tbl)
675 (setq c (1+ c))) 675 (setq c (1+ c)))
676 676
677 ;; Symbols for Legacy Computing
678 (setq c #x1FB00)
679 (while (<= c #x1FBFF)
680 (set-case-syntax c "." tbl)
681 (setq c (1+ c)))
682
677 ;; Fullwidth Latin 683 ;; Fullwidth Latin
678 (setq c #xff21) 684 (setq c #xff21)
679 (while (<= c #xff3a) 685 (while (<= c #xff3a)
@@ -964,6 +970,7 @@ with L, LRE, or LRO Unicode bidi character type.")
964 (#x0D41 . #x0D44) 970 (#x0D41 . #x0D44)
965 (#x0D4D . #x0D4D) 971 (#x0D4D . #x0D4D)
966 (#x0D62 . #x0D63) 972 (#x0D62 . #x0D63)
973 (#x0D81 . #x0D81)
967 (#x0DCA . #x0DCA) 974 (#x0DCA . #x0DCA)
968 (#x0DD2 . #x0DD6) 975 (#x0DD2 . #x0DD6)
969 (#x0E31 . #x0E31) 976 (#x0E31 . #x0E31)
@@ -1020,7 +1027,7 @@ with L, LRE, or LRO Unicode bidi character type.")
1020 (#x1A65 . #x1A6C) 1027 (#x1A65 . #x1A6C)
1021 (#x1A73 . #x1A7C) 1028 (#x1A73 . #x1A7C)
1022 (#x1A7F . #x1A7F) 1029 (#x1A7F . #x1A7F)
1023 (#x1AB0 . #x1ABE) 1030 (#x1AB0 . #x1AC0)
1024 (#x1B00 . #x1B03) 1031 (#x1B00 . #x1B03)
1025 (#x1B34 . #x1B34) 1032 (#x1B34 . #x1B34)
1026 (#x1B36 . #x1B3A) 1033 (#x1B36 . #x1B3A)
@@ -1058,6 +1065,7 @@ with L, LRE, or LRO Unicode bidi character type.")
1058 (#xA806 . #xA806) 1065 (#xA806 . #xA806)
1059 (#xA80B . #xA80B) 1066 (#xA80B . #xA80B)
1060 (#xA825 . #xA826) 1067 (#xA825 . #xA826)
1068 (#xA82C . #xA82C)
1061 (#xA8C4 . #xA8C5) 1069 (#xA8C4 . #xA8C5)
1062 (#xA8E0 . #xA8F1) 1070 (#xA8E0 . #xA8F1)
1063 (#xA926 . #xA92D) 1071 (#xA926 . #xA92D)
@@ -1094,6 +1102,7 @@ with L, LRE, or LRO Unicode bidi character type.")
1094 (#x10A01 . #x10A0F) 1102 (#x10A01 . #x10A0F)
1095 (#x10A38 . #x10A3F) 1103 (#x10A38 . #x10A3F)
1096 (#x10AE5 . #x10AE6) 1104 (#x10AE5 . #x10AE6)
1105 (#x10EAB . #x10EAC)
1097 (#x11001 . #x11001) 1106 (#x11001 . #x11001)
1098 (#x11038 . #x11046) 1107 (#x11038 . #x11046)
1099 (#x1107F . #x11081) 1108 (#x1107F . #x11081)
@@ -1107,6 +1116,7 @@ with L, LRE, or LRO Unicode bidi character type.")
1107 (#x11180 . #x11181) 1116 (#x11180 . #x11181)
1108 (#x111B6 . #x111BE) 1117 (#x111B6 . #x111BE)
1109 (#x111CA . #x111CC) 1118 (#x111CA . #x111CC)
1119 (#x111CF . #x111CF)
1110 (#x1122F . #x11231) 1120 (#x1122F . #x11231)
1111 (#x11234 . #x11234) 1121 (#x11234 . #x11234)
1112 (#x11236 . #x11237) 1122 (#x11236 . #x11237)
@@ -1138,6 +1148,9 @@ with L, LRE, or LRO Unicode bidi character type.")
1138 (#x1171D . #x1171F) 1148 (#x1171D . #x1171F)
1139 (#x11722 . #x11725) 1149 (#x11722 . #x11725)
1140 (#x11727 . #x1172B) 1150 (#x11727 . #x1172B)
1151 (#x1193B . #x1193C)
1152 (#x1193E . #x1193E)
1153 (#x11943 . #x11943)
1141 (#x11C30 . #x11C36) 1154 (#x11C30 . #x11C36)
1142 (#x11C38 . #x11C3D) 1155 (#x11C38 . #x11C3D)
1143 (#x11C92 . #x11CA7) 1156 (#x11C92 . #x11CA7)
@@ -1147,6 +1160,7 @@ with L, LRE, or LRO Unicode bidi character type.")
1147 (#x16AF0 . #x16AF4) 1160 (#x16AF0 . #x16AF4)
1148 (#x16B30 . #x16B36) 1161 (#x16B30 . #x16B36)
1149 (#x16F8F . #x16F92) 1162 (#x16F8F . #x16F92)
1163 (#x16FE4 . #x16FE4)
1150 (#x1BC9D . #x1BC9E) 1164 (#x1BC9D . #x1BC9E)
1151 (#x1BCA0 . #x1BCA3) 1165 (#x1BCA0 . #x1BCA3)
1152 (#x1D167 . #x1D169) 1166 (#x1D167 . #x1D169)
@@ -1210,7 +1224,7 @@ with L, LRE, or LRO Unicode bidi character type.")
1210 (#x2E80 . #x303E) 1224 (#x2E80 . #x303E)
1211 (#x3040 . #x3247) 1225 (#x3040 . #x3247)
1212 (#x3250 . #x4DBF) 1226 (#x3250 . #x4DBF)
1213 (#x4E00 . #xA4CF) 1227 (#x4E00 . #x9FFF)
1214 (#xA490 . #xA4C6) 1228 (#xA490 . #xA4C6)
1215 (#xA960 . #xA97F) 1229 (#xA960 . #xA97F)
1216 (#xAC00 . #xD7A3) 1230 (#xAC00 . #xD7A3)
@@ -1219,9 +1233,11 @@ with L, LRE, or LRO Unicode bidi character type.")
1219 (#xFE30 . #xFE6F) 1233 (#xFE30 . #xFE6F)
1220 (#xFF01 . #xFF60) 1234 (#xFF01 . #xFF60)
1221 (#xFFE0 . #xFFE6) 1235 (#xFFE0 . #xFFE6)
1222 (#x16FE0 . #x16FE3) 1236 (#x16FE0 . #x16FE4)
1237 (#x16FF0 . #x16FF1)
1223 (#x17000 . #x187F7) 1238 (#x17000 . #x187F7)
1224 (#x18800 . #x18AF2) 1239 (#x18800 . #x18AFF)
1240 (#x18B00 . #x18CD5)
1225 (#x1B000 . #x1B152) 1241 (#x1B000 . #x1B152)
1226 (#x1B164 . #x1B167) 1242 (#x1B164 . #x1B167)
1227 (#x1B170 . #x1B2FB) 1243 (#x1B170 . #x1B2FB)
@@ -1229,6 +1245,7 @@ with L, LRE, or LRO Unicode bidi character type.")
1229 (#x1F0CF . #x1F0CF) 1245 (#x1F0CF . #x1F0CF)
1230 (#x1F18E . #x1F18E) 1246 (#x1F18E . #x1F18E)
1231 (#x1F191 . #x1F19A) 1247 (#x1F191 . #x1F19A)
1248 (#x1F1AD . #x1F1AD)
1232 (#x1F200 . #x1F320) 1249 (#x1F200 . #x1F320)
1233 (#x1F32D . #x1F335) 1250 (#x1F32D . #x1F335)
1234 (#x1F337 . #x1F37C) 1251 (#x1F337 . #x1F37C)
@@ -1253,22 +1270,27 @@ with L, LRE, or LRO Unicode bidi character type.")
1253 (#x1F680 . #x1F6C5) 1270 (#x1F680 . #x1F6C5)
1254 (#x1F6CC . #x1F6CC) 1271 (#x1F6CC . #x1F6CC)
1255 (#x1F6D0 . #x1F6D2) 1272 (#x1F6D0 . #x1F6D2)
1256 (#x1F6D5 . #x1F6D5) 1273 (#x1F6D5 . #x1F6D7)
1257 (#x1F6EB . #x1F6EC) 1274 (#x1F6EB . #x1F6EC)
1258 (#x1F6F4 . #x1F6FA) 1275 (#x1F6F4 . #x1F6FC)
1259 (#x1F7E0 . #x1F7EB) 1276 (#x1F7E0 . #x1F7EB)
1260 (#x1F90D . #x1F971) 1277 (#x1F90C . #x1F93A)
1261 (#x1F973 . #x1F976) 1278 (#x1F93C . #x1F945)
1262 (#x1F97A . #x1F9A2) 1279 (#x1F947 . #x1F978)
1280 (#x1F97A . #x1F9CB)
1263 (#x1F9A5 . #x1F9AA) 1281 (#x1F9A5 . #x1F9AA)
1264 (#x1F9AE . #x1F9CA) 1282 (#x1F9AE . #x1F9CA)
1265 (#x1F9CD . #x1F9FF) 1283 (#x1F9CD . #x1F9FF)
1266 (#x1FA00 . #x1FA53) 1284 (#x1FA00 . #x1FA53)
1267 (#x1FA60 . #x1FA6D) 1285 (#x1FA60 . #x1FA6D)
1268 (#x1FA70 . #x1FA73) 1286 (#x1FA70 . #x1FA74)
1269 (#x1FA78 . #x1FA7A) 1287 (#x1FA78 . #x1FA7A)
1270 (#x1FA80 . #x1FA82) 1288 (#x1FA80 . #x1FA86)
1271 (#x1FA90 . #x1FA95) 1289 (#x1FA90 . #x1FAA8)
1290 (#x1FAB0 . #x1FAB6)
1291 (#x1FAC0 . #x1FAC2)
1292 (#x1FAD0 . #x1FAD6)
1293 (#x1FB00 . #x1FB92)
1272 (#x20000 . #x2FFFF) 1294 (#x20000 . #x2FFFF)
1273 (#x30000 . #x3FFFF)))) 1295 (#x30000 . #x3FFFF))))
1274 (dolist (elt l) 1296 (dolist (elt l)
diff --git a/lisp/international/fontset.el b/lisp/international/fontset.el
index 529c7bb88be..23abb0d0a9e 100644
--- a/lisp/international/fontset.el
+++ b/lisp/international/fontset.el
@@ -220,9 +220,11 @@
220 (kharoshthi #x10A00) 220 (kharoshthi #x10A00)
221 (manichaean #x10AC0) 221 (manichaean #x10AC0)
222 (hanifi-rohingya #x10D00) 222 (hanifi-rohingya #x10D00)
223 (yezidi #x10E80)
223 (old-sogdian #x10F00) 224 (old-sogdian #x10F00)
224 (sogdian #x10F30) 225 (sogdian #x10F30)
225 (elymaic #x10fe0) 226 (chorasmian #x10FB0)
227 (elymaic #x10FE0)
226 (mahajani #x11150) 228 (mahajani #x11150)
227 (sinhala-archaic-number #x111E1) 229 (sinhala-archaic-number #x111E1)
228 (khojki #x11200) 230 (khojki #x11200)
@@ -235,6 +237,7 @@
235 (takri #x11680) 237 (takri #x11680)
236 (dogra #x11800) 238 (dogra #x11800)
237 (warang-citi #x118A1) 239 (warang-citi #x118A1)
240 (dives-akuru #x11900)
238 (nandinagari #x119a0) 241 (nandinagari #x119a0)
239 (zanabazar-square #x11A00) 242 (zanabazar-square #x11A00)
240 (soyombo #x11A50) 243 (soyombo #x11A50)
@@ -253,6 +256,7 @@
253 (medefaidrin #x16E40) 256 (medefaidrin #x16E40)
254 (tangut #x17000) 257 (tangut #x17000)
255 (tangut-components #x18800) 258 (tangut-components #x18800)
259 (khitan-small-script #x18B00)
256 (nushu #x1B170) 260 (nushu #x1B170)
257 (duployan-shorthand #x1BC20) 261 (duployan-shorthand #x1BC20)
258 (byzantine-musical-symbol #x1D000) 262 (byzantine-musical-symbol #x1D000)
@@ -736,10 +740,13 @@
736 cypriot-syllabary 740 cypriot-syllabary
737 phoenician 741 phoenician
738 lydian 742 lydian
743 yezidi
739 kharoshthi 744 kharoshthi
740 manichaean 745 manichaean
746 chorasmian
741 elymaic 747 elymaic
742 makasar 748 makasar
749 dives-akuru
743 cuneiform-numbers-and-punctuation 750 cuneiform-numbers-and-punctuation
744 cuneiform 751 cuneiform
745 egyptian 752 egyptian
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el
index 5436aaa4fa0..7714a778fcb 100644
--- a/lisp/international/mule-cmds.el
+++ b/lisp/international/mule-cmds.el
@@ -2994,7 +2994,9 @@ on encoding."
2994 (#x16FE0 . #x16FE3) 2994 (#x16FE0 . #x16FE3)
2995 ;; (#x17000 . #x187FF) Tangut Ideographs 2995 ;; (#x17000 . #x187FF) Tangut Ideographs
2996 ;; (#x18800 . #x18AFF) Tangut Components 2996 ;; (#x18800 . #x18AFF) Tangut Components
2997 ;; (#x18B00 . #x1AFFF) unused 2997 ;; (#x18B00 . #x18CFF) Khitan Small Script
2998 ;; (#x18D00 . #x18D0F) Tangut Ideograph Supplement
2999 ;; (#x18D10 . #x1AFFF) unused
2998 (#x1B000 . #x1B11F) 3000 (#x1B000 . #x1B11F)
2999 ;; (#x1B120 . #x1B14F) unused 3001 ;; (#x1B120 . #x1B14F) unused
3000 (#x1B150 . #x1B16F) 3002 (#x1B150 . #x1B16F)
diff --git a/lisp/tab-line.el b/lisp/tab-line.el
index 902c312ce14..53fa984caf6 100644
--- a/lisp/tab-line.el
+++ b/lisp/tab-line.el
@@ -453,9 +453,10 @@ variable `tab-line-tabs-function'."
453 (> (length strings) 1)) 453 (> (length strings) 1))
454 tab-line-right-button))) 454 tab-line-right-button)))
455 (if hscroll (nthcdr (truncate hscroll) strings) strings) 455 (if hscroll (nthcdr (truncate hscroll) strings) strings)
456 (when (eq tab-line-tabs-function #'tab-line-tabs-window-buffers) 456 (list separator)
457 (list (concat separator (when tab-line-new-tab-choice 457 (when (and (eq tab-line-tabs-function #'tab-line-tabs-window-buffers)
458 tab-line-new-button))))))) 458 tab-line-new-tab-choice)
459 (list tab-line-new-button)))))
459 460
460(defvar tab-line-auto-hscroll) 461(defvar tab-line-auto-hscroll)
461 462
@@ -463,7 +464,7 @@ variable `tab-line-tabs-function'."
463 "Template for displaying tab line for selected window." 464 "Template for displaying tab line for selected window."
464 (let* ((tabs (funcall tab-line-tabs-function)) 465 (let* ((tabs (funcall tab-line-tabs-function))
465 (cache-key (list tabs 466 (cache-key (list tabs
466 (window-buffer) 467 (buffer-name (window-buffer))
467 (window-parameter nil 'tab-line-hscroll))) 468 (window-parameter nil 'tab-line-hscroll)))
468 (cache (window-parameter nil 'tab-line-cache))) 469 (cache (window-parameter nil 'tab-line-cache)))
469 ;; Enable auto-hscroll again after it was disabled on manual scrolling. 470 ;; Enable auto-hscroll again after it was disabled on manual scrolling.