By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,898 Members | 1,198 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,898 IT Pros & Developers. It's quick & easy.

Emacs + python

P: n/a

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
Share this Question
Share on Google+
9 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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.