How to stop file type changing automatically
Roshan Mansinghani
rosh1182 at gmail.com
Mon Aug 14 13:31:00 UTC 2006
Does this happen only in gvim or if you use another editor (say, Kate) do
you have the same problem?
On 8/13/06, marc <gmane at auxbuss.com> wrote:
>
> 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
>
>
> --
> kubuntu-users mailing list
> kubuntu-users at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20060814/90c47374/attachment.html>
More information about the kubuntu-users
mailing list