On Mon, 17 Feb 2003, Angus Leeming wrote: > Davor Cengija wrote: > > Thanks for the affort, Angus, I already have something like that. > > > > However, a default setting for ERT's in Preferences would be more > > than useful. I don't know if the developers would like it, but I > > surely would. > > I think that I can say definitively that that won't happen. 'Inlined' > is good only for short snippets of ERT. We couldn't allow it to be > the default. Anyway, you have your script, so what's the problem ;-)
If I may say, there shouldn't be any problem with adding an _option_ in the preferences dialog such as 'New ERT default state' -> inlined/expanded. The sed method is fine for reconverting an existing document, but for a person who _knows_ that 90% of her ERT use is ok with inlined insets, it's a bit annoying to have to manually close each new one. I happen to use ERT a fair bit for small things (and almost never for big stuff), so I'd love to have such an option. It's fine if the default is 'Expanded', we are simply talking about a user-level option for the state of newly created ERTs. Cheers, f.