Bug#408180: shared-mime-info: Doesn't seem like magic actually matches correctly

Sven Arvidsson sa at whiz.se
Thu Apr 26 20:22:28 UTC 2007


> I tried to set up a rule to recognise Vim sessions:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
>    <mime-type type="text/x-vim-session">
>      <comment>Vim session</comment>
>      <comment xml:lang="nb">Vim sesjon</comment>
>      <magic priority="100">
>          <match value="SessionLoad" type="string" offset="5:15"/>
>      </magic>
>      <glob pattern="*.vim"/>
>    </mime-type>
> </mime-info>
> 
> Problem is that it doesn't seem like it matters at all what I put in the
> match unless I remove the glob pattern. Is this a bug or feature?

Hi,

This looks more like a configuration issue than a bug, maybe you can ask
for some pointers on the xdg list?
http://lists.freedesktop.org/mailman/listinfo/xdg

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20070426/72317016/attachment.pgp


More information about the pkg-gnome-maintainers mailing list