Re: FVWM: Re: Empty function arguments (was Re: Finally moved to 2.2 etc etc)

From: Dominik Vogt <dominik.vogt_at_gmx.de>
Date: Fri, 28 May 1999 12:47:13 -0600

On Mon, May 24, 1999 at 02:53:40PM +0200, Dominik Vogt wrote:
> On Fri, May 21, 1999 at 11:29:06AM -0400, Brad Giaccio wrote:
> > On Fri, May 21, 1999 at 04:17:12PM +0200, Dominik Vogt wrote:
> > > > AddToFunc showit "I" Echo "I got: " $0 $1 $2 $3
> > > > showit test
> > > >
> > > > Which produces:
> > > >
> > > > [FVWM][Echo]: "I got: " test $1 $2 $3
> > >
> > > What does it show? This is exactly what I would have expected. Am
> > > I missing something?
> > >
> > > Bye
> > >
> > > Dominik ^_^
> > >
> >
> > I would have expected to see
> > [FVWM][Echo]: "I got: " test
> >
> > since $1 $2 and $3 are all empty strings
> >
> > The problem is in functions.c:expand
> >
> > the problem is that I ddin't acount for quite enough cases the last
> > time I patcehd this function. What needs to be done is to distinguish
> > between creating a function and actually expanding args when it is being
> > executed. This patch works for me in all places where I use $args could
> > someone else apply it and commit it if it works for them too.
>
> OK, the patch is applied.

Oops, replies to the wrong message. I think I wanted to say that the
'flickering title bar' patch is applied.

Bye

Dominik ^_^

-- 
Dominik Vogt, Hewlett-Packard GmbH, Dept. BVS
Herrenberger Str.130, 71034 Boeblingen, Germany
phone: 07031/14-4596, fax: 07031/14-3883, dominik_vogt_at_hp.com
--
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 majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Fri May 28 1999 - 05:48:25 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:02 BST