Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #21209

[FIXED] Re: Can't get tilde character with IDLE 3.2.2 on French Mac Lion

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'url:sourceforge': 0.02; 'subject:IDLE': 0.03; '*not*': 0.05; 'nasty': 0.07; 'python': 0.08; ':-(': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'url:activestate': 0.09; 'url:mac': 0.09; 'method.': 0.15; 'typing': 0.15; '"space"': 0.16; 'fix,': 0.16; 'from:addr:acm.org': 0.16; 'lion': 0.16; 'previously,': 0.16; 'pythons': 0.16; 'robert,': 0.16; 'subject:Mac': 0.16; 'tcl/tk': 0.16; 'url:func': 0.16; 'url:tracker': 0.16; 'workaround': 0.16; 'subject:] ': 0.18; 'wrote:': 0.18; 'discard': 0.18; 'shipped': 0.18; 'appears': 0.19; 'seems': 0.20; 'input': 0.22; 'fix': 0.25; 'modify': 0.25; 'tried': 0.27; 'kevin': 0.28; "i'm": 0.28; 'idle': 0.29; 'preferences': 0.29; 'worked': 0.29; 'problem': 0.29; 'lines': 0.30; 'handling': 0.30; 'characters,': 0.30; 'followup': 0.30; 'nope,': 0.30; 'url:detail': 0.30; 'version': 0.32; 'thread': 0.32; 'url:downloads': 0.32; 'thanks': 0.32; 'actual': 0.32; 'there': 0.33; "won't": 0.33; "can't": 0.33; 'header:User- Agent:1': 0.33; 'header:X-Complaints-To:1': 0.34; 'rather': 0.34; 'running': 0.34; 'keys': 0.34; 'problem.': 0.35; 'to:addr:python- list': 0.35; 'subject:[': 0.35; 'url:python': 0.35; 'install': 0.35; 'starting': 0.36; 'received:org': 0.36; 'issue': 0.37; 'keyboard': 0.37; 'but': 0.37; 'charset:us-ascii': 0.37; 'skip:" 10': 0.37; 'similar': 0.37; 'using': 0.37; 'subject:with': 0.37; 'patch': 0.38; 'should': 0.38; 'problems': 0.38; 'characters': 0.39; 'url:org': 0.39; 'option': 0.39; 'pending': 0.39; 'being': 0.40; 'to:addr:python.org': 0.40; 'release': 0.40; 'type': 0.61; 'more': 0.61; 'hope': 0.61; 'details': 0.64; 'french': 0.66; 'here:': 0.67; 'addressing': 0.67; 'subject.': 0.68; 'u.s.': 0.68; 'url:aid': 0.73; 'article': 0.73; 'url:php': 0.81; '10.6': 0.84; '8.5': 0.84; 'received:204.14': 0.84; 'sequence:': 0.84; 'composite': 0.91; 'greek': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Ned Deily <nad@acm.org>
Subject [FIXED] Re: Can't get tilde character with IDLE 3.2.2 on French Mac Lion
Date Sun, 04 Mar 2012 17:41:50 -0800
References <franck-6EFD3C.10155219122011@news.free.fr> <mailman.3825.1324322364.27778.python-list@python.org> <franck-FC679D.13562020122011@news.free.fr> <nad-D24D39.01420521122011@news.gmane.org>
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host 204.14.154.212
User-Agent MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.389.1330911727.3037.python-list@python.org> (permalink)
Lines 61
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1330911727 news.xs4all.nl 6990 [2001:888:2000:d::a6]:35281
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:21209

Show key headers only | View raw


A followup to a thread in 2011-12.

In article <nad-D24D39.01420521122011@news.gmane.org>,
 Ned Deily <nad@acm.org> wrote:
> In article <franck-FC679D.13562020122011@news.free.fr>,
>  Franck Ditter <franck@ditter.org> wrote:
> > In article <mailman.3825.1324322364.27778.python-list@python.org>,
> >  Ned Deily <nad@acm.org> wrote:
> > > In article <franck-6EFD3C.10155219122011@news.free.fr>,
> > >  Franck Ditter <franck@ditter.org> wrote:
> > > > All is in the subject. I'm starting to use Python with Idle 3.2.2
> > > > on MacOS-X Lion (French). I can't get "Option-N space" to provide 
> > > > the ~ char.
> > > > I tried to go into the Keys preferences but I can't find "Option-N 
> > > > space"
> > > > to modify its meaning. Its actual behavior is to merge lines of a 
> > > > paragraph.
> > > You are likely running into a current problem in the OS X Cocoa version 
> > > of Tcl/Tk 8.5 as included with Lion and as shipped by ActiveState.  
> > > Previously, if you tried to type composite characters, like Option N, 
> > > the Cocoa Tcl/Tk would crash.  Pending a real fix, a patch was made to 
> > > Tcl/Tk 8.5 to discard composite characters rather than crash.  You 
> > > should be able to get a tilde by using the post-composite keyboard 
> > > sequence:  try typing "space" followed by "Shift-Option-N".
> > > 
> > > http://sourceforge.net/tracker/index.php?func=detail&aid=2907388&group_id=
> > > 12
> > > 997&atid=112997
> > Nope, "space" followed by "Shift-Option-N" gives a greek iota...
> > I tried other combinations, unsuccessfully.
> > IDLE 3 (French) seems to be unusable as we use many ~ in web applications 
> > :-(
> > Should we hope a fix soon, or leave IDLE ?
> 
> Yes, I see now that that won't work with the French input method.  
> Unfortunately, there is nothing that IDLE or Python can do to workaround 
> the issue as the problem is in Cocoa Tcl/Tk and I don't know that any 
> fix is being worked on.

Good news!  A fix for Cocoa Tcl/Tk 8.5 for improved handling of Mac OS X 
input methods was recently applied and has now been released in the 
latest ActiveState Tcl release (8.5.11.1) available here:

    http://www.activestate.com/activetcl/downloads

It appears to fix the tilde problem and other similar problems with 
composite characters, like Option-U + vowel to form "umlauted" vowels in 
the U.S. input method.  Many thanks to Adrian Robert, Kevin Walzer, and 
the ActiveState team for addressing this nasty problem.

If you install ActiveState Tcl 8.5.x, it will automatically be used by 
the python.org 2.7.x, 3.2.x, and 3.3.x 64-bit/32-bit Pythons for OS X 
10.6 and 10.7.  It will *not* be used by the Apple-supplied system 
Pythons or by 32-bit-only python.org Pythons.   More details here:

    http://www.python.org/download/mac/tcltk/

-- 
 Ned Deily,
 nad@acm.org

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

[FIXED] Re: Can't get tilde character with IDLE 3.2.2 on French Mac Lion Ned Deily <nad@acm.org> - 2012-03-04 17:41 -0800

csiph-web