(1) I created a new file (File/New)
(2) I wrote the following two lines:
#!/usr/bin/expect -f # -*-Tcl-*- (for Geany)
(3) I saved the file (filename: dummy1 (no extension)).
Still, Geany shows the filetype as "None".
Works for me, so the usual questions you didn't answer.
(Version of Geany and platform)
You're right - here they are:
Geany 0.21 Windows 7 (64Bit)
Ronald