Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!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.024 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'anyway.': 0.05; 'filename': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'thats': 0.09; 'window.': 0.09; 'jan': 0.12; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'saved.': 0.16; 'subclass': 0.16; 'thursday,': 0.16; ':-)': 0.16; 'wrote:': 0.18; 'subject:request': 0.19; 'unlike': 0.19; 'memory': 0.22; 'shell': 0.22; 'header:User-Agent:1': 0.23; 'bar.': 0.24; 'config': 0.24; 'fine': 0.24; 'tracker': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'feature': 0.29; 'character': 0.29; 'code': 0.31; 'lines': 0.31; 'requests': 0.31; "skip:' 10": 0.31; 'too.': 0.31; 'invoke': 0.31; 'them?': 0.31; 'option': 0.32; 'regular': 0.32; 'could': 0.34; 'something': 0.35; 'editor': 0.35; 'more,': 0.35; 'but': 0.35; 'there': 0.35; 'idle': 0.36; 'thanks': 0.36; 'similar': 0.36; 'should': 0.36; 'half': 0.37; 'list': 0.37; 'ahead': 0.38; 'saves': 0.38; 'window': 0.38; 'to:addr:python- list': 0.38; 'issue': 0.38; 'pm,': 0.38; 'that,': 0.38; 'does': 0.39; '12,': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'changed': 0.39; 'received:org': 0.40; 'even': 0.60; 'then,': 0.60; 'forum': 0.61; 'name': 0.63; 'soon': 0.63; 'chance': 0.65; 'determine': 0.67; 'believe': 0.68; 'prompt': 0.68; 'saving': 0.69; '2015': 0.84; 'believe,': 0.84; 'message)': 0.84; 'received:fios.verizon.net': 0.84; 'warning.': 0.84; 'enhancement': 0.95 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: idle feature request Date: Thu, 12 Feb 2015 02:17:14 -0500 References: <3bf81ef4-e022-4cd3-88d5-637fbf532a88@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Gmane-NNTP-Posting-Host: pool-98-114-97-173.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 In-Reply-To: <3bf81ef4-e022-4cd3-88d5-637fbf532a88@googlegroups.com> 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: 50 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1423725451 news.xs4all.nl 2905 [2001:888:2000:d::a6]:34370 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:85569 On 2/11/2015 9:48 PM, Rustom Mody wrote: > On Thursday, February 12, 2015 at 7:57:48 AM UTC+5:30, Terry Reedy wrot= e: >> If one saves the shell with 'save as', the filename is added to the >> title bar. If one does something more, the name in bracketed with *s = to >> indicate the the memory buffer has been changed since it was last save= d. >> This is the same as regular edit windows. >> >> However, when one quits, then, unlike a regular edit window, there is = no >> ask-to-save warning. Is this what you want? This would seem reasonab= le >> and likely easy. The Shell window is a subclass of the (base) Editor window. So=20 enhancement 1, invoke ask-to-save after save-as should be easy. Find=20 the current code (grep the message) and determine why it does not work=20 for the shell. Saving the shell is, I believe, rare, and I believe=20 there is half a chance that a person who has saved the shell once will=20 want to do so again. >> (I would, however, not want the prompt when the buffer >> has not been saved -- or this could be a configuration option.) Enhancement 2 would be adding a configuration option to invoke=20 ask-to-save even without save-as. I am sure that this would be harder. > Yeah thats what I want. > In a file-window there is 'ask-to-save' as soon as a single character i= s typed. > I want similar for shell window. > As I said if there is a config option for that, thats best. > But if I have to put in a few lines in my own idle that's fine too=C2=B2= =2E > [BTW I have some other feature requests too. Is this the best forum to = talk of them? And thanks for your work on idle :-) ] Idle-sig is pretty dead, so go ahead here. You do not have to search=20 the tracker if you do not want to. I have a categorized list of all=20 Idle issues on the tracker (with issue numbers) and will look up ideas against that list anyway. --=20 Terry Jan Reedy