emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

python-mode.el doesn't associate python-mode with .PY files


From: Chris Moore
Subject: python-mode.el doesn't associate python-mode with .PY files
Date: Fri, 22 Dec 2006 14:24:12 +0100

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?


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.



In GNU Emacs 22.0.91.34 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
 of 2006-12-19 on chrislap
X server distributor `RealVNC Ltd', version 11.0.3370
configured using `configure  '--with-gtk' '--prefix' '/usr/local/emacs22' 
'--with-xpm' '--with-jpeg' '--with-png' '--with-gif''

Important settings:
  value of $LC_ALL: en_GB.UTF-8
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_GB.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t



reply via email to

[Prev in Thread] Current Thread [Next in Thread]