Re: Editing .log files

New Message Reply Date view Thread view Subject view Author view

From: Johan Linde (jlinde@telia.com)
Date: 11 Mar 01, 22:30 EST


From: Johan Linde <jlinde@telia.com>
Subject: Re: Editing .log files

>At 09:47 PM -0700 08/01/2000, Jan de Leeuw wrote:
>>>Why does Alpha 7.4b9 go into TeX mode whenever I try to open a file whose
>>>name ends in ".log"?
>>>How do I make it stay in text mode?
>>
>>Go to Config => Perferences => Suffix Mappings. You will see the .log
>>suffix is mapped to TeX mode (you need to scroll to the right to see it).
>>Just delete it from the list and restart.
>
>
>The above worked, but when I upgraded to 7.4 it broke again - so I 
>had to redo it.
>
>What do I need to add to my prefs.tcl file to make this happen automatically?

set filepats(TeX) [lremove $filepats(TeX) *.log]
mode::updateSuffixes

should do the trick.

Johan

-- 
___________________________________________
Johan Linde, mailto:jlinde@telia.com
http://www.theophys.kth.se/~jl/

Alphas HTML-läge, Alpha's HTML mode
http://go.to/alpha_www_tools

_______________________________________________
AlphaTcl-users mailing list
AlphaTcl-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/alphatcl-users


New Message Reply Date view Thread view Subject view Author view

This archive was generated by das@users.sourceforge.net with hypermail 2b29 on 31 Mar 01, 11:51 EST