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


Groups > comp.lang.python > #85569

Re: idle feature request

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 <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.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 <tjreedy@udel.edu>
Subject Re: idle feature request
Date Thu, 12 Feb 2015 02:17:14 -0500
References <f96ffbb6-127f-41a7-a0d9-59efd30aea2d@googlegroups.com> <mbg5b7$hj4$1@ger.gmane.org> <mailman.18675.1423708056.18130.python-list@python.org> <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 <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.18683.1423725451.18130.python-list@python.org> (permalink)
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

Show key headers only | View raw


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 wrote:

>> 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 saved.
>>    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 reasonable
>> and likely easy.

The Shell window is a subclass of the (base) Editor window.  So 
enhancement 1, invoke ask-to-save after save-as should be easy.  Find 
the current code (grep the message) and determine why it does not work 
for the shell.  Saving the shell is, I believe, rare, and I believe 
there is half a chance that a person who has saved the shell once will 
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 
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 is 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².

> [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 
the tracker if you do not want to.  I have a categorized list of all 
Idle issues on the tracker (with issue numbers) and will look up ideas
against that list anyway.

-- 
Terry Jan Reedy

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


Thread

idle feature request Rustom Mody <rustompmody@gmail.com> - 2015-02-11 05:11 -0800
  Re: idle feature request Fabien <fabien.maussion@gmail.com> - 2015-02-11 14:20 +0100
    Re: idle feature request Rustom Mody <rustompmody@gmail.com> - 2015-02-11 05:29 -0800
      Re: idle feature request Fabien <fabien.maussion@gmail.com> - 2015-02-11 14:48 +0100
  Re: idle feature request Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-02-11 18:00 +0000
  Re: idle feature request Terry Reedy <tjreedy@udel.edu> - 2015-02-11 21:27 -0500
    Re: idle feature request Rustom Mody <rustompmody@gmail.com> - 2015-02-11 18:48 -0800
      Re: idle feature request Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-02-12 04:48 +0000
      Re: idle feature request Terry Reedy <tjreedy@udel.edu> - 2015-02-12 02:17 -0500
  Re: idle feature request Chris Angelico <rosuav@gmail.com> - 2015-02-12 14:05 +1100

csiph-web