How to stop file type changing automatically
marc
gmane at auxbuss.com
Sun Aug 13 10:38:05 UTC 2006
Heyho,
My config file for gvim has been given the .html file type. This results
in it being opened by Firefox, when opened via a file manager. Not what
I want.
Taking a closer look, this behaviour occurs when the file contain a
<script> entry. In other words, the file happily lives life as a text
file type until an edit is saved containing the text "<script>", when
it, immediately and without notification, automatically changes its file
type to .html
How do I stop this from happening?
It reminds me of Microsoft's Clippy - but rather worse - because it
doesn't tell me it's doing it, and it and doesn't give me the option top
stop it.
For now, I've added a filename patterns to text/plain of .*, which might
well be sufficient.
It also begs the question of when and where this changing is done.
Frankly, I can't conceive of a time when I'd want this behaviour.
--
Best,
Marc
More information about the kubuntu-users
mailing list