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


Groups > comp.lang.python > #85569

Re: idle feature request

From Terry Reedy <tjreedy@udel.edu>
Subject Re: idle feature request
Date 2015-02-12 02:17 -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>
Newsgroups comp.lang.python
Message-ID <mailman.18683.1423725451.18130.python-list@python.org> (permalink)

Show all headers | 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