I know that emacs can recognize a file by the extension, a -*- mode -*-
first line, and even by the shebang line, but what do I do if I want to override the shebang?
For example, a script that starts with
#!/usr/bin/env python2.7
...
won't be recognized by the shebang line alone. I also can't add in a -*-python-*-
line, because then the shell tries to parse it. How do I deal with this?