[issue32761] Create IDLE Modern Mac keyset

2021-06-10 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

#18444 is about revising macOS keysets and/or making a new one.  This is about 
the latter.  So closing as duplicate.

--
resolution:  -> duplicate
stage:  -> needs patch
status: open -> closed
superseder:  -> IDLE: Revise Mac OS X key bindings.
versions: +Python 3.11

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32761] Create IDLE Modern Mac keyset

2018-02-08 Thread Ned Deily

Ned Deily  added the comment:

Terry, it would be better to get opinions from others who really use IDLE on 
macOS.  But, FWIW:

- I agree with Raymond that Ctrl-A makes much more sense as the default for 
beginning of line for the reasons he cites.

- Command-A is appropriate for select-all.

- Should the Classic Mac keyset be removed?  Probably

- Designing a more modern macOS keyset is probably still a good idea (but I'm 
not volunteering to do it!)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32761] Create IDLE Modern Mac keyset

2018-02-05 Thread Terry J. Reedy

Terry J. Reedy  added the comment:

Mac key bindings and Shell home method behavior are separate and long-standing 
issues.  They were discussed together in #18444, and this could be considered a 
duplicate thereof.  However, the two issues need to be discussed and solved 
separately.
  
1. The bindings of  and <> on Macs.  The more 
general issue is IDLE key bindings on MacOSX.

Here are the beginning-of-line and select-all bindings in the various keysets. 

>From idlelib/config-keys.def
[IDLE Classic Windows]
beginning-of-line= 
select-all= 

[IDLE Classic Unix]
beginning-of-line= 
select-all= 

[IDLE Modern Unix] # default on *nix, design by Serhiy Storchaka
beginning-of-line = 
select-all = 

[IDLE Classic Mac] # so obsolete that it almost should be removed?
beginning-of-line= 
select-all=

[IDLE Classic OSX]
beginning-of-line = 
select-all = 

I am guessing that Raymond is using a Mac and a customized version of IDLE 
Classic OSX with Control-Key-A added as either *a* or *the* binding of the 
<, in Shell.  Jumping to the physical start of line was 
fixed, at least on *nix and Windows, in #3851.  I remember verifying this.  Yet 
now, on Win 10, the old behavior is back.  So, this is not only a Mac issue and 
this part is a duplicate of #31930.

The underlying issue is the mixing of a read-only prompt and the first line of 
a possibly multiline read-write Python statement in the Shell text widget.  
This also leads to the indent problem and a couple of other minor issues.  In 
retrospect, I consider this mixing a design mistake and I am working on a 
suggestion about fixing it.

--
nosy: +ned.deily
title: IDLE Keymap for Cntl-A -> Create IDLE Modern Mac keyset

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com