On Wed, Jul 14, 2010 at 11:45:54AM +0200, Pavel Sanda wrote: > Enrico Forestieri wrote: > > So, let's have a poll: > > > > 1) Leave things as they are (need -f to overwrite) > > 2) The main file should always be overwritten > > 3) If no -f switch is given, use preferences settings for overwriting > > as i said i accept both 2 or 3 but will strongly opose to 1 since it not only > changes the behaviour but also make impossible for anybody to reuse old > scripts > without revisiting each of them. > > since its pretty clear that you are strongly against 2 and me against 1 i > propose 3 so we can stop the flamewar.
A fourth option could be using an env var, say LYX_EXPORT_OVERWRITE, with possible values {all,main,none}. This would disentangle the GUI export from the command line export. -- Enrico