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

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

Re: python mode


From: Gary Wessle
Subject: Re: python mode
Date: 22 Apr 2006 19:28:55 +1000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

Peter Dyballa <address@hidden> writes:

> 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))
> 

I placed the line you suggested in my .emacs and load-file .emacs
then opened my.py file but I am getting
file mode specification error: (void function  python-mode)


reply via email to

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