On Wed, 21 Apr 2004 21:26:13 +0000 Mikhael Goikhman <[EMAIL PROTECTED]> wrote:
> On 21 Apr 2004 09:48:48 +0200, Markus Schwarzenberg wrote: > > > > for a long time I've been using a small patch to fvwm 2.4.8, (which > > now is adopted to 2.4.18 and 2.5.10, too) and would like to ask if > > other people find it usefull too (so it could be included into the > > fvwm source one day): > > > > Description: > > > > The patch adds the following syntax to Condition checks to > > selectively select a match (or mismatch) of a name, icon name, > > resource name or class: > > > > %r==RESOURCE > > %c==CLASS > > %i==ICONNAME > > %n==NAME > > > > %r!=RESOURCE > > %c!=CLASS > > %i!=ICONNAME > > %n!=NAME > > IMO the syntax should be more readable: > > ThisWindow (Class XTerm, !Resource RTerm, !Resource ATerm) Beep > This would introduce more ambiguousness, since conditions still may be separated by whitespaces or commas. In the example above it's not clear how to interpret "Class": Is it a window name, icon name, class name or resource name or a special match identifier? The syntax proposed by you would be OK if whitespaces were abolished as condition separators. Markus Schwarzenberg -- 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]