py-ask-about-save (Andreas R?hler) 2. Re: py-ask-about-save ( Fran?ois Pinard) 3. Re: py-ask-about-save (Andreas R?hler)
root On Feb 1, 2012, at 7:00 PM, [email protected] wrote: > Send Python-mode mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.python.org/mailman/listinfo/python-mode > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Python-mode digest..." > > > Today's Topics: > > 1. py-ask-about-save (Andreas R?hler) > 2. Re: py-ask-about-save ( Fran?ois Pinard) > 3. Re: py-ask-about-save (Andreas R?hler) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 31 Jan 2012 19:50:58 +0100 > From: Andreas R?hler <[email protected]> > To: [email protected] > Subject: [Python-mode] py-ask-about-save > Message-ID: <[email protected]> > Content-Type: text/plain; charset=ISO-8859-15; format=flowed > > Hi, > > exists a boolean variable > > (defcustom py-ask-about-save t > "If not nil, ask about which buffers to save before executing some code. > Otherwise, all modified buffers are saved without asking." > > ;;;;;;;;;; > > this rather nags me. Saving all buffer unconditional is probably > terrible, OTOH always get questioned by `t' > > Will change the implementation into > > "If not nil, ask about which buffers to save before executing some code. > Otherwise do nothing." > > Opinions? > > Cheers, > > Andreas > > > ------------------------------ > > Message: 2 > Date: Tue, 31 Jan 2012 15:47:11 -0500 > From: [email protected] ( Fran?ois Pinard) > To: Andreas R?hler <[email protected]> > Cc: [email protected] > Subject: Re: [Python-mode] py-ask-about-save > Message-ID: <[email protected]> > Content-Type: text/plain; charset=utf-8 > > Andreas R?hler <[email protected]> writes: > >> (defcustom py-ask-about-save t >> "If not nil, ask about which buffers to save before executing some code. >> Otherwise, all modified buffers are saved without asking." > >> Will change the implementation into > >> "If not nil, ask about which buffers to save before executing some code. >> Otherwise do nothing." > >> Opinions? > > Hi, Andreas, and gang! > > I guess this is inspired from compilation-ask-about-save. It is easier > to remember when alike variables have alike behaviour. > > Some Emacs variables have nil, t and 'ask for a value; you surely have > seen some of them, I do not have an example handy. The behaviour could > be controlled by such a 3-valued variable, yet then, the variable name > should be changed to not be misleading. > > Fran?ois > > > ------------------------------ > > Message: 3 > Date: Wed, 01 Feb 2012 07:18:22 +0100 > From: Andreas R?hler <[email protected]> > To: Fran?ois Pinard <[email protected]> > Cc: [email protected] > Subject: Re: [Python-mode] py-ask-about-save > Message-ID: <[email protected]> > Content-Type: text/plain; charset=UTF-8; format=flowed > > Am 31.01.2012 21:47, schrieb Fran?ois Pinard: >> Andreas R?hler<[email protected]> writes: >> >>> (defcustom py-ask-about-save t >>> "If not nil, ask about which buffers to save before executing some code. >>> Otherwise, all modified buffers are saved without asking." >> >>> Will change the implementation into >> >>> "If not nil, ask about which buffers to save before executing some code. >>> Otherwise do nothing." >> >>> Opinions? >> >> Hi, Andreas, and gang! >> >> I guess this is inspired from compilation-ask-about-save. It is easier >> to remember when alike variables have alike behaviour. >> >> Some Emacs variables have nil, t and 'ask for a value; you surely have >> seen some of them, I do not have an example handy. The behaviour could >> be controlled by such a 3-valued variable, yet then, the variable name >> should be changed to not be misleading. >> >> Fran?ois >> > > Thanks, Fran?ois. Good idea, will look for that. > > Andreas > > > ------------------------------ > > _______________________________________________ > Python-mode mailing list > [email protected] > http://mail.python.org/mailman/listinfo/python-mode > > > End of Python-mode Digest, Vol 92, Issue 1 > ****************************************** _______________________________________________ Python-mode mailing list [email protected] http://mail.python.org/mailman/listinfo/python-mode
