Jean-Marc Lasgouttes wrote:

> Since Georg recent patch to fix gui-less operation, it is not possible
> anymore to do benchmarking with something like
> 
> lyx -x 'command-sequence repeat 100 screen-down ; lyx-quit' UserGuide.lyx
> 
> This is because parse_execute in lyx_main.C sets is_gui to false.
> Georg, was this something we could not avoid? I understand that this
> usage of -x is not the most useful, but I needed it in this particular
> instance...

I set it to false because it seemed that this was wanted, but it is not
needed. We can of course decide that -x wants a gui. The problem is that
there are some cases where -x needs a gui and others where it does not.
Does it hurt to use a gui even if none is needed? Then we could revert that
part of the change, the bug fix was at another place.


Georg

Reply via email to