[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 <Peter_Dyballa@Web.DE> 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)
- python mode, Gary Wessle, 2006/04/22
- Re: python mode, Peter Dyballa, 2006/04/22
- Message not available
- Re: python mode,
Gary Wessle <=
- Re: python mode, Peter Dyballa, 2006/04/22
- Message not available
- Re: python mode, Gary Wessle, 2006/04/22
- Re: python mode, Peter Dyballa, 2006/04/22
- Message not available
- Re: python mode, Gary Wessle, 2006/04/22
- Re: python mode, Peter Dyballa, 2006/04/22
- Message not available
- Re: python mode, Gary Wessle, 2006/04/23
- Re: python mode, Peter Dyballa, 2006/04/23
Re: python mode, Stefan Monnier, 2006/04/24