Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2a.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.013 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:Python': 0.06; 'versions,': 0.07; 'bug.': 0.09; 'cursor': 0.09; 'feature,': 0.09; 'insertion': 0.09; 'consistency.': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'seems': 0.21; 'command': 0.22; 'shell': 0.22; 'environment': 0.24; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'appear': 0.29; 'chris': 0.29; 'feature': 0.29; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'disable': 0.31; 'beginning': 0.33; "i'd": 0.34; "can't": 0.35; 'case,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'useful': 0.36; 'should': 0.36; 'to:addr:python-list': 0.38; 'does': 0.39; 'moving': 0.39; 'to:addr:python.org': 0.39; 'between': 0.67; 'prompt': 0.68; 'home': 0.69; 'press': 0.70; 'jul': 0.74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=mu5xTYLFW41mshXEkts8z8lhH2Qe1TiNwj/kfaaNJrk=; b=fBU1361nCoiV1Vg3NG8wqUDESxGfSSyxull37LrKVzrWrEtvYfhwuhpog48y5VQ3kk ogTdUlaYpbSr/h57WmSGWVctv7bqcbi0RlAWKKmzKefwMrvdLHTO/Ar5uoE0vt07vwFK LmDljell2LfoZY28O+YBbmA72K8ISL79CaYRDD2GIGgSPJoQB4BASDK52BYIFrdOzaGL Z+fZb67sEClEpK7GpovutdyjWNXhXTXO5m7HsPhEqFY0J28EklukARvhKfxYOhRAWVem EyqqUMdgQpJl91S7fQk78JMeKuT4yK2J6PPNpNs+VeXaxr8vA3MnV0fYNO1aCI1BC3oX dzfw== X-Received: by 10.70.100.34 with SMTP id ev2mr13644943pdb.81.1405792869777; Sat, 19 Jul 2014 11:01:09 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <87zjga4j4v.fsf@elektro.pacujo.net> <53c57bae$0$9505$c3e8da3$5496439d@news.astraweb.com> <87iomy4ciy.fsf@elektro.pacujo.net> <53c5f6dc$0$9505$c3e8da3$5496439d@news.astraweb.com> <87egxl4zq8.fsf@elektro.pacujo.net> <53c73ff0$0$29897$c3e8da3$5496439d@news.astraweb.com> <9ef930a0-5a41-4a20-a13a-003c9e8246fe@googlegroups.com> <9b5557e3-45ea-4d3b-81cd-90d69322c556@googlegroups.com> From: Ian Kelly Date: Sat, 19 Jul 2014 12:00:29 -0600 Subject: Re: Python 3 is killing Python To: Python Content-Type: text/plain; charset=UTF-8 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: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1405792879 news.xs4all.nl 2882 [2001:888:2000:d::a6]:47655 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:74824 On Sat, Jul 19, 2014 at 10:41 AM, Chris Angelico wrote: >> However, a *bare* HOME_KEY press is placing the insertion >> cursor *BEHIND* the prompt of the current line. In a shell >> environment, you never want to be *BEHIND* the command >> prompt. > > I don't know about the old versions, but in 3.4, it seems to be set so > the Home key toggles between the beginning of the code and the > beginning of the line. Seems a useful feature, although I can > understand if you'd want to disable it and set the Home key to only > ever go to the beginning of code. But that's a configuration question; > this does not appear to be a bug. I'd say that moving the cursor to a position where you can't type is a bug. In that case, "beginning of the line" should be understood to be after the prompt. I see the use for it in an editing environment (I have an Emacs macro that does the same thing), but I don't really see the point of having the same feature in the shell other than for harmless consistency.