GNU bug report logs - #55303
29.0.50; Bengali characters \u09F0 and \u09FE are not properly displayed in Emacs

Previous Next

Package: emacs;

Reported by: समीर सिंह Sameer Singh <lumarzeli30 <at> gmail.com>

Date: Sat, 7 May 2022 16:21:01 UTC

Severity: normal

Found in version 29.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: समीर सिंह Sameer Singh
 <lumarzeli30 <at> gmail.com>
Subject: bug#55303: closed (Re: bug#55303: 29.0.50; Bengali characters
 \u09F0 and \u09FE are not properly displayed in Emacs)
Date: Sat, 07 May 2022 16:38:02 +0000
[Message part 1 (text/plain, inline)]
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 55303 <at> debbugs.gnu.org.

-- 
55303: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55303
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: समीर सिंह Sameer Singh
 <lumarzeli30 <at> gmail.com>
Cc: 55303-done <at> debbugs.gnu.org
Subject: Re: bug#55303: 29.0.50;
 Bengali characters \u09F0 and \u09FE are not properly displayed in
 Emacs
Date: Sat, 07 May 2022 19:37:16 +0300
> From: समीर सिंह Sameer Singh
>  <lumarzeli30 <at> gmail.com>
> 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.

[Message part 3 (message/rfc822, inline)]
From: समीर सिंह Sameer Singh
 <lumarzeli30 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; Bengali characters \u09F0 and \u09FE are not properly
 displayed in Emacs
Date: Sat, 7 May 2022 21:50:13 +0530
[Message part 4 (text/plain, inline)]
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
[Message part 5 (text/html, inline)]

This bug report was last modified 3 years and 18 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.