diff options
author | Stefan Kangas <stefan@marxist.se> | 2022-07-03 06:30:38 +0200 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2022-07-03 06:30:38 +0200 |
commit | 740d7e54e14633a0c3628b1ab339e7fb967d7c06 (patch) | |
tree | 0d003554c310d9c373776f7f7bba5f6281697046 | |
parent | 4ef1e4daf5e3569fed748f4487058d68a4c20ae6 (diff) | |
parent | dc3d01a5aff4017ac071bf7f72ab4df493d2b2f6 (diff) | |
download | emacs-740d7e54e14633a0c3628b1ab339e7fb967d7c06.tar.gz |
Merge from origin/emacs-28
dc3d01a5af CC Mode: Fix a c-backward-token-2 call wrongly jumping bac...
e390396e68 Doc fixes; don't use obsolete names
c85f7c2e8a Don't refer to obsolete alias for insert-char
60ad45c5d2 Don't use obsolete face name in manoj-dark-theme
-rw-r--r-- | etc/compilation.txt | 2 | ||||
-rw-r--r-- | etc/themes/manoj-dark-theme.el | 2 | ||||
-rw-r--r-- | lisp/leim/quail/persian.el | 90 | ||||
-rw-r--r-- | lisp/mh-e/mh-funcs.el | 6 | ||||
-rw-r--r-- | lisp/progmodes/cc-fonts.el | 23 |
5 files changed, 63 insertions, 60 deletions
diff --git a/etc/compilation.txt b/etc/compilation.txt index 5601ce272aa..e286b5a77de 100644 --- a/etc/compilation.txt +++ b/etc/compilation.txt @@ -424,7 +424,7 @@ symbol: oracle This stupid precompiler wraps lines at column 80 in the middle of a file name. There is no obvious way of detecting this or turning it off. But if you -delete the newline (probably needs M-x toggle-read-only), the file name will +delete the newline (probably needs M-x read-only-mode), the file name will automatically be reparsed, so that you can then go there. Semantic error at line 528, column 5, file erosacqdb.pc: diff --git a/etc/themes/manoj-dark-theme.el b/etc/themes/manoj-dark-theme.el index c7d2d3fee5d..af5576386c6 100644 --- a/etc/themes/manoj-dark-theme.el +++ b/etc/themes/manoj-dark-theme.el @@ -380,7 +380,7 @@ jarring angry fruit salad look to reduce eye fatigue.") :foreground "black" :background "grey" :weight bold )))) '(calendar-today-face ((t (:underline t :bold t :foreground "cornsilk")))) - '(change-log-acknowledgement-face ((t (:italic t :slant oblique :foreground "AntiqueWhite3")))) + '(change-log-acknowledgment ((t (:italic t :slant oblique :foreground "AntiqueWhite3")))) '(change-log-conditionals-face ((t (:foreground "Aquamarine")))) '(change-log-date-face ((t (:italic t :slant oblique :foreground "BurlyWood")))) '(change-log-email-face ((t (:foreground "Aquamarine")))) diff --git a/lisp/leim/quail/persian.el b/lisp/leim/quail/persian.el index 61428c94f0d..07d006c2a48 100644 --- a/lisp/leim/quail/persian.el +++ b/lisp/leim/quail/persian.el @@ -23,7 +23,7 @@ ;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: -;; + ;; This file contains a collection of input methods for ;; Persian languages (Farsi, Urdu, Pashto/Afghanic, ...) ;; @@ -402,7 +402,7 @@ ;;;;;;;;;;; isiri-6219 Table 6 -- جدول ۶ - حروِفِ عربی ("F" ?إ) - ("D" ?\u0671) ;; (ucs-insert #x0671)ٱ named: حرفِ الفِ وصل + ("D" ?\u0671) ;; (insert-char #x0671)ٱ named: حرفِ الفِ وصل ("K" ?ك) ;; Arabic kaf ("Th" ?ة) ;; ta marbuteh ("Y" ?ي) @@ -421,40 +421,40 @@ ("8" ?۸) ("9" ?۹) - ("\\/" ?\u066B) ;; (ucs-insert #x066B)٫ named: ممیزِ فارسی - ("\\," ?\u066C) ;; (ucs-insert #x066C)٬ named: جداکنندهی هزارهای فارسی - ("%" ?\u066A) ;; (ucs-insert #x066A)٪ named: درصدِ فارسی - ("+" ?\u002B) ;; (ucs-insert #x002B)+ named: علامتِ بهاضافه - ("-" ?\u2212) ;; (ucs-insert #x2212)− named: علامتِ منها - ("\\*" ?\u00D7) ;; (ucs-insert #x00D7)× named: علامتِ ضرب - ("\\-" ?\u00F7) ;; (ucs-insert #x00F7)÷ named: علامتِ تقسیم - ("<" ?\u003C) ;; (ucs-insert #x003C)< named: علامتِ کوچکتر - ("=" ?\u003D) ;; (ucs-insert #x003D)= named: علامتِ مساوی - (">" ?\u003E) ;; (ucs-insert #x003E)> named: علامتِ بزرگتر + ("\\/" ?\u066B) ;; (insert-char #x066B)٫ named: ممیزِ فارسی + ("\\," ?\u066C) ;; (insert-char #x066C)٬ named: جداکنندهی هزارهای فارسی + ("%" ?\u066A) ;; (insert-char #x066A)٪ named: درصدِ فارسی + ("+" ?\u002B) ;; (insert-char #x002B)+ named: علامتِ بهاضافه + ("-" ?\u2212) ;; (insert-char #x2212)− named: علامتِ منها + ("\\*" ?\u00D7) ;; (insert-char #x00D7)× named: علامتِ ضرب + ("\\-" ?\u00F7) ;; (insert-char #x00F7)÷ named: علامتِ تقسیم + ("<" ?\u003C) ;; (insert-char #x003C)< named: علامتِ کوچکتر + ("=" ?\u003D) ;; (insert-char #x003D)= named: علامتِ مساوی + (">" ?\u003E) ;; (insert-char #x003E)> named: علامتِ بزرگتر ;;;;;;;;;;; isiri-6219 Table 2 -- جدول ۲ - علائم نقطه گذاریِ مشترک ;;; Space ("." ?.) ;; - (":" ?\u003A) ;; (ucs-insert #x003A): named: - ("!" ?\u0021) ;; (ucs-insert #x0021)! named: - ("\\." ?\u2026) ;; (ucs-insert #x2026)… named: - ("\\-" ?\u2010) ;; (ucs-insert #x2010)‐ named: - ("-" ?\u002D) ;; (ucs-insert #x002D)- named: + (":" ?\u003A) ;; (insert-char #x003A): named: + ("!" ?\u0021) ;; (insert-char #x0021)! named: + ("\\." ?\u2026) ;; (insert-char #x2026)… named: + ("\\-" ?\u2010) ;; (insert-char #x2010)‐ named: + ("-" ?\u002D) ;; (insert-char #x002D)- named: ("|" ?|) ;;("\\\\" ?\) ("//" ?/) - ("*" ?\u002A) ;; (ucs-insert #x002A)* named: - ("(" ?\u0028) ;; (ucs-insert #x0028)( named: - (")" ?\u0029) ;; (ucs-insert #x0029)) named: - ("[" ?\u005B) ;; (ucs-insert #x005B)[ named: - ("[" ?\u005D) ;; (ucs-insert #x005D)] named: - ("{" ?\u007B) ;; (ucs-insert #x007B){ named: - ("}" ?\u007D) ;; (ucs-insert #x007D)} named: - ("\\<" ?\u00AB) ;; (ucs-insert #x00AB)« named: - ("\\>" ?\u00BB) ;; (ucs-insert #x00BB)» named: - ("N" ?\u00AB) ;; (ucs-insert #x00AB)« named: - ("M" ?\u00BB) ;; (ucs-insert #x00BB)» named: + ("*" ?\u002A) ;; (insert-char #x002A)* named: + ("(" ?\u0028) ;; (insert-char #x0028)( named: + (")" ?\u0029) ;; (insert-char #x0029)) named: + ("[" ?\u005B) ;; (insert-char #x005B)[ named: + ("[" ?\u005D) ;; (insert-char #x005D)] named: + ("{" ?\u007B) ;; (insert-char #x007B){ named: + ("}" ?\u007D) ;; (insert-char #x007D)} named: + ("\\<" ?\u00AB) ;; (insert-char #x00AB)« named: + ("\\>" ?\u00BB) ;; (insert-char #x00BB)» named: + ("N" ?\u00AB) ;; (insert-char #x00AB)« named: + ("M" ?\u00BB) ;; (insert-char #x00BB)» named: ;;;;;;;;;;; isiri-6219 Table 3 -- جدول ۳ - علائم نقطه گذاریِ فارسی ("," ?،) ;; farsi @@ -466,20 +466,20 @@ ;;;;;;;;;;; isiri-6219 Table 1 -- جدول ۱ - نویسههای کنترلی ;; LF ;; CR - ("‌" ?\u200C) ;; (ucs-insert #x200C) named: فاصلهی مجازی + ("‌" ?\u200C) ;; (insert-char #x200C) named: فاصلهی مجازی ("/" ?\u200C) ;; - ("‍" ?\u200D) ;; (ucs-insert #x200D) named: اتصالِ مجازی + ("‍" ?\u200D) ;; (insert-char #x200D) named: اتصالِ مجازی ("J" ?\u200D) ;; - ("‎" ?\u200E) ;; (ucs-insert #x200E) named: نشانهی چپبهراست - ("‏" ?\u200F) ;; (ucs-insert #x200F) named: نشانهی راستبهچپ - ("&ls;" ?\u2028) ;; (ucs-insert #x2028)
named: جداکنندهی سطرها - ("&ps;" ?\u2028) ;; (ucs-insert #x2029)
named: جداکنندهی بندها - ("&lre;" ?\u202A) ;; (ucs-insert #x202A) named: زیرمتنِ چپبهراست - ("&rle;" ?\u202B) ;; (ucs-insert #x202B) named: زیرمتنِ راستبهچپ - ("&pdf;" ?\u202C) ;; (ucs-insert #x202C) named: پایانِ زیرمتن - ("&lro;" ?\u202D) ;; (ucs-insert #x202D) named: زیرمتنِ اکیداً چپبهراست - ("&rlo;" ?\u202D) ;; (ucs-insert #x202E) named: زیرمتنِ اکیداً راستبهچپ - ("&bom;" ?\uFEFF) ;; (ucs-insert #xFEFF) named: نشانهی ترتیبِ بایتها + ("‎" ?\u200E) ;; (insert-char #x200E) named: نشانهی چپبهراست + ("‏" ?\u200F) ;; (insert-char #x200F) named: نشانهی راستبهچپ + ("&ls;" ?\u2028) ;; (insert-char #x2028)
named: جداکنندهی سطرها + ("&ps;" ?\u2028) ;; (insert-char #x2029)
named: جداکنندهی بندها + ("&lre;" ?\u202A) ;; (insert-char #x202A) named: زیرمتنِ چپبهراست + ("&rle;" ?\u202B) ;; (insert-char #x202B) named: زیرمتنِ راستبهچپ + ("&pdf;" ?\u202C) ;; (insert-char #x202C) named: پایانِ زیرمتن + ("&lro;" ?\u202D) ;; (insert-char #x202D) named: زیرمتنِ اکیداً چپبهراست + ("&rlo;" ?\u202D) ;; (insert-char #x202E) named: زیرمتنِ اکیداً راستبهچپ + ("&bom;" ?\uFEFF) ;; (insert-char #xFEFF) named: نشانهی ترتیبِ بایتها ;;;;;;;;;;; isiri-6219 Table 7 -- جدول ۷ - نشانههایِ فارسی @@ -491,14 +491,14 @@ ("O" ?ٌ) ;; دو پيش فارسى -- تنوين رفع ("~" ?ّ) ;; tashdid ;; تشديد فارسى ("@" ?ْ) ;; ساکن فارسى - ("U" ?\u0653) ;; (ucs-insert #x0653)ٓ named: مدِ فارسی + ("U" ?\u0653) ;; (insert-char #x0653)ٓ named: مدِ فارسی ("`" ?ٔ) ;; همزه فارسى بالا - ("C" ?\u0655) ;; (ucs-insert #x0655)ٕ named: همزه فارسى پایین - ("$" ?\u0670) ;; (ucs-insert #x0670)ٰ named: الفِ مقصورهی فارسی + ("C" ?\u0655) ;; (insert-char #x0655)ٕ named: همزه فارسى پایین + ("$" ?\u0670) ;; (insert-char #x0670)ٰ named: الفِ مقصورهی فارسی ;;;;;;;;;;; isiri-6219 Table 8 - Forbidden Characters -- جدول ۸ - نویسههایِ ممنوع -;; ;; he ye (ucs-insert 1728) (ucs-insert #x06c0) kills emacs-24.0.90 +;; ;; he ye (insert-char 1728) (insert-char #x06c0) kills emacs-24.0.90 ;; arabic digits 0-9 @@ -508,7 +508,7 @@ ("\\~" ?~) ("\\@" ?@) ("\\#" ?#) - ("\\$" ?\uFDFC) ;; (ucs-insert #xFDFC)﷼ named: + ("\\$" ?\uFDFC) ;; (insert-char #xFDFC)﷼ named: ("\\^" ?^) ("\\1" ?1) ("\\2" ?2) diff --git a/lisp/mh-e/mh-funcs.el b/lisp/mh-e/mh-funcs.el index ef0a76b9a49..f011ea47f80 100644 --- a/lisp/mh-e/mh-funcs.el +++ b/lisp/mh-e/mh-funcs.el @@ -95,9 +95,9 @@ RANGE is read in interactive use." Remove all of the messages (files) within the current folder, and then remove the folder (directory) itself. -Run the abnormal hook `mh-kill-folder-suppress-prompt-hooks'. The -hook functions are called with no arguments and should return a -non-nil value to suppress the normal prompt when you remove a +Run the abnormal hook `mh-kill-folder-suppress-prompt-functions'. +The hook functions are called with no arguments and should return +a non-nil value to suppress the normal prompt when you remove a folder. This is useful for folders that are easily regenerated." (interactive) (if (or (run-hook-with-args-until-success diff --git a/lisp/progmodes/cc-fonts.el b/lisp/progmodes/cc-fonts.el index 15e3beb8377..625010b04b2 100644 --- a/lisp/progmodes/cc-fonts.el +++ b/lisp/progmodes/cc-fonts.el @@ -1820,7 +1820,7 @@ casts and declarations are fontified. Used on level 2 and higher." ;; font-lock-keyword-face. It always returns NIL to inhibit this and ;; prevent a repeat invocation. See elisp/lispref page "Search-based ;; Fontification". - (let (mode capture-default id-start id-end declaration sub-begin sub-end) + (let (mode capture-default id-start id-end declaration sub-begin sub-end tem) (while (and (< (point) limit) (search-forward "[" limit t)) (when (progn (backward-char) @@ -1832,15 +1832,18 @@ casts and declarations are fontified. Used on level 2 and higher." (char-after))) ;; Is the first element of the list a bare "=" or "&"? (when mode - (forward-char) - (c-forward-syntactic-ws) - (if (memq (char-after) '(?, ?\])) - (progn - (setq capture-default mode) - (when (eq (char-after) ?,) - (forward-char) - (c-forward-syntactic-ws))) - (c-backward-token-2))) + (setq tem nil) + (save-excursion + (forward-char) + (c-forward-syntactic-ws) + (if (memq (char-after) '(?, ?\])) + (progn + (setq capture-default mode) + (when (eq (char-after) ?,) + (forward-char) + (c-forward-syntactic-ws)) + (setq tem (point))))) + (if tem (goto-char tem))) ;; Go round the following loop once per captured item. We use "\\s)" ;; rather than "\\]" here to avoid infinite looping in this situation: |