I use a .emacs file (attached) that some associates gave me nearly 20 years 
ago.  Some of it is OBE now, but it still works for me on both windows and 
Linux.  With this file I can cntrl-c cntrl-c  (i.e. ^c twice to run the current 
buffer).  Don't ask me to explain it, it just works.

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Behalf Of Jeff Schwab
> Sent: Thursday, March 20, 2008 11:29 AM
> To: python-list@python.org
> Subject: Re: Can I run a python program from within emacs?
> 
> 
> Grant Edwards wrote:
> > On 2008-03-20, jmDesktop <[EMAIL PROTECTED]> wrote:
> > 
> >> Hi, I'm trying to learn Python.  I using Aquamac an emac
> >> implementation with mac os x.  I have a program.  If I go to the
> >> command prompt and type pythong myprog.py, it works.  Can 
> the program
> >> be run from within the editor or is that not how 
> development is done?
> >> I ask because I was using Visual Studio with C# and, if you're
> >> familiar, you just hit run and it works.  On Python do I use the
> >> editor for editing only and then run the program from the command
> >> line?
> > 
> > http://www.google.com/search?q=emacs+python
> 
> Or achieve a similar (more flexible (IMO), but less smoothly 
> integrated) 
> effect with Vim and GNU Screen.  Until recently, you had to 
> patch Screen 
> if you wanted vertical splits, but now it's in the main line.
> -- 
> http://mail.python.org/mailman/listinfo/python-list
> 

Attachment: .emacs
Description: .emacs

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to