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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to