From kde-devel Sat Jan 30 07:49:36 1999 From: Dawit Alemayehu Date: Sat, 30 Jan 1999 07:49:36 +0000 To: kde-devel Subject: Re: Problem with mimetypes : Readme.html = text file ! X-MARC-Message: https://marc.info/?l=kde-devel&m=91776107902894 On Fri, 29 Jan 1999, David Faure wrote: >On Thu, Jan 28, 1999 at 10:24:27PM -0500, Dawit Alemayehu wrote: >> Duncan Haldane wrote: >> >> > On 29-Jan-99 David Faure wrote: >> > > There is a problem with the current patterns in the mimetypes kdelnk. >> > > Readme.html is recognized as a text file, because english.kdelnk defines >> > > Patterns=README*;INSTALL*;CHANGE*;*.txt;Readme*; >> > >> > AHA that explains it maybe, -- kfm wouldn't open my >> > readme-redhat-rpms.html >> > as a html file! >> > >> > duncan >> > duncan@kde.org >> >> As a curosity, did kfm open it as a text file instead ? If so, were there >> some white spaces (CR/LF) before the header. >You're mixing problems. This is about pattern matching to determine the >mimetype. magic file are only used if no pattern matching succeeded. I understood the issues you were talking about. As I said I was just curious if his problem was related to the other issue. >> Try deleting these white >> space(s), save it, and try launching it again. I bet, if my hunch is correct >> and you run into the same problem I did, kfm would correctly open is as an >> html file. If this is the case the problem is in the magic files ... >Isn't this fixed now ? You are right ! This is fixed in the current version. I was on a week old CVS snapshot of kfm. I will eat my words :-) Dawit A