FVWM: Trying to understand fvwm function execution

2012-02-07 Thread Chris Siebenmann
I feel like I'm missing some important bits about how fvwm handles functions. I'm trying to write a function that's fed a window name and has following goals. First, it only operates on terminal windows. Then: - if no (terminal) window by that name exists, it should do nothing. - if the currentl

Re: FVWM: Trying to understand fvwm function execution

2012-02-07 Thread Thomas Adam
On Tue, Feb 07, 2012 at 03:41:22PM -0500, Chris Siebenmann wrote: > I feel like I'm missing some important bits about how fvwm handles > functions. > > I'm trying to write a function that's fed a window name and has > following goals. First, it only operates on terminal windows. > Then: > - if n

Re: FVWM: Trying to understand fvwm function execution

2012-02-07 Thread Chris Siebenmann
| On Tue, Feb 07, 2012 at 03:41:22PM -0500, Chris Siebenmann wrote: | > My current version is: | > AddToFunc ToWindow | > + I Current ("XTerm|9term|Gnome-terminal", "$0") Break | > + I Next ("XTerm|9term|Gnome-terminal", "$0") Iconify False | > + I Next ("XTerm|9term|Gno

Re: FVWM: Trying to understand fvwm function execution

2012-02-07 Thread Thomas Adam
On Tue, Feb 07, 2012 at 07:42:01PM -0500, Chris Siebenmann wrote: > Yes, I think I understand. Calling 'Next ... SomeFunction' (or I assume > any successful conditional window selection command) sets the window > binding in effect for SomeFunction, and if Next cannot find such a > window it will n