On 4 Jan 2010, at 21:33, David Whetstone wrote:
This heuristic looks pretty broken to me. The preference setting should always take precedence.
I second that.
I remember I posted some time ago with the exact same suggestion, and that's indeed how I modified the script for myself.
The case arose for me when using pdftricks, which allows to process pstricks commands using pdflatex, and texMate.py stubbornly wanted to process my file with latex. I do consider too this behaviour to be flawed.