> If applied, LyX is able to read files and export to one of the usual
> formats without clicking around.
>
> Far from perfect (it still pops up the GUI, some duplicated code), but
>
> lyx file.lyx --export latex
>
> seems to work (assuming your X is running of course).
>
> PS: Is there a one-to-one correspondence between mini-buffers and
> anything else?
There is a one-to-one correspondance between minibuffers and
LyXView. Each view has a mini-buffer, and each minibuffer belongs
to one LyXView.
I read your patch, and I did not like the duplication of the
dispatch stuff. I would prefer this feature to work with the
original dispatcher of LyXFunc. Maybe you could do some work
to loosen the immediate dependencies of LyXFunc, and then
get a more clean patch?
(Or is it called LyXAction these days? I forget...)
But keep up the good work! Just make sure you
won't loose your job ;-)
Greets,
Asger