Thanks Richard,

I just filed this as bugzilla "bug" 3501. It's assigned to Jean-Marc 
Lasgouttes. 

Jean-Marc -- if I can help in any way I can help, please let me know. I can 
compile 1.4.3 on my machine (although it takes forever and a day -- 15 
minutes from scratch), I found the code that does the reconfigure, and found 
the code that does the -x.

I can write a Reconfigure_and_exit() in lyx_cb.C, add an 
LFUN_RECONFIG_AND_EXIT in lyxfunc.C and LyXAction.C, with the latter invoking 
on -x reconfig_and_exit or whatever you think is best. The remaining problem 
is turning the gui off --  parse_execute() does not set is_gui to false. 
Perhaps a brand new command line argument would be in order, unless the new 
Reconfigure_and_exit() can somehow turn it off, or an ugly case statement is 
put in parse_execute().

Anyway, I don't have the latest source code, but perhaps I can help in some 
minor way.

Thanks

SteveT

On Monday 23 April 2007 16:06, Richard Heck wrote:
> Just go to bugzilla.lyx.org. You'll need to establish an account---this
> is trivial---and then you can log in and file the bug. If you want to
> call it an "enhancement", you'll have that option.
>
> rh
>
> Steve Litt wrote:
> > On Monday 23 April 2007 14:21, José Matos wrote:
> >> On Sunday 22 April 2007 10:43:25 pm Steve Litt wrote:
> >>> I use Vim for authoring LaTeX (or LyX layouts), and I make a
> >>> compile->display shellscript to see the results. The fact that you must
> >>> reconfigure LyX every time, which consumes enormous time. Perhaps in a
> >>> future version the developers could include a reconfigure option,
> >>> callable from lyx -x, that would not display the "you need to restart
> >>> LyX" dialog box, and instead simply reconfigure and then exit LyX. In
> >>> other words, instead of:
> >>>
> >>> lyx -x reconfigure
> >>>
> >>> perhaps they could have an option like:
> >>>
> >>> lyx -x reconfigure-and-exit
> >>>
> >>> That would save lots of people lots of time, and could be comfortably
> >>> inserted into a shellscript.
> >>
> >>   Steve, have you filled any bugzilla entry about this?
> >>
> >>   If not this is a bug (to me) and it would interesting to have it
> >> archived in a place where is not forgotten so that it can be fixed. :-)
> >
> > Thanks José,
> >
> > It's not a bug -- it's a feature request, and probably a fairly easy one
> > to code. I've never used Bugzilla before -- I just asked for something on
> > lyx-users, and magically it happened.
> >
> > How would I fill out a bugzilla report on this?

Reply via email to