Problem with OccupyAll

Aaron Sloman <[email protected]>
Newsgroups gmane.comp.window-managers.ctwm
Message-ID <[email protected]>
I mysteriously found one of my pdf files appearing in all workspaces.

Eventually, by trial and error, I found that this was due to the file name
including 'panel', (meta-cog-panel.pdf). Exploring a bit shows that it did
not matter where in the name 'panel' ocurred.

For some reason, in the past, I had included 'panel' in OccupyAll. I did
not think that that would be triggered whenever 'panel' is a part of a
filename. But it seems that the relevant procedure in list.c does not
distinguish finding a string on its own and finding a string in part
of a longer string. Shouldn't it take account  of the difference between,
for example,

The problem seems to be that regex_match in file list.c is too general.

I am not a an experienced C programmer and did not try modifying it.

I wonder if the behaviour that tripped me up was intended.

aaron
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.