From: Eli Zaretskii Date: Sat, 7 May 2022 14:54:19 +0000 (+0300) Subject: Improve Devanagari character composition rules X-Git-Tag: emacs-29.0.90~1910^2~926 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e59c42950f622b0e3b463cb8e37f504f6b347843;p=emacs.git Improve Devanagari character composition rules * lisp/language/indian.el (devanagari-composable-pattern): Add rules for Vedic accents. Suggested by Madhu . --- diff --git a/lisp/language/indian.el b/lisp/language/indian.el index 0031405182c..b240403b0a1 100644 --- a/lisp/language/indian.el +++ b/lisp/language/indian.el @@ -169,6 +169,8 @@ which used the Kaithi script are supported in this language environment.")) ("H" . "\u094D") ; HALANT ("s" . "[\u0951\u0952]") ; stress sign ("t" . "[\u0953\u0954]") ; accent + ("1" . "\u0967") ; numeral 1 + ("3" . "\u0969") ; numeral 3 ("N" . "\u200C") ; ZWNJ ("J" . "\u200D") ; ZWJ ("X" . "[\u0900-\u097F]")))) ; all coverage @@ -180,6 +182,8 @@ which used the Kaithi script are supported in this language environment.")) "Cn?\\(?:J?HJ?Cn?\\)*\\(?:H[NJ]?\\|v*n?a?s?t?A?\\)\\|" ;; special consonant form, or "JHR\\|" + ;; vedic accents with numerals, or + "1ss\\|3ss\\|s3ss\\|" ;; any other singleton characters "X") table))