472,099 Members | 2,266 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,099 software developers and data experts.

Emacs + python


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.

Aug 1 '07 #1
9 2277
Hadron <ha*********@googlemail.comwrites:
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.

--
\ "Our products just aren't engineered for security." -- Brian |
`\ Valentine, senior vice-president of Microsoft Windows |
_o__) development |
Ben Finney
Aug 2 '07 #2
hg <hg@nospam.orgwrites:
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?

--
\ "With Lisp or Forth, a master programmer has unlimited power |
`\ and expressiveness. With Python, even a regular guy can reach |
_o__) for the stars." -- Raymond Hettinger |
Ben Finney
Aug 2 '07 #3
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.

Aug 2 '07 #4
Edward O'Connor a écrit :
>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.
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...
>
Ted
Aug 2 '07 #5
Edward O'Connor <ho****@gmail.comwrites:
>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
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?
Aug 2 '07 #6
On 8/1/07, hg <hg@nospam.orgwrote:
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.
--
Greg Donald
http://destiney.com/
Aug 2 '07 #7
hg
Greg Donald wrote:
On 8/1/07, hg <hg@nospam.orgwrote:
>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.
--
Greg Donald
http://destiney.com/
Thanks, I realized my mistake soon after I posted ... how about a cscope
equivalent ?

hg
Aug 3 '07 #8
hg <hg@nospam.orgwrites:
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?

--
\ "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
Aug 4 '07 #9
hg
Ben Finney wrote:
hg <hg@nospam.orgwrites:
>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?

--
\ "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

Aug 8 '07 #10

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Christian Seberino | last post: by
5 posts views Thread by Tuxtrax | last post: by
IDE
49 posts views Thread by Thomas Lindgaard | last post: by
81 posts views Thread by julio | last post: by
12 posts views Thread by Rex Eastbourne | last post: by
1 post views Thread by Marcio Rosa da Silva | last post: by
12 posts views Thread by Thomas Bartkus | last post: by
4 posts views Thread by emin.shopper | last post: by
5 posts views Thread by levander | last post: by
4 posts views Thread by Richard Szopa | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.