For example, by default files matching "*.inc" are opened in PHP mode, but some Pascal implementations use this extension as well. If you find yourself with an urgent need to hack some Pascal, just remove "irc" from the PHP file name glob to get:
*.{php3,php4,php,phtml}And add it to the Pascal file name glob:
*.{pas,dpr,dpk}