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


Groups > comp.lang.python > #17647

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

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!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.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'url:sourceforge': 0.02; 'subject:IDLE': 0.03; 'python': 0.08; ':-(': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 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; 'subject:Mac': 0.16; 'substitutes': 0.16; 'tcl/tk': 0.16; 'url:func': 0.16; 'url:tracker': 0.16; 'workaround': 0.16; 'wrote:': 0.18; 'discard': 0.18; 'modified': 0.18; 'shipped': 0.18; 'seems': 0.20; 'input': 0.22; 'modify': 0.25; "i'm": 0.26; 'tried': 0.27; 'fix': 0.27; 'work.': 0.28; 'idle': 0.29; 'preferences': 0.29; 'worked': 0.29; 'problem': 0.29; 'lines': 0.30; 'characters,': 0.30; 'nope,': 0.30; 'url:detail': 0.30; 'version': 0.32; 'actual': 0.32; "can't": 0.32; "won't": 0.33; 'header:User-Agent:1': 0.33; 'rather': 0.33; 'header:X-Complaints- To:1': 0.33; 'there': 0.33; 'to:addr:python-list': 0.34; 'someone': 0.34; 'keys': 0.34; 'issue': 0.35; 'running': 0.35; 'starting': 0.36; 'subject:with': 0.36; 'charset:us-ascii': 0.37; 'combination': 0.37; 'keyboard': 0.37; 'skip:" 10': 0.37; 'but': 0.37; 'using': 0.38; 'patch': 0.38; 'received:org': 0.38; 'some': 0.38; 'characters': 0.39; 'option': 0.39; 'url:org': 0.39; 'should': 0.39; 'being': 0.39; 'pending': 0.39; 'recommended': 0.39; 'to:addr:python.org': 0.40; 'url:net': 0.60; 'hope': 0.61; 'type': 0.61; 'url:index': 0.62; 'subject.': 0.64; 'french': 0.66; 'url:aid': 0.73; 'url:page': 0.73; 'article': 0.74; 'dead': 0.77; 'url:php': 0.82; '8.5': 0.84; 'composite': 0.84; 'experiment': 0.84; 'sequence:': 0.84; 'url:scripts': 0.84; 'greek': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Ned Deily <nad@acm.org>
Subject Re: Can't get tilde character with IDLE 3.2.2 on French Mac Lion
Date Wed, 21 Dec 2011 01:42:05 -0500
References <franck-6EFD3C.10155219122011@news.free.fr> <mailman.3825.1324322364.27778.python-list@python.org> <franck-FC679D.13562020122011@news.free.fr>
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host 70.44.132.33.res-cmts.sm.ptd.net
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.3904.1324449740.27778.python-list@python.org> (permalink)
Lines 46
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1324449740 news.xs4all.nl 6920 [2001:888:2000:d::a6]:37280
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:17647

Show key headers only | View raw


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.

One approach that *might* work is to create a modified French keyboard 
layout that substitutes tilde for some other key combination without 
using a dead key (Option-N is a dead key).  Ukelele.app seems to be the 
most frequently recommended keyboard layout editor for OS X and comes 
with extensive documentation.  I don't have time right now to experiment 
with it but I would be interested to hear if someone is able to make it 
work.

http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=ukelele

-- 
 Ned Deily,
 nad@acm.org

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


Thread

Can't get tilde character with IDLE 3.2.2 on French Mac Lion Franck Ditter <franck@ditter.org> - 2011-12-19 10:15 +0100
  Re: Can't get tilde character with IDLE 3.2.2 on French Mac Lion Ned Deily <nad@acm.org> - 2011-12-19 14:19 -0500
    Re: Can't get tilde character with IDLE 3.2.2 on French Mac Lion Franck Ditter <franck@ditter.org> - 2011-12-20 13:56 +0100
      Re: Can't get tilde character with IDLE 3.2.2 on French Mac Lion Ned Deily <nad@acm.org> - 2011-12-21 01:42 -0500
      [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