emacs-devel
[Top][All Lists]
Advanced

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

Questions about Quail


From: Visuwesh
Subject: Questions about Quail
Date: Sun, 17 Jul 2022 10:26:57 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

I'm currently writing an input method that mirrors the Tamil99 keyboard
layout, and have two questions about Quail.

    1. Is there a per-input-method activation hook?  I know there's the
       general input-method-activate-hook but I want a hook that will be
       run whenever a specific input method activates.  I can check for
       the current-input-method value in the hook but before I go do it,
       I wanted to know if I missed something obvious when reading the
       Quail docs.

       The reason I ask this is because the Tamil99 keyboard layout has
       a state to keep track of.  I want to reset this state whenever
       one activates the input method to avoid surprises.

    2. Currently the quail-keyboard-layout-standard resembles the VT100
       keyboard layout, can we change it to resemble the US Qwerty
       layout instead?  This is not a problem when writing a new Quail
       keyboard layout in quail-keyboard-layout-alist but it is a
       problem when the keyboard layout is printed.

       Evaluate (quail-insert-kbd-layout quail-keyboard-layout-standard)
       and check the keyboard printed out.  I doubt anyone uses a VT100
       terminal these days, printing out a US Qwerty keyboard layout IMO
       would be less confusing _and_ more helpful for the users.

       While we are it, we can also add modern keyboard layouts like
       US Dvorak to quail-keyboard-layout-alist.  I can volunteer to do
       this work.



reply via email to

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