473,391 Members | 1,438 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,391 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 2354
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Christian Seberino | last post by:
I am looking at the ELSE home page and trying to figure out if I should invest the time to learn about the ELSE minor mode for Emacs. Is there any programmer out there using ELSE that is getting...
5
by: Tuxtrax | last post by:
Hi all My editor of choice on linux for python, bar none, is xemacs. I love the python mode that detects a python file and handles indentation and coloration for me automagically. I have been...
49
IDE
by: Thomas Lindgaard | last post by:
Hello I am probably going to start a war now... but so be it :) I just want to hear what all you guys who eat pythons for breakfast use for python coding. Currently I use Kate, but I would...
81
by: julio | last post by:
Sorry but there is no another way, c# .net and mono are going to rip python, not because python is a bad lenguage, but because is to darn old and it refuses to innovate things, to fix wrong things,...
12
by: Rex Eastbourne | last post by:
Hi, I'm interested in running a Python interpreter in Emacs. I have Python extensions for Emacs, and my python menu lists "C-c !" as the command to run the interpreter. Yet when I run it I get...
1
by: Marcio Rosa da Silva | last post by:
Hi all, My first try on using RST to write an email. so I can (will) make mistakes :-) I am experiencing the problem shown in this thread_ of the `python-mode`_ discussion list hosted at...
12
by: Thomas Bartkus | last post by:
Does anyone use emacs together with both WordStar key bindings and python mode? I'm afraid that Wordstar editing key commands are burned R/O into my knuckles! I would like to play with emacs...
4
by: emin.shopper | last post by:
Emacs seems to freeze when doing certain shell commands on Microsoft Windows. The following is a simple example with Xemacs: ---------------------------------------------------------- ...
5
by: levander | last post by:
I've been using pdb under emacs on an Ubuntu box to debug python programs. I just upgraded from Ubuntu Edgy to Feisty and this combo has stopped working. Python is at 2.5.1 now, and emacs is at...
4
by: Richard Szopa | last post by:
Hi All, I am a devoted Emacs user and I write a lot in Python. However, I never managed to get my Emacs configuration right for this purpose. There were some discussions on this, but the threads...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.