Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'modified': 0.07; 'classes.': 0.09; 'lawrence': 0.09; 'lost.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'window.': 0.09; 'python': 0.11; 'bug': 0.12; 'language.': 0.14; 'context:': 0.16; 'idle.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'language': 0.16; 'wrote:': 0.18; 'subject:request': 0.19; 'shell': 0.22; 'header:User- Agent:1': 0.23; 'typical': 0.24; 'tracker': 0.26; 'header:X -Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'feature': 0.29; 'patch': 0.29; 'raise': 0.29; "doesn't": 0.30; "skip:' 10": 0.31; 'usually': 0.31; 'file': 0.32; 'class': 0.32; 'run': 0.32; 'sources': 0.33; 'could': 0.34; 'one,': 0.35; 'but': 0.35; 'there': 0.35; 'idle': 0.36; 'interaction': 0.36; 'to:addr:python- list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'most': 0.60; 'save': 0.62; 'our': 0.64; 'become': 0.64; 'taking': 0.65; 'great': 0.65; 'finish': 0.65; 'charset:windows-1252': 0.65; 'hand': 0.80; 'enhancement': 0.95 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: idle feature request Date: Wed, 11 Feb 2015 18:00:01 +0000 References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-92-24-222-48.ppp.as43234.net User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 In-Reply-To: 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: 28 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1423677617 news.xs4all.nl 2956 [2001:888:2000:d::a6]:47866 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:85544 On 11/02/2015 13:11, Rustom Mody wrote: > Context: > I am using idle for taking python classes. > > Finish the class and run out usually in a hurry and forget to save the > idle interaction window. Would like to save it so that I can mail it to the students. > > In emacs I could set a hook to make arbitrary 'buffers' like the python-idle > shell become 'saving-buffers' like typical file buffers. > ie in emacs like most other editors, a modified file is ask-to-save > The same can be setup for other (non-file) buffers like a python interaction shell > > Can I do the same for idle. > > [Note it would be great to have this feature in idle but I am only looking for > a hand in where in the idle sources I an fudge a patch for my own use > ] > If there isn't an enhancement request on the bug tracker for this please raise one, that way this doesn't get lost. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence