> > I think we want to make this more general. A command switch --export
> > should perhaps be --function instead
> >
> > lyx --function "buffer-export html"
> >
> > or similar so that we can use the same code for all lyx-funcs.
>
> OK. But I'd suggest making --export foo == --function "buffer-export foo",
> as it's easier to remember and explain.
>
> -Amir
>
Ups, I got confused since I did not receive Lars' mail.
To Lars: Of course this should me made more general, and there is
already a --execute command line option that is intended to do that.
Since this goes directly down to the new Buffer::Dispatch you will
get only buffer functionality that is already moved down there. In
the cleaned up patch this is the 'buffer-export' function only. But I am
fairly sure that this will change.
To Amir: Of course often used commands should get simple aliases, and in
fact --export foo translates directly to --execute "buffer-export foo"
already.
Maybe I should have stressed this a bit more in my 'announcement'...
So cheer up, boys, and ask Santa for something else ;-)
Andre'
--
Andre' Poenitz ...................... [EMAIL PROTECTED]