GNU bug report logs - #4184
23.1; Arabic.el (in leim/quail) contains missing and wrong characters

Previous Next

Package: emacs;

Reported by: Thamer Mahmoud <thamer.mahmoud <at> gmail.com>

Date: Thu, 20 Aug 2009 19:35:25 UTC

Severity: normal

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 (Emacs bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Subject: bug#4184: marked as done (23.1; Arabic.el (in leim/quail)
 contains missing and wrong characters)
Date: Fri, 21 Aug 2009 15:05:17 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 21 Aug 2009 17:54:30 +0300
with message-id <83eir5gqu1.fsf <at> gnu.org>
and subject line Re: bug#4184: 23.1;	Arabic.el (in leim/quail) contains missing and wrong characters
has caused the Emacs bug report #4184,
regarding 23.1; Arabic.el (in leim/quail) contains missing and wrong characters
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact help-debbugs <at> gnu.org
immediately.)


-- 
4184: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4184
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Thamer Mahmoud <thamer.mahmoud <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.1; Arabic.el (in leim/quail) contains missing and wrong characters
Date: Tue, 18 Aug 2009 00:51:34 +0300
[Message part 3 (text/plain, inline)]
Hi, 

The arabic.el input method shipped with Emacs 23.1.1 (and is currently
in CVS) is missing a few characters when compared to the keyboard
layout mentioned in the same file.

Also this input method directly inserts Lam-alef ligatures from the
Arabic Presentation Forms ranges. This has the effect of contaminating
files with characters that are strictly reserved for presentation
purposes, and should not be inserted by keyboard. (For more
information, see the relevant X.org bug.[1])

The attached patch addresses both these issues, i.e., it adds the
missing characters; and it separates Lam-Alef ligatures into a list of
two letters (Lam, and a suitable Alef).

Footnotes: 
[1] https://bugs.launchpad.net/xorg-server/+bug/62587

[arabic.el.patch (text/x-patch, inline)]
--- arabic.el.~1.5.~	2009-05-24 14:13:00.000000000 +0300
+++ arabic.el	2009-08-13 18:12:16.000000000 +0300
@@ -40,42 +40,42 @@
 
 (quail-define-rules
  ("`" ?ذ)
+ ("~" ?ّ)
 
  ("Q" ?َ)
  ("W" ?ً)
  ("E" ?ُ)
  ("R" ?ٌ)
- ("T" ?ﻹ)
+ ("T" ["لإ"])
  ("Y" ?إ)
  ("U" ?`)
  ("I" ?÷)
  ("O" ?×)
  ("P" ?؛)
+ ("{" ?<)
+ ("}" ?>)
 
  ("A" ?ِ)
  ("S" ?ٍ)
  ("D" ?])
  ("F" ?[)
- ("G" ?ﻷ)
+ ("G" ["لأ"])
  ("H" ?أ)
  ("J" ?ـ)
  ("K" ?،)
  ("L" ?/)
- (";" ?:)
 
  ("Z" ?~)
  ("X" ?ْ)
  ("C" ?})
  ("V" ?{)
- ("B" ?ﻵ)
+ ("B" ["لآ"])
  ("N" ?آ)
  ("M" ?')
  ("<" ?,)
  (">" ?.)
  ("?" ?؟)
 
- ("`" ?ذ)
-
  ("q" ?ض)
  ("w" ?ص)
  ("e" ?ث)
@@ -86,6 +86,8 @@
  ("i" ?ه)
  ("o" ?خ)
  ("p" ?ح)
+ ("[" ?ج)
+ ("]" ?د)
 
  ("a" ?ش)
  ("s" ?س)
@@ -97,19 +99,18 @@
  ("k" ?ن)
  ("l" ?م)
  (";" ?ك)
+ ("'" ?ط)
 
  ("z" ?ئ)
  ("x" ?ء)
  ("c" ?ؤ)
  ("v" ?ر)
- ("b" ?ﻻ)
+ ("b" ["لا"])
  ("n" ?ى)
  ("m" ?ة)
  ("," ?و)
  ("." ?ز)
- ("/" ?ظ)
-
- ("'" ?ط))
+ ("/" ?ظ))
 
 ;; arch-tag: 7e81e2af-5ea5-417f-bfe7-dfa6fd955cb5
 ;;; arabic.el ends here
[Message part 5 (text/plain, inline)]
In GNU Emacs 23.1.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2009-08-03 on raven, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
configured using `configure  '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=yes' '--with-x-toolkit=athena' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Info

Minor modes in effect:
  diff-auto-refine-mode: t
  desktop-save-mode: t
  which-function-mode: t
  show-paren-mode: t
  pc-selection-mode: t
  delete-selection-mode: t
  yas/minor-mode: t
  shell-dirtrack-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  temp-buffer-resize-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

--
Thamer
[Message part 6 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Thamer Mahmoud <thamer.mahmoud <at> gmail.com>,
        4184-done <at> debbugs.gnu.org
Subject: Re: bug#4184: 23.1;	Arabic.el (in leim/quail) contains missing and wrong characters
Date: Fri, 21 Aug 2009 17:54:30 +0300
> Date: Tue, 18 Aug 2009 00:51:34 +0300
> From: Thamer Mahmoud <thamer.mahmoud <at> gmail.com>
> Cc: 
> 
> The arabic.el input method shipped with Emacs 23.1.1 (and is currently
> in CVS) is missing a few characters when compared to the keyboard
> layout mentioned in the same file.
> 
> Also this input method directly inserts Lam-alef ligatures from the
> Arabic Presentation Forms ranges. This has the effect of contaminating
> files with characters that are strictly reserved for presentation
> purposes, and should not be inserted by keyboard. (For more
> information, see the relevant X.org bug.[1])
> 
> The attached patch addresses both these issues, i.e., it adds the
> missing characters; and it separates Lam-Alef ligatures into a list of
> two letters (Lam, and a suitable Alef).

Thanks, I installed the patch.

This bug report was last modified 15 years and 301 days ago.

Previous Next


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