gedit: tabs or spaces dependent on syntax

view story

http://unix.stackexchange.com – I almost always use the Insert spaces instead of tabs feature in gedit. The one exception is when writing a Makefile which requires tabs. I don't suppose there is a way to make this option dependent on the syntax being used? I.e. automatically switch back to tabs when Makefile is detected. (HowTos)