🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #396

Styles and attribute matching

#396
From: Mats Johnson
Date: Wed, 09 Sep 1992 14:26
38 lines
1223 bytes
It seems the matching of attributes works a little strange,
or at least different from xrm.

If I specify (in an app-defaults-file)

Test.test: level0

	the session root style (/) gets the value level0 for test
	which it should

	but *omit*

! Test.foo.test: level1

	the style /foo inherits the value level0,
	which it shouldn't (I think)

	also if I instead of

! Test.foo.bar.test: level2

	write

Test.bar.test: level2

	then the style /foo/bar still finds the value level2, 
	which it shouldn't (I think)

Is there any difference between . and *?

Is this the way it works, or did I make some mistake?
Is this the way it should work?
If so, why?

--
Mats Johnson, CMD, Uppsala University, Laegerhyddsvaegen 18, S-752 37 UPPSALA
Mats.Johnson@CMD.UU.SE
Technical Details
Message-ID: <MATSJ.92Sep9152630@ios.CMD.UU.SE>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!corax.udac.uu.se!Corax.UDAC.UU.SE!matsj

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!corax.udac.uu.se!Corax.UDAC.UU.SE!matsj
From: matsj@ios.CMD.UU.SE (Mats Johnson)
Subject: Styles and attribute matching
Message-ID: <MATSJ.92Sep9152630@ios.CMD.UU.SE>
Sender: news@corax.udac.uu.se
Reply-To: Mats.Johnson@CMD.UU.SE
Organization: CMD - Center for human computer studies, Uppsala University
Date: Wed, 9 Sep 1992 14:26:30 GMT
Lines: 38