Message: previous - next
Month: November 2011

Re: [trinity-devel] Kmailrc File Type.

From: "Richard J.M. Hill" <cycledaemon@...>
Date: Sun, 20 Nov 2011 22:37:25 -0500
On Sunday 20 November 2011, Laurent Dard wrote:

> Konqueror wrongly recognizes some files as of type:
> * diff (as stated here:
> * Java code (the gtkrc file type which is 'UTF-8 Unicode C++ program text')

I have another non-technical observation...  My gtkrc file contains two
lines with the word class in them.  Since I associate the word class
with Java, I thought I would see what would happen if I deleted them
from a copy of the gtkrc file.  Surprise! Konqueror recognizes them as
plain text!  Even more interesting, is that if I delete only ONE line
with the word class in it, it still works! Not only that, but it doesn't
matter which of the two lines I delete!

Next, I thought I would add the word class to a file which Konqueror
identified as plain text.  If I added the word class to kpatrc twice
Konqueror identified it as a Java file.



Stupidity is its own reward.