[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: KFile plugins
From: Thiago Macieira <thiago () kde ! org>
Date: 2005-10-16 15:43:14
Message-ID: 200510161343.14986.thiago () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Egon Willighagen wrote:
>> It uses Magic only when the file type cannot be guessed from the file
>> name pattern
>
>Mmmm...
>
>> (not just the suffix, mind you).
>
>Interesting statement... How would 'bla.h' help?
Example: static libraries are lib*.a; shared libraries are detected by
magic.
>> So a file ending in .h will be assumed to be a C header always.
>
>What if some other program uses this extension too? I don't know other
> mime types that use *.h, but have seen other clashes... (think of .log)
We apply the highlander principle: there can be only one. So, all *.log
are of one type if text/x-log defines Patterns=*.log
>extension -> mime type is not the option KDE (4.0) should aim at... IMHO
Not an option. It will do that.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
1. On frumscafte, hwonne time_t wæs náht, se scieppend þone circolwyrde
wundorcræftlíge cennede and seo eorðe wæs idel and hit wæs gód.
[Attachment #5 (application/pgp-signature)]
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic