[Geany-devel] various prefs warning & use_safe_file_saving
Nick Treleaven
nick.treleaven at xxxxx
Fri Sep 16 11:25:55 UTC 2011
--- On Fri, 16/9/11, Lex Trotman <elextr at gmail.com> wrote:
> > Actually I've changed my mind. First - we've got a
> string freeze planned for this weekend. Second - the problem
> seems to me more that use_safe_file_saving is misleadingly
> named. Even with an opt-in warning, users can still be
> misled.
> >
> > The other two 'dangerous' prefs at least have 'unsafe'
> in the name. An opt-in warning also adds more complexity to
> Geany.
> >
> > So I propose we go ahead with the string freeze
> (assuming there are no other issues) and instead rename
> use_safe_file_saving to something less misleading. We can
> provide compatibility with the old name if the new name key
> doesn't exist.
>
> Renaming to include unsafe is a good idea, it is some
> warning on the
> actual setting, but what exactly?
Something technical that won't make many users enable it naively.
Something like:
use_glib_file_saving
use_atomic_file_saving
save_clobbers_existing_file
I don't mind any of these, anything but 'safe'.
Nick
More information about the Devel
mailing list