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, python-mode-requ...@python.org wrote: > Send Python-mode mailing list submissions to > python-mode@python.org > > 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 > python-mode-requ...@python.org > > You can reach the person managing the list at > python-mode-ow...@python.org > > 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 <andreas.roeh...@online.de> > To: python-mode@python.org > Subject: [Python-mode] py-ask-about-save > Message-ID: <4f283812.9040...@online.de> > 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: pin...@iro.umontreal.ca ( Fran?ois Pinard) > To: Andreas R?hler <andreas.roeh...@online.de> > Cc: python-mode@python.org > Subject: Re: [Python-mode] py-ask-about-save > Message-ID: <87wr87d2gg....@iro.umontreal.ca> > Content-Type: text/plain; charset=utf-8 > > Andreas R?hler <andreas.roeh...@online.de> 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 <andreas.roeh...@online.de> > To: Fran?ois Pinard <pin...@iro.umontreal.ca> > Cc: python-mode@python.org > Subject: Re: [Python-mode] py-ask-about-save > Message-ID: <4f28d92e.8070...@online.de> > Content-Type: text/plain; charset=UTF-8; format=flowed > > Am 31.01.2012 21:47, schrieb Fran?ois Pinard: >> Andreas R?hler<andreas.roeh...@online.de> 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 > Python-mode@python.org > http://mail.python.org/mailman/listinfo/python-mode > > > End of Python-mode Digest, Vol 92, Issue 1 > ****************************************** _______________________________________________ Python-mode mailing list Python-mode@python.org http://mail.python.org/mailman/listinfo/python-mode