bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12072: patch: fix quail inscript non-qwerty


From: Daniel Bergey
Subject: bug#12072: patch: fix quail inscript non-qwerty
Date: Fri, 27 Jul 2012 12:59:14 -0400
User-agent: Notmuch/0.13.2 (http://notmuchmail.org) Emacs/24.1.1 (i486-pc-linux-gnu)

The attached patch fixes the quail Inscript (Indian language family)
input methods when the underlying keyboard layout is not qwerty.  The
inscript layout is positional---the vowels should be under the left
hand.  quail-keyboard-layout should be consulted to ensure this happens.
Each of the inscript layouts is defined by calling
quail-define-inscript-package, so one change should fix them all.

I've tested this patch with emacs 24.1, using qwerty and dvorak
keyboards in X11, and devanagari-inscript input method.

Changelog:
2012-07-27 Daniel Bergey <address@hidden>

    leim/quail/indian.el: set kbd-translate for all Inscript layouts
    
    Inscript is a positional layout---vowels should be on the left hand
    regardless of the underlying characters produced by those keys.

Patch:

*** /tmp/9CVXFc_indian.el       2012-07-27 12:56:22.116246859 -0400
--- leim/quail/indian.el        2012-07-27 12:31:01.250554107 -0400
***************
*** 309,315 ****
  (defun quail-define-inscript-package (char-tables key-tables pkgname lang
                                                    title docstring)
    (funcall 'quail-define-package pkgname lang title nil docstring
!          nil nil nil nil nil nil nil nil)
    (let (char-table key-table char key)
      (while (and char-tables key-tables)
        (setq char-table  (car char-tables)
--- 309,315 ----
  (defun quail-define-inscript-package (char-tables key-tables pkgname lang
                                                    title docstring)
    (funcall 'quail-define-package pkgname lang title nil docstring
!          nil nil nil t nil nil nil nil)
    (let (char-table key-table char key)
      (while (and char-tables key-tables)
        (setq char-table  (car char-tables)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]