Re: Debugging python in emacs isn't working.

2009-11-09 Thread menomnon
On Nov 8, 6:36 pm, menomnon wrote: > Hi, > > Emacs 22.3, python 2.6.4 > > Put the following into my .emacs: > > (setq pdb-path 'c:\\python26\\lib\\pdb.py >       gud-pdb-command-name (symbol-name pdb-path)) > (defadvice pdb (before gud-query-cmdline activate) >   "Provide a better default command

Debugging python in emacs isn't working.

2009-11-09 Thread menomnon
Hi, Emacs 22.3, python 2.6.4 Put the following into my .emacs: (setq pdb-path 'c:\\python26\\lib\\pdb.py gud-pdb-command-name (symbol-name pdb-path)) (defadvice pdb (before gud-query-cmdline activate) "Provide a better default command line when called interactively." (interactive (l

Re: python in Emacs (windows)

2009-04-22 Thread David Robinow
On Wed, Apr 22, 2009 at 3:52 AM, Mark Zweers wrote: > Hi! > > I'm trying to run python from within Emacs. This is in my .emacs file : > > (setq auto-mode-alist ; trigger python mode automatically >    (cons '("\\.py$" . python-mode) auto-mode-alist)) > (setq interpreter-mode-alist >    (co

python in Emacs (windows)

2009-04-22 Thread Mark Zweers
Hi! I'm trying to run python from within Emacs. This is in my .emacs file : (setq auto-mode-alist ; trigger python mode automatically (cons '("\\.py$" . python-mode) auto-mode-alist)) (setq interpreter-mode-alist (cons '("python" . python-mode) interpreter-mode-alist)) (auto

python in emacs

2009-02-15 Thread kentandkat
When I visit a file with extension .py, emacs says "loading Python...done" and gives me a "Python" menu with options like "start interpreter" and "eval buffer". When I try to use these options, or others on the "Python" menu, emacs says "loading compile...done", then hangs and has to be shut down f

Re: python in emacs

2009-02-15 Thread Craig
I would go to ubuntu linux if you can. --- On Sun, 2/15/09, Diez B. Roggisch wrote: From: Diez B. Roggisch Subject: Re: python in emacs To: python-list@python.org Date: Sunday, February 15, 2009, 9:23 AM kentand...@sbcglobal.net schrieb: > When I visit a file with extension .py, emacs s

Re: python in emacs

2009-02-15 Thread Diez B. Roggisch
kentand...@sbcglobal.net schrieb: When I visit a file with extension .py, emacs says "loading python...done", and gives me a "python" menu with options like "start interpreter" and "eval buffer". When I try to use one of these options emacs says "loading compile...done", then hangs and has to be

python in emacs

2009-02-15 Thread kentandkat
When I visit a file with extension .py, emacs says "loading python...done", and gives me a "python" menu with options like "start interpreter" and "eval buffer". When I try to use one of these options emacs says "loading compile...done", then hangs and has to be shut down from the task manager. The

Re: writing Python in Emacs

2008-01-30 Thread alitosis
Rob Wolfe wrote: > The good news is that I managed to configure completion for Python > in Emacs using pymacs, python-mode.el, pycomplete.el and pycomplete.py. > For contents of my pycomplete.el, pycomplete.py and necessary > settings in .emacs see below. Thanks for that! I&#x

Re: writing Python in Emacs

2008-01-30 Thread Ryszard Szopa
Thanks Rob. Your code should basically do the trick. -- Richard -- http://mail.python.org/mailman/listinfo/python-list

Re: writing Python in Emacs

2008-01-20 Thread Rob Wolfe
. > > Me too. The good news is that I managed to configure completion for Python in Emacs using pymacs, python-mode.el, pycomplete.el and pycomplete.py. For contents of my pycomplete.el, pycomplete.py and necessary settings in .emacs see below. > > Richard> I need the following features: >

Re: writing Python in Emacs

2008-01-20 Thread Jorgen Grahn
["Followup-To:" header set to comp.lang.python.] On Sat, 19 Jan 2008 17:51:50 +0100, Terry Jones <[EMAIL PROTECTED]> wrote: >> "Richard" == Richard Szopa <[EMAIL PROTECTED]> writes: > >Richard> I am a devoted Emacs user and I write a lot in Python. > > Me too. > >Richard> I need the following

Re: writing Python in Emacs

2008-01-19 Thread Thierry Volpiatto
I add just a note about ipython: if you use a version > 0.6.15 may be you will have a bad output on error like: == " ": instead of: if __name__ == "__main__": all the characters are missing. To avoid that, run in ipython: %upgrade -nolegacy uncomment in ~/.ipython/ipy_user_config.p

Re: writing Python in Emacs

2008-01-19 Thread Terry Jones
> "Richard" == Richard Szopa <[EMAIL PROTECTED]> writes: Richard> I am a devoted Emacs user and I write a lot in Python. Me too. Richard> I need the following features: Richard> 1) Tab completion, ideally Slime like. That is, when there's not Richard> enough letters to unambiguously complet

writing Python in Emacs

2008-01-19 Thread Richard Szopa
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 that show if I search the group are either old or not so relevant. I need the following features: 0)