Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!lightspeed!lightspeed.eweka.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'interfaces': 0.04; 'subject:IDLE': 0.04; 'configure': 0.05; 'granted,': 0.07; 'bug.': 0.09; 'function,': 0.09; 'git': 0.09; 'received:151': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; '-rf': 0.16; 'emanuele': 0.16; 'keys:': 0.16; 'personally,': 0.16; 'pressing': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wanted.': 0.16; ':-)': 0.16; 'library': 0.18; 'command': 0.22; 'header:User-Agent:1': 0.23; 'commands,': 0.24; 'instance,': 0.24; "i've": 0.25; 'skip:" 20': 0.27; 'header:X-Complaints-To:1': 0.27; 'wondering': 0.29; 'chris': 0.29; 'subject:) ': 0.29; 'especially': 0.30; "i'm": 0.30; 'writes:': 0.31; 'but': 0.35; 'similar': 0.36; 'half': 0.37; 'so,': 0.37; 'to:addr:python-list': 0.38; 'extremely': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'even': 0.60; 'che': 0.60; 'commands': 0.60; 'up,': 0.60; 'times': 0.62; "you'll": 0.62; 'subject:more': 0.64; 'different': 0.65; 'effectively': 0.66; 'default': 0.69; 'press': 0.70; 'repeat': 0.74; './configure': 0.84; 'commands.': 0.84; 'quando': 0.84; 'take,': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Lele Gaifax Subject: Re: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"! Date: Mon, 21 Jul 2014 17:57:22 +0200 Organization: Nautilus Entertainments References: <232acf45-096d-466a-aa75-06d8c378b128@googlegroups.com> <53cc376e$0$2898$e4fe514c@news.xs4all.nl> <53926733-5e65-482f-96bc-0171c6a93d59@googlegroups.com> <4882fd4d-b772-4ebb-8aaa-0c20be6051b6@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: 151.62.51.3 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux) Cancel-Lock: sha1:Vf+jup3eSQv1Qcy8VXt7qyyDEI4= X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 26 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1405958264 news.xs4all.nl 2942 [2001:888:2000:d::a6]:32849 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 4701 X-Received-Body-CRC: 1489369354 Xref: csiph.com comp.lang.python:74924 Chris Angelico writes: > Take, for instance, the behaviour of Windows's cmd.exe > editing keys: enter three commands, then up-arrow three times and hit > enter, then press down, enter, down, enter. You'll repeat the three > commands. In other interfaces (eg GNU readline), you'd do the same job > by pressing up, up, up, enter each time. Personally, I find the > cmd.exe behaviour extremely surprising, especially when I've been > working with some very similar commands (imagine: ./configure > some_bunch_of_args; make; some_command_to_test; rm -rf *; git checkout > HEAD - then repeat with a different set of configure arguments), and I > end up "stuck half way up command history", wondering why I'm not > seeing what I wanted. Can be extremely awkward. But even so, I don't > call this a bug. Granted, the readline library exposes a "operate-and-get-next" function, by default bound to \C-o, with the same behaviour as the cmd.exe one. I find it very handy in the scenario you picted. So again, "feature" and "bug" may be effectively subjective :-) ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. lele@metapensiero.it | -- Fortunato Depero, 1929.