help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: python mode


From: Peter Dyballa
Subject: Re: python mode
Date: Sat, 22 Apr 2006 11:03:18 +0200


Am 22.04.2006 um 10:28 schrieb Gary Wessle:

I opened a file.py but emacs 21.4.1 on debian testing didn't switch
the mode to the python mode. what do I need to do to fix this.

Check auto-mode-alist. If it does not contain an entry for Python files or the wrong mode correct this with something like:

        (add-to-list 'auto-mode-alist '("\\.py\\'"     . python-mode))

--
Greetings

  Pete

»¿ʇı̣ əsnqɐ ʇ,uɐɔ noʎ ɟı̣
ɓuı̣ɥʇʎuɐ sı̣ pooɓ ʇɐɥʍ«






reply via email to

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