Problems with abbreviations with non-english keyboards

20 views
Skip to first unread message

Edward K. Ream

unread,
May 6, 2020, 6:20:38 PM5/6/20
to leo-editor
I am finally getting around to #1563. To do this I started a test file with --trace=keys.  This clearly shows what is happening. The problem is what to do next.

In Windows 10 I switched to the German keyboard and typed `alp;;` on my keyboard. I got alpöö In other words, the double semicolons turned into öö.

The ö characters are being delivered to Leo's lowest level key code. There is nothing that any of Leo's follow-on can do.

It's not clear how users of a German keyboard can type semicolons. Presumably there is a way, but I don't know what it is.

I googled "Windows 10 keyboard settings" but didn't come up with anything interesting.  Does anyone have any ideas?

Edward

Mike Hodson

unread,
May 6, 2020, 8:16:29 PM5/6/20
to leo-e...@googlegroups.com
The usual way seems to be a shifted comma and period. I suggest looking at https://en.m.wikipedia.org/wiki/German_keyboard_layout

You're just able to get the key symbols as the OS hands them out, and I presume someone with a German keyboard will utilize it the way they have for years, making the symbols the way their keyboard appears in front of them.

To me this seems to me to be a somewhat mooted point?

Mike


--
You received this message because you are subscribed to the Google Groups "leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/57c6f89a-e08d-4622-a94a-e85ff91d928b%40googlegroups.com.

Edward K. Ream

unread,
May 7, 2020, 5:53:56 AM5/7/20
to leo-editor
On Wed, May 6, 2020 at 7:16 PM Mike Hodson <mys...@gmail.com> wrote:
The usual way seems to be a shifted comma and period.

Thanks for this. Now I see the semicolon.
To me this seems to me to be a somewhat mooted point?

No, the issue is real. With the German keyboard, when I type "alp;;", that is, "alp<shift-comma><shift-comma> I see "alp;;", not the expansion, "@language python".

With a German keyboard in effect, I can now see why abbreviations fail:--trace-keys shows: key-release: Shift ';'.

Presumably the shift modifier ruins the match. It's not clear what to do about this, but now I have something to work with.

Edward
Reply all
Reply to author
Forward
0 new messages