Subject: bug#55303: closed (Re: bug#55303: 29.0.50; Bengali characters \u09F0 and \u09FE are not properly displayed in Emacs)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 07 May 2022 16:38:02 +0000

Your bug report

#55303: 29.0.50; Bengali characters \u09F0 and \u09FE are not properly displayed in Emacs

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
55303: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55303
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#55303: 29.0.50; Bengali characters \u09F0 and \u09FE are not properly displayed in Emacs
From: Eli Zaretskii <[email-masked]>
To: समीर सिंह Sameer Singh<[email-masked]>
Cc: [email-masked]
Date: Sat, 07 May 2022 19:37:16 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: समीर सिंह Sameer Singh
>  <[email-masked]>
> Date: Sat, 7 May 2022 21:50:13 +0530
> 
> There is no composition rule for \u09F0 (ৰ) and \u09FE (৾) in emacs,
> therefore they are not rendered properly.
> Steps to reproduce:
> 1. emacs -Q
> 2. Type:
>      ৰাম কৰ্ম ৰূপ
>      লা৾নু না৾
> 
> The following patch will fix the problem:

Thanks, I install that.  But please in the future send patches via
"git format-patch", and perhaps as attachment, as Gmail is known to
munge whitespace.  The patch you sent didn't apply.

Subject: 29.0.50; Bengali characters \u09F0 and \u09FE are not properly displayed in Emacs
From: समीर सिंह Sameer Singh<[email-masked]>
To: [email-masked]
Date: Sat, 7 May 2022 21:50:13 +0530
List-Id: <debbugs-submit.debbugs.gnu.org>

There is no composition rule for \u09F0 (ৰ) and \u09FE (৾) in emacs,
therefore they are not rendered properly.
Steps to reproduce:
1. emacs -Q
2. Type:
     ৰাম কৰ্ম ৰূপ
     লা৾নু না৾

The following patch will fix the problem:

diff --git a/lisp/language/indian.el b/lisp/language/indian.el
index b240403b0a..b6fcdbb348 100644
--- a/lisp/language/indian.el
+++ b/lisp/language/indian.el
@@ -194,13 +194,14 @@ bengali-composable-pattern
  '(("a" . "\u0981") ; SIGN CANDRABINDU
    ("A" . "[\u0982\u0983]") ; SIGN ANUSVARA .. VISARGA
    ("V" . "[\u0985-\u0994\u09E0\u09E1]") ; independent vowel
-   ("C" . "[\u0995-\u09B9\u09DC-\u09DF\u09F1]") ; consonant
+   ("C" . "[\u0995-\u09B9\u09DC-\u09DF\u09F0\u09F1]") ; consonant
    ("B" . "[\u09AC\u09AF\u09B0\u09F0]") ; BA, YA, RA
    ("R" . "[\u09B0\u09F0]") ; RA
    ("n" . "\u09BC") ; NUKTA
    ("v" . "[\u09BE-\u09CC\u09D7\u09E2\u09E3]") ; vowel sign
    ("H" . "\u09CD") ; HALANT
    ("T" . "\u09CE") ; KHANDA TA
+           ("S" . "\u09FE") ; SANDHI MARK
    ("N" . "\u200C") ; ZWNJ
    ("J" . "\u200D") ; ZWJ
    ("X" . "[\u0980-\u09FF]")))) ; all coverage
@@ -209,7 +210,7 @@ bengali-composable-pattern
       ;; syllables with an independent vowel, or
       "\\(?:RH\\)?Vn?\\(?:J?HB\\)?v*n?a?A?\\|"
       ;; consonant-based syllables, or
-      "Cn?\\(?:J?HJ?Cn?\\)*\\(?:H[NJ]?\\|v*[NJ]?v?a?A?\\)\\|"
+      "Cn?\\(?:J?HJ?Cn?\\)*\\(?:H[NJ]?\\|v*[NJ]?v?a?A?S?\\)\\|"
       ;; another syllables with an independent vowel, or
       "\\(?:RH\\)?T\\|"
       ;; special consonant form, or