Wording of shared mime spec

Bastien Nocera hadess at hadess.net
Wed Sep 10 07:50:04 PDT 2008


On Wed, 2008-09-10 at 10:57 +0200, David Faure wrote:
> On Monday 18 August 2008, you wrote:
> > On Mon, 2008-08-18 at 16:44 -0400, Matthias Clasen wrote:
> > > On Mon, 2008-08-18 at 20:08 +0200, David Faure wrote:
> > > > The spec currently says, about glob matching:
> > > > 
> > > > "If several patterns match then the longest pattern SHOULD be used."
> > > > 
> > > > With the recent addition of glob weights, this sentence is missing "... of the same weight", isn't it?
> > > > 
> > > > This way *.tar.bz2 is preferred over *.bz2 (as was the intent of this sentence),
> > > > but still weights are obeyed, so that README.* loses to *.pdf
> > > > 
> > > 
> > > You are right, that should be clarified.
> > 
> > Feel free to drop let me know what to change it to (bonus points for
> > patches), and I'll get Vincent to update it on the website after that.
> 
> Here's a patch with the changes I would suggest, please double-check and apply.

Fixed, thanks:

* shared-mime-info-spec.xml: Clarify some statements to
include "of the same weight" when talking about comparisons,
patch from David Faure <dfaure at trolltech.com>




More information about the xdg mailing list