all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Questions about Quail
@ 2022-07-17  4:56 Visuwesh
  2022-07-17  6:43 ` Visuwesh
  2022-07-23  4:21 ` James Thomas
  0 siblings, 2 replies; 11+ messages in thread
From: Visuwesh @ 2022-07-17  4:56 UTC (permalink / raw)
  To: emacs-devel

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.



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

end of thread, other threads:[~2022-07-23 13:29 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-17  4:56 Questions about Quail Visuwesh
2022-07-17  6:43 ` Visuwesh
2022-07-23  4:21 ` James Thomas
2022-07-23  7:31   ` Visuwesh
2022-07-23  7:55     ` James Thomas
2022-07-23  8:21       ` Visuwesh
2022-07-23  8:38         ` Visuwesh
2022-07-23  9:02           ` Visuwesh
2022-07-23 11:38             ` James Thomas
2022-07-23 12:19               ` Visuwesh
2022-07-23 13:29                 ` James Thomas

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.