On 03/16/2010 06:47 AM, Andreas Roehler wrote:
as far as I understand the OP, the focus is rather the python-environment than
the editor.
As far as it concerns editing, python.el, python-mode.el are both suitable IMHO.
Don't see a real gain by switching one for the other. If a precise feature is
missed here or there, let's implement it...
Progress would mean having a download source for an environment, which offers
all needed at once:
debugging, refactoring, auto-completion etc.
Such an environment should enable emacs editing modes, but vim and other free
tools too.
The CEDET support for python parsing (which would handle autocompletion
type tasks amonng others) is also (as far as I know) held up by a
copyright assignment.
Exuberent ctags supports python (though I don't know by how much), and
adding support in the CEDET/Semantic exuberant ctags support wouldn't be
too hard. Likely something like the patch attached.
Hmmm. I see that the exuberent ctags support does not appear to be a
part of Emacs. Well, you could try the most recently posted version of
CEDET with the below patch instead if you wanted to try it.
Eric
*** semantic-ectag-lang.el.~1.11.~ 2010-03-15 22:23:11.000000000 -0400
--- semantic-ectag-lang.el 2010-03-16 07:32:08.000000000 -0400
***************
*** 1,6 ****
;;; semantic-ectag-lang.el --- Exuberent Ctags per-language support
! ;; Copyright (C) 2008, 2009 Eric M. Ludlam
;; Author: Eric M. Ludlam <e...@siege-engine.com>
;; X-RCS: $Id: semantic-ectag-lang.el,v 1.11 2010/03/15 13:40:55 xscript Exp $
--- 1,6 ----
;;; semantic-ectag-lang.el --- Exuberent Ctags per-language support
! ;; Copyright (C) 2008, 2009, 2010 Eric M. Ludlam
;; Author: Eric M. Ludlam <e...@siege-engine.com>
;; X-RCS: $Id: semantic-ectag-lang.el,v 1.11 2010/03/15 13:40:55 xscript Exp $
***************
*** 63,68 ****
--- 63,69 ----
;(semantic-ectag-add-language-support lua-mode "lua" "f")
(semantic-ectag-add-language-support pascal-mode "pascal" "fp")
(semantic-ectag-add-language-support perl-mode "perl" "cflpsd")
+ (semantic-ectag-add-language-support python-mode "python" "cfmvi")
;(semantic-ectag-add-language-support rexx-mode "rexx" "s")
;(semantic-ectag-add-language-support sql-mode "sql" "s")
(semantic-ectag-add-language-support tcl-mode "tcl" "cmp")
***************
*** 96,101 ****
--- 97,103 ----
;;(add-hook 'lua-mode-hook 'semantic-ectag-simple-setup)
(add-hook 'pascal-mode-hook 'semantic-ectag-simple-setup)
(add-hook 'perl-mode-hook 'semantic-ectag-simple-setup)
+ (add-hook 'python-mode-hook 'semantic-ectag-simple-setup)
;;(add-hook 'rexx-mode-hook 'semantic-ectag-simple-setup)
(add-hook 'tcl-mode-hook 'semantic-ectag-simple-setup)
;;(add-hook 'vera-mode-hook 'semantic-ectag-simple-setup)
_______________________________________________
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode