<div dir="ltr"><div>Hi Gerald<br></div><div><br></div><div>Thank you for your answer.</div><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 19, 2023 at 9:05 AM Gerald Klix <<a href="mailto:cuis.01@klix.ch">cuis.01@klix.ch</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Hannes,<br>
<br>
I am glad that this feature works after some updates.<br>
<br>
Just to avoid any confusion:<br>
By 'IPA' you "International Phonetic Alphabet"?<br></blockquote><div><br></div><div>Yes,</div><div><a href="https://www.internationalphoneticalphabet.org/">https://www.internationalphoneticalphabet.org/</a></div><div>
It consists of 107 letters, 52 diacritics, and four prosodic marks. <br></div><div>All languages of the world for example use as vowels a subset of the vowel inventory given here</div><div><a href="https://www.internationalphoneticalphabet.org/ipa-charts/vowels/">https://www.internationalphoneticalphabet.org/ipa-charts/vowels/</a> <br></div><div><br></div><div>And this is a facility to compose an expression by clicking on the symbols</div><div><a href="https://www.internationalphoneticalphabet.org/ipa-charts/ipa-symbols-chart-complete/">https://www.internationalphoneticalphabet.org/ipa-charts/ipa-symbols-chart-complete/</a></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
What you describe is some "optimized" keyboard handling,<br>
which reminds me a bit of a virtual smartphone or tablet<br>
keyboard. I presume a separate (extension-)package for<br>
this feature is best. Personally I dislike this compose key stuff.<br>
I strongly prefer either completely stateless UIs like Cuis'<br>
or statefull interfaces done right, like vi or vim.<br>
Anything in-between is just confusing.<br>
In other words:<br>
I don't care whether the sun rises in the east or the west,<br>
but it should be the same all over the globe :)<br>
<br></blockquote><div>Generally yes. However the backslash key is actually used as a 'compose key' in your solution. And why not have one or two more 'compose' keys in case of need? But as you write these things should go into one or more extension packages for people who want this
to choose from. <br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
There is also a non-integrated change-set<br>
for code completion of \<latex symbol> input.<br>
(<a href="https://lists.cuis.st/mailman/archives/cuis-dev/2023-July/007876.html" rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/archives/cuis-dev/2023-July/007876.html</a>)<br>
</blockquote><div><br></div><div>
<div>
<pre>>><i> I also thought about something like '\+UNICODE_NAME' where
</i>>><i> UNICODE_NAME is
</i>>><i> taken from UnicodeData.txt: '\, so one write
</i>>><i> "\+LATIN_CAPITAL_LETTER_A_WITH_TILDE" and it will be replaced with "Ã".
</i>>><i> For such a form of input, completion would make sense;
</i>>><i> actually it is unusable without completion.
</i>>><i> Of course, this should not be in the standard image,
</i>>><i> because it will consume a lot of memory.</i></pre>
</div><div></div>
</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I integrated this change into Haver and discovered that I use it<br>
maybe once or two times a month. My current impression<br>
is, that this sort of code completion is of little use, albeit<br>
I promised to fix its issues and re-post it.<br>
<br></blockquote><div>I would like to see this as a separate package! I think it is useful if you want access to a rarely used Unicode symbol such as the IPA symbol for 'advanced tongue root' even if this is only a few times in a month. Why do you think that code completion is of little use?<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Maybe it makes sense, to add a complete solution,<br>
including Unicode input with symbolic names and some<br>
sort of character table in, the aforementioned<br>
and yet to be written extension package.<br>
<br></blockquote><div><br></div><div>Yes, I think this makes sense to make full use of Unicode. In fact a search/autocompletion facility with the standard character names from the Unicode table gives people access to this huge inventory of characters. A solution should rely on this standard. As you wrote it should be in a separate package. Memory is not so much a problem if people want to work with an app which makes intensive use of Non-ASCII characters.</div><div><br></div><div>Best regards</div><div>Hannes<br></div><div><br></div> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
On 10/16/23 9:02 PM, H. Hirzel wrote:<br>
> Hi Gerald<br>
><br>
> Thank you for checking the Unicode input in Cuis. In the meantime I also<br>
> installed the latest version of Cuis. So<br>
><br>
> \+161<space><br>
><br>
> works fine for Unicode input.<br>
><br>
> You asked for my IPA requirements. I have started preparing a list and will<br>
> post it when ready. It will also include characters from the Latin Extended<br>
> area for orthography purposes for many languages.<br></blockquote><div><br></div><div>If we have a full solution for the IPA then what remains is an easy way of keyboarding quickly non-ASCII letters on a keyboard only supporting ASCII or not fitting the language you want to type, e.g. French, German or a language from Eastern Europe on an UK/US keyboard.</div><div><br></div><div>I see Szabolcs Komáromi working on an interesting solution.<br>
</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
><br>
> The <backslash> key acts as a compose character in this case[1].<br>
> We could also use other compose keys in addition.<br>
> For example after a semicolon in nearly all cases there will be a space. So<br>
> <semicolon><ASCII character> gives 25 more options. A comma is also a<br>
> candidate. <comma><c> could be used for c cedilla. Even the letter q may<br>
> serve this purpose as with only very few exceptions there will always be a<br>
> 'u' following it.<br>
><br>
> I discovered<br>
> UnicodeCodePoint namedCharactersMap<br>
><br>
> I did<br>
> UnicodeCodePoint namedCharactersMap at: #openo put: $ɔ<br>
> UnicodeCodePoint namedCharactersMap at: #o put: $ɔ<br>
><br>
> this now allows me to have a new combinartion<br>
> \openo<space> The space is still necessary and it needs to followed by<br>
> a backspace.<br>
> \o<br>
><br>
> So this is easily extendable.<br>
><br>
> You gave the link<br>
> <a href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev/commit/2c52852e716348f6350a461b0081ebe59971674d" rel="noreferrer" target="_blank">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev/commit/2c52852e716348f6350a461b0081ebe59971674d</a><br>
> which contains method<br>
> Editor>> normalCharacter: aKeyboardEvent<br>
><br>
> I pasted the code into DrGro 23.06 and it made it work! So it seems that<br>
> all the input logic is contained in this method and the data is in the<br>
> dictionary UnicodeCodePoint namedCharactersMap. Is this so?<br>
><br>
> I am yet to understand the full logic of this #normalCharacter: method. The<br>
> method also seem to deal with diacritical marks [2] but I did not manage to<br>
> add diacritical marks on top of vowels.<br>
><br>
> Kind regards<br>
> Hannes<br>
><br>
><br>
><br>
> [1] <a href="https://en.wikipedia.org/wiki/Compose_key" rel="noreferrer" target="_blank">https://en.wikipedia.org/wiki/Compose_key</a><br>
> [2] Of main interest are acute, gravis, diaresis (trema) e.g. for Umlaut in<br>
> German and also for writing in French, and nasalization. This is on a UK or<br>
> US keyboard. <a href="https://en.wikipedia.org/wiki/Acute_accent" rel="noreferrer" target="_blank">https://en.wikipedia.org/wiki/Acute_accent</a> gives a list of<br>
> some languages using it.<br>
><br>
<br>
</blockquote></div></div>