From: Michael Welsh Duggan <mwd@md5i.com>
To: emacs-devel@gnu.org
Subject: Re: Issues with quail.el
Date: Sat, 12 May 2018 00:13:09 -0400 [thread overview]
Message-ID: <8736yx4ilm.fsf@md5i.com> (raw)
In-Reply-To: <20180510141234.tpj4vagod6bejmta@isis.luna> (Amit Ramon's message of "Thu, 10 May 2018 17:12:34 +0300")
Amit Ramon <amit.ramon@riseup.net> writes:
> Michael Welsh Duggan <mwd@md5i.com> [2018-05-08 23:19 -0400]:
>
>>I'm not a quail expert, but I looked through a lot of the code recently
>>to try to figure out how to do something else, so maybe I can figure out
>>how to help here.
>
> Thanks, any help is appreciated.
>
>>
>>> First issue
>>>
>>> Assume that the keyboard layout is set to "atari-german" and that the
>>> input method is "Hebrew". When I type C-h I (thus invoking
>>> "describe-input-method"), the drawing of the keyboard layout is
>>> incorrect. The keys that appear in the shifted level, which should be,
>>> in this input method, similar to those in the standard layout, are
>>> actually taken from the current keyboard layout.
>>
>>Okay, let's verify some things. When I type
>>`M-x quail-show-keyboard-layout RET atari-german RET', I get the
>>following:
>>
>>Keyboard layout (keyboard type: atari-german)
>>
>> +----------------------------------------------------------------+
>> | 1! | 2" | 3§ | 4$ | 5% | 6& | 7/ | 8( | 9) | 0= | ß? | '` | #^ |
>> +----------------------------------------------------------------+
>> | qQ | wW | eE | rR | tT | zZ | uU | iI | oO | pP | üÜ | +* |
>> +------------------------------------------------------------+
>> | aA | sS | dD | fF | gG | hH | jJ | kK | lL | öÖ | äÄ | ~| |
>> +--------------------------------------------------------------+
>> | <> | yY | xX | cC | vV | bB | nN | mM | ,; | .: | -_ |
>> +------------------------------------------------------+
>> +-----------------------------+
>> | space bar |
>> +-----------------------------+
>>
>>
>>Is this what you get as well?
>
> Yes.
>
>>Does this match your actual keyboard?
>
> No, but my actual keyboard isn't atari-german -- I gave it just as an
> example. My physical keyboard is standard English QWERTY keyboard. On
> my Linux system I setup a Dvorak layout. I made tests mostly with my
> Dvorak setup[1] (there are footnotes at the end), but because Dvorak
> keyboard layout is not one of Emacs' defined layouts I used
> atari-german for the example.
>
>>> For example, the Hebrew letter TET is on the (standard) y key, and
>>> pressing this key together with shift when Hebrew input method is
>>> active should produce Y. This works fine when typing, but in the map
>>> drawn by "describe-input-method" the letter that appears on this key
>>> in the shifted state is Z, which is what this key does in
>>> "atari-german" layout. There are some other keys not in the right
>>> place - all those that in "atari-german" have a meaning that is
>>> different than the one in the standard layout.
>>
>>Also to verify, the 'y' key is the one to diagonally down and to the
>>right of the 'a' key? Like in the layout above?
>
> Yes.
>
>> When I try to recreate what you are showing, I get the following.
>> Does this match?
>>
>> +----------------------------------------------------------------+
>> | 1! | 2" | 3§ | 4$ | 5% | 6& | 7/ | 8( | 9) | 0( | ß? | '` | ;^ |
>> +----------------------------------------------------------------+
>> | qQ | 'W | קE | רR | אT | טZ | וU | ןI | םO | פP | ]} | [{ |
>> +------------------------------------------------------------+
>> | שA | דS | גD | כF | עG | יH | חJ | לK | ךL | ףÖ | ,Ä | ~| |
>> +--------------------------------------------------------------+
>> | >< | זY | סX | בC | הV | נB | מN | צM | ת> | ץ< | ._ |
>> +------------------------------------------------------+
>> +-----------------------------+
>> | space bar |
>> +-----------------------------+
>>
>
> Yes.
>
>>Finally, if it does match, what should it look like instead?
>
> This is what it should look like:
>
> +----------------------------------------------------------------+
> | 1! | 2@ | 3# | 4$ | 5% | 6^ | 7& | 8* | 9) | 0( | -_ | =+ | `~ |
> +----------------------------------------------------------------+
> | /Q | 'W | קE | רR | אT | טY | וU | ןI | םO | פP | ]} | [{ |
> +------------------------------------------------------------+
> | שA | דS | גD | כF | עG | יH | חJ | לK | ךL | ף: | ," | \| |
> +-----------------------------------------------------------+
> | זZ | סX | בC | הV | נB | מN | צM | ת> | ץ< | .? |
> +-------------------------------------------------+
> +-----------------------------+
> | space bar |
> +-----------------------------+
>
> Most of the differences are in the first shift level.
>
> Note, for example, the location of the "Y" and "Z", and the two keys
> right of the "L". This layout is the standard for a Hebrew keyboard
> layout (the Israeli standard, at least), and this is what a Hebrew
> writer would expect when Hebrew input method is set. (you can get it
> simply if you don't change your keyboard layout -- assuming it is the
> standard one -- and then set input method to Hebrew, and do C-h I.)
>
> The point is that *there are no problems with actual typing* -- you
> press Shift with the key that has the "Z" in your drawing (to remove
> any possible confusion, this is the key that is right below 6 and 7
> and on the center between them), and you'll get "Y".
Strangely, though, that is not what I experience. Here are the
unshifted keys for me, atari-german, hebrew input mode:
+1234567890.(\
׳קראזוןםפ][
שדגכעיחלך>=
טסבהנמצתץ&
and the shifted ones:
\!@;$%~^*)?[|
QWERTZUIOP}{
ASDFGHJKL<@
YXCVBNM><_
There are a few that don't match, but the Y and Z are not two of them.
This is not the case for you?
--
Michael Welsh Duggan
(md5i@md5i.com)
next prev parent reply other threads:[~2018-05-12 4:13 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-05 11:53 Issues with quail.el Amit Ramon
2018-05-07 19:33 ` Eli Zaretskii
2018-05-08 8:41 ` Amit Ramon
2018-05-08 17:28 ` Eli Zaretskii
2018-05-08 19:53 ` Amit Ramon
2018-05-09 3:19 ` Michael Welsh Duggan
2018-05-10 14:12 ` Amit Ramon
2018-05-11 3:18 ` Van L
2018-05-11 16:41 ` Amit Ramon
2018-05-12 4:13 ` Michael Welsh Duggan [this message]
2018-05-12 17:12 ` Amit Ramon
2018-05-12 12:24 ` K. Handa
2018-05-17 12:31 ` K. Handa
2018-05-17 15:41 ` Amit Ramon
2018-05-17 15:44 ` Filipp Gunbin
2018-05-17 18:57 ` Amit Ramon
2018-05-18 14:36 ` K. Handa
2018-05-19 12:01 ` Amit Ramon
2018-05-23 14:27 ` K. Handa
2018-05-27 13:09 ` Amit Ramon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8736yx4ilm.fsf@md5i.com \
--to=mwd@md5i.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.