Bug#408180: shared-mime-info: Doesn't seem like magic actually
matches correctly
randhol
randhol+bugs at pvv.org
Wed Jan 24 00:24:31 CET 2007
Package: shared-mime-info
Version: 0.19-2
Severity: normal
Hi
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?
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-2-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Versions of packages shared-mime-info depends on:
ii libc6 2.3.6.ds1-10 GNU C Library: Shared libraries
ii libglib2.0-0 2.12.6-2 The GLib library of C routines
ii libxml2 2.6.27.dfsg-1 GNOME XML library
shared-mime-info recommends no packages.
-- no debconf information
More information about the Pkg-gnome-maintainers
mailing list