[squeak-dev] Merge Request: autoEncloseBeforeSpace.cs

David T. Lewis lewis at mail.msen.com
Thu Dec 23 00:51:28 UTC 2021


I am not following this discussion closely, mainly because I do
not use keyboard shortcuts very much. However, it strikes me that
we have two competing discussions going on here, and I suspect
that we may be "talking past each other".

On Wed, Dec 22, 2021 at 10:04:45PM +0100, Jakob Reschke wrote:
> 
> Am Mi., 22. Dez. 2021 um 19:28 Uhr schrieb tim Rowledge <tim at rowledge.org>:
> > If I want to enclose a block of text I expect to do cmd-[. If I want
> to remove the [] from an enclosed block I expect to select the text
> inside the [] and hit cmd-[
>

Discussion theme #1: Keyboard shortcuts should not do strange and
unexpected things. Expectations vary, but muscle memory is important.
 
> Just a remark: out of the box, Cmd-[ is not accessible on a German
> Windows-type quertz keyboard because we have to use Alt Gr (which is
> equivalent to Ctrl+Alt) + 8 to type [ in the first place, so all
> modifiers that could possibly map to Cmd are already held down. Same
> issue with curly braces.
> 

Dicussion theme #2: Keyboard shortcuts should behave in sensible ways
for international keyboards, not just for US or British layouts.

It is not easy to address theme #2 without causing problems for theme #1.

> Jakob
> 
> PS. For what it's worth, I always enable auto enclose and enclose
> selection, as well as Autocompletion.
>

And I always turn them off right away, which is why I probably should
not be commenting on this thread ;-)

Dave
 


More information about the Squeak-dev mailing list