[Python-mode] [Novice]enabling python-mode

Andreas Roehler andreas.roehler at online.de
Sat Dec 6 09:08:00 CET 2008


M-x describe-function python-mode

displays the file-name, where python-mode resides.

Regards

Andreas Röhler


Saurabh Agrawal wrote:
> Thanks Skip,
> 
> The indentation is now automatic.
> 
> But how will I come to know whether I am using python-mode.el or the
> default python.el, as the mode-line still says (Python)?
> 
> Regads,
> Saurabh
> 
> 
> 
> On Sat, Dec 6, 2008 at 1:25 AM, <skip at pobox.com <mailto:skip at pobox.com>>
> wrote:
> 
> 
>        >> * Inside a running Emacs execute
>        >>
>        >> M-x load-library RET python-mode RET
>        >>
>        >> This should enable the python-mode project's version of python
>     mode
>        >> for the current session.  If this fails, python-mode.el is not on
>        >> your load-path.  Either move it or extend load-path
> 
>        Saurabh> This shows "Loading python-mode...done". But there is no
>     change
>        Saurabh> in the mode line. :(
> 
>     Have you tried reloading the file?
> 
>        C-x C-v RET
> 
>     What about if you do this in a fresh Emacs session before loading
>     any Python
>     files?
> 
>     --
>     Skip Montanaro - skip at pobox.com <mailto:skip at pobox.com> -
>     http://smontanaro.dyndns.org/
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Python-mode mailing list
> Python-mode at python.org
> http://mail.python.org/mailman/listinfo/python-mode



More information about the Python-mode mailing list