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

2008-12-06 Thread Eric S. Johansson
[EMAIL PROTECTED] wrote: > Saurabh> But how will I come to know whether I am using python-mode.el > Saurabh> or the default python.el, as the mode-line still says (Python)? > > Here are a few ways: > I can tell because the menu bar has the menu item IM-python for python-mode. ___

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

2008-12-06 Thread skip
Saurabh> But how will I come to know whether I am using python-mode.el Saurabh> or the default python.el, as the mode-line still says (Python)? Here are a few ways: * When moving past an identifier_with_underscores using M-f or M-b does it stop at each underscore or jump over t

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

2008-12-06 Thread Saurabh Agrawal
On Sat, Dec 6, 2008 at 1:38 PM, Andreas Roehler <[EMAIL PROTECTED]>wrote: > M-x describe-function python-mode > > displays the file-name, where python-mode resides. > > Regards > > Andreas Röhler > > > Yup, the first line of description is the following: python-mode is an interactive compiled Lis

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

2008-12-06 Thread Andreas Roehler
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-li

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

2008-12-05 Thread Saurabh Agrawal
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, <[EMAIL PROTECTED]> wrote: > >>> * Inside a running Emacs execute >

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

2008-12-05 Thread skip
>> * 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 l

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

2008-12-05 Thread Saurabh Agrawal
Hi Skip, Thanks for replying. > You are probably still getting the python.el python mode which comes with > GNU Emacs. To see if this is so you can execute > >M-x find-function RET python-mode RET > > then see what the name of the file it pops up is. I'm pretty sure it will > be named "py

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

2008-12-05 Thread skip
Saurabh> Now I am able to do M-x python-mode and I get a (Python) status Saurabh> on the mode-line. Saurabh> However, it is not auto-indenting. Also shouldn't it say Saurabh> (Python-mode) on the mode-line? You are probably still getting the python.el python mode which comes with

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

2008-12-05 Thread Saurabh Agrawal
Hi, I have just started picking up both the python language and emacs. So I am new to both arenas (thought not new to computers and programming using IDEs). I have downloaded python-mode.el from launchpad and have placed it in folder Program Files\emacs\emacs-22.3\lisp\progmodes. After that I co