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

Roman Neuhauser neuhauser at bellavista.cz
Mon Oct 13 06:55:21 PDT 2003


# neuhauser at bellavista.cz / 2003-10-13 15:53:30 +0200:
> # chuck at horde.org / 2003-10-13 00:30:58 -0400:
> > Quoting Roman Neuhauser <neuhauser at bellavista.cz>:
> > > Checkout display 'prettification' ignores files without extensions
> > > like Makefiles, because MIME_Magic() doesn't even consider such files,
> > > and chora thus calls MIME_Magic::extToMIME() instead of potentially[1]
> > > more useful MIME_Magic::filenameToMIME(). The fix belongs to MIME_Magic,
> > > what do you want it to look like?  BTW, this is a regression:
> > > http://lists.horde.org/archives/chora/Week-of-Mon-20020722/003314.html
> > 
> > I'll commit some fixes to Chora to use filenameToMIME(), but we need the
> > MIME_Magic code to be able to support extension-less entries. Any nice way of
> > doing that would be great.
> 
>     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:

    DOH! I knew I'd forget to change the subject. :(

-- 
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