Emacs + python

H

Hadron

Could anyone put me on the right track to developing Python with emacs
please : modes to consider, debugging etc hopefully all within emacs.

Any help and shared experiences much appreciated.
 
B

Ben Finney

Hadron said:
Could anyone put me on the right track to developing Python with emacs
please : modes to consider, debugging etc hopefully all within emacs.

The mode you're looking for is 'python-mode'. Turn it on (M-x
python-mode), then read its help (C-h m) for all the cool things you
can do.
 
E

Edward O'Connor

Could anyone put me on the right track to developing Python with emacs
please : modes to consider, debugging etc hopefully all within emacs.

Personally, I prefer the python.el that ships with Emacs 22 to the
python-mode.el from python.org. It seems more like other Emacs major
modes.


Ted
 
H

hg

Edward said:
Personally, I prefer the python.el that ships with Emacs 22 to the
python-mode.el from python.org. It seems more like other Emacs major
modes.


Ted

--
Edward O'Connor
(e-mail address removed)

Ense petit placidam sub libertate quietem.

Are there any cscope & ECB equivalent for Python ?

Thanks

hg
 
B

Ben Finney

hg said:
Are there any cscope & ECB equivalent for Python ?

Can you describe these things, for those who don't have any experience
of them but may know of an equivalent?
 
B

Bruno Desthuilliers

hg a écrit :
(snip)
Are there any cscope & ECB equivalent for Python ?

ECB (assuming we're talking about the same thing, ie Emacs Code Browser)
works just fine with Python.
 
B

Bruno Desthuilliers

Edward O'Connor a écrit :
Personally, I prefer the python.el that ships with Emacs 22 to the
python-mode.el from python.org. It seems more like other Emacs major
modes.

Would you mind giving us a quick summary of the differences between
these 2 modes ? As far as I'm concerned, I've been mostly happy with
python-mode so far...
 
H

Hadron

Edward O'Connor said:
Personally, I prefer the python.el that ships with Emacs 22 to the
python-mode.el from python.org. It seems more like other Emacs major
modes.


Ted

Could you extrapolate a little more on what you see as the differences?

I addition, I run pdb under emacs and the GUD menu appears but I cant
set break points by clicking in the left column of the source
display. Is there a way to get this working?
 
G

Greg Donald

Are there any cscope & ECB equivalent for Python ?

ECB is not language specific. It works the same for browsing Python
code as any other language.
 
H

hg

Greg said:
ECB is not language specific. It works the same for browsing Python
code as any other language.

Thanks, I realized my mistake soon after I posted ... how about a cscope
equivalent ?

hg
 
B

Ben Finney

hg said:
how about a cscope equivalent ?

How about reading what was posted earlier in the thread, and give us a
description of what you want instead of a name that people might not
recognise?
 
H

hg

Ben said:
How about reading what was posted earlier in the thread, and give us a
description of what you want instead of a name that people might not
recognise?

--
\ "The judge asked, 'What do you plead?' I said, 'Insanity, your |
`\ honour. Who in their right mind would park in the passing |
_o__) lane?'" -- Steven Wright |
Ben Finney

Cscope allows for instance to find the definition of a symbol.

hg
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top