On Tuesday 22 April 2003 05:14, Mikhael Goikhman wrote: > The function above only works in the current cvs, there was one problem. > If you want to use this with 2.5.2+ versions instead of cvs, then the "." > function above should be defined as the following instead: > > DestroyFunc . > AddToFunc . > + I SendToModule FvwmPerl eval preprocess({ 'command' => 1 } , q<$*>)
That's very nice. There are some problems though: o Your command conflicts with preprocessing. However, this can probably be solved by using different quote characters for preprocessing or by turning off preprocessing. After all, with "." I can move most stuff that needs to be preprocessed into init functions. o The following configuration fails silently (i.e. FvwmPager doesn't start and there is no error message): AddToFunc . + I SendToModule FvwmPerl eval preprocess({ 'command' => 1 } , q<$*>) AddToFunc StartFunction + I Module FvwmPerl + I . Module FvwmPager 0 %{ 5 }% If the above problems can be eliminated I think it is a very good idea to put this in the FAQ. Please add some example like the ones above. Also make sure that people know that they have to start the FvwmPerl module: AddToFunc StartFunction + I Module FvwmPerl Felix -- To contact me personally don't reply but send email to felix DOT klee AT inka DOT de -- Visit the official FVWM web page at <URL: http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]