unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4184: 23.1; Arabic.el (in leim/quail) contains missing and wrong characters
@ 2009-08-17 21:51 ` Thamer Mahmoud
  2009-08-21 15:05   ` bug#4184: marked as done (23.1; Arabic.el (in leim/quail) contains missing and wrong characters) Emacs bug Tracking System
  0 siblings, 1 reply; 2+ messages in thread
From: Thamer Mahmoud @ 2009-08-17 21:51 UTC (permalink / raw)
  To: bug-gnu-emacs

[-- Attachment #1: message body text --]
[-- Type: text/plain, Size: 735 bytes --]

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


[-- Attachment #2: patch --]
[-- Type: text/x-patch, Size: 1158 bytes --]

--- 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

[-- Attachment #3: message body text --]
[-- Type: text/plain, Size: 1769 bytes --]


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#4184: marked as done (23.1; Arabic.el (in leim/quail) contains missing and wrong characters)
  2009-08-17 21:51 ` bug#4184: 23.1; Arabic.el (in leim/quail) contains missing and wrong characters Thamer Mahmoud
@ 2009-08-21 15:05   ` Emacs bug Tracking System
  0 siblings, 0 replies; 2+ messages in thread
From: Emacs bug Tracking System @ 2009-08-21 15:05 UTC (permalink / raw)
  To: Eli Zaretskii

[-- Attachment #1: Type: text/plain, Size: 928 bytes --]

Your message dated Fri, 21 Aug 2009 17:54:30 +0300
with message-id <83eir5gqu1.fsf@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 owner@emacsbugs.donarmstrong.com
immediately.)


-- 
4184: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4184
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 7920 bytes --]

[-- Attachment #2.1.1: message body text --]
[-- Type: text/plain, Size: 735 bytes --]

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


[-- Attachment #2.1.2: patch --]
[-- Type: text/x-patch, Size: 1158 bytes --]

--- 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

[-- Attachment #2.1.3: message body text --]
[-- Type: text/plain, Size: 1769 bytes --]


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

[-- Attachment #3: Type: message/rfc822, Size: 2402 bytes --]

From: Eli Zaretskii <eliz@gnu.org>
To: Thamer Mahmoud <thamer.mahmoud@gmail.com>, 4184-done@emacsbugs.donarmstrong.com
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
Message-ID: <83eir5gqu1.fsf@gnu.org>

> Date: Tue, 18 Aug 2009 00:51:34 +0300
> From: Thamer Mahmoud <thamer.mahmoud@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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-21 15:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <83eir5gqu1.fsf@gnu.org>
2009-08-17 21:51 ` bug#4184: 23.1; Arabic.el (in leim/quail) contains missing and wrong characters Thamer Mahmoud
2009-08-21 15:05   ` bug#4184: marked as done (23.1; Arabic.el (in leim/quail) contains missing and wrong characters) Emacs bug Tracking System

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).