[dev] chora: subversion support, MIME handling...

Roman Neuhauser neuhauser at bellavista.cz
Tue Oct 14 11:35:22 PDT 2003


# chuck at horde.org / 2003-10-14 11:12:58 -0400:
> Quoting Roman Neuhauser <neuhauser at bellavista.cz>:
> 
> >     I've been thinking about this, and my opinion is that the best
> >     behavior is what I saw used by vim's filetype-guessing code:
> >
> >     1. /full/path/basename.extension
> >     2. basename.extension
> >     2. extension
> 
> That makes sense, though the first one sounds like a bit of
> overkill/over-complication, possibly, to me.

    Different applications use the same/conflicting file extensions
    for different file types, but they can told with reasonable
    certainty if the whole path is taken into account. think *.conf.
 
> >     each method should have it's own mapping table.
> 
> Why?

    because it should make the code more effective.
 
> >     what do you think? I can come up with a patch tomorrow or the next
> >     day if you ok this approach.
> 
> I'm certainly interested in seeing whatever you'd come up with for this.

    will be fun to do, but not before the weekend.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.    see http://www.eyrie.org./~eagle/faqs/questions.html


More information about the dev mailing list