|
From: | Kevin Rodgers |
Subject: | Re: python-mode.el doesn't associate python-mode with .PY files |
Date: | Tue, 26 Dec 2006 23:30:30 -0700 |
User-agent: | Thunderbird 1.5.0.9 (Macintosh/20061207) |
Chris Moore wrote:
I'm browsing some old Python sources on a CD, and they're all opening in fundamental-mode instead of python-mode. All the filenames on the CD are in uppercase. Perhaps python-mode.el could be modified to recognise .PY files as well as .py files as containing Python code?
That's not a bug, that's a feature! But you can work around it in your ~/.emacs: (setq auto-mode-alist (cons '("\\.PY\\'" . python-mode) auto-mode-alist))
I've not tried opening any Perl sources yet, but when I do I'll be sure to check that they open with the correct mode.
-- Kevin Rodgers Denver, Colorado, USA
[Prev in Thread] | Current Thread | [Next in Thread] |