Re: FVWM: <Use comma instead of whitespace>

Dominik Vogt <[email protected]>
Newsgroups gmane.comp.window-managers.fvwm
Message-ID <[email protected]>
On Wed, Feb 28, 2018 at 06:42:09AM +1030, Viktor Griph wrote:
> 2018-02-28 6:14 GMT+10:30 Michelle Konzack <[email protected]>:
> > ...but I found this file is guilty:
> >
> > ----[ ~/.fvwm/Functions.d/AutoHide.conf ]-------------------------------
> > DestroyFunc autohide
> > AddToFunc autohide
> > + I ThisWindow ($0) Deschedule $[w.id]
> > + I ThisWindow ($0) ThisWindow (Shaded) WindowShade off
> > + I TestRc (!Match) All ($0, !Shaded autohide\_hide $1 $2)
> 
> That's the line giving the warning. You are trying to use
> autohide\_hide $1 $2 as a condition without commas.
> Try to change it to
> + I TestRc (!Match) All ($0, !Shaded) autohide\_hide $1 $2
> 
> I'm not sure why you need to escape _ in the above code. If it doesn't
> work still, try to remove the escape as well.

Also, it's probably a good idea to put the $0 in double quotes.
You'll get a similar warning if $0 contains spaces.

Ciao

Dominik ^_^  ^_^

-- 

Dominik Vogt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.