On 03 Jan 2003 05:23:19 +0100, Olivier Chapuis wrote: > > On Thu, Jan 02, 2003 at 12:31:10PM +0000, Mikhael Goikhman wrote: > > I would like to get rid of one-letter variables in the long run, since > > they are very problematic. Some, like $d, are not consistent with all > > other variables, and they all conflict with $width, $right and similar in > > module lines, so one-letter variables are not expanded in module lines. > > > > By converting them to $[] variable we solve all these problems.
Additional practical problem is SendToModule FvwmPerl eval $c++; then one letter variables conflict with perl variables. > > $d - $[desk.num] I think it may be $[desk.n] for consistency with $[page.nx], $[page.ny]. > > $w - $[w.id] > > $n - $[w.name] > > $c - $[w.class] > > $r - $[w.resource] > > $v - $[version.line], $[version.num], $[version.info] > > $x - we already have $[vp.x] for this > > $y - we already have $[vp.y] for this > > > > Any comment are welcome. > > I've no objection against these changes. However, I think we > should support the one letter name for 2.6. I think I didn't add any breakage of 2.4.x syntax during 2.5.x. The idea is always document the new syntax, but still support the old one. I will also backport these variables to 2.4.x, so there will be no any reason to use the one latter variables anymore, unless I see objections. Regards, Mikhael. -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]