unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Eric M. Ludlam" <eric@siege-engine.com>
To: Andreas Roehler <andreas.roehler@online.de>
Cc: Tom Roche <Tom_Roche@pobox.com>,
	Stefan Monnier <monnier@iro.umontreal.ca>,
	python-mode@python.org, emacs-devel@gnu.org
Subject: Re: plan for emacs python tooling (esp python.el, python-mode.el)?
Date: Tue, 16 Mar 2010 07:37:13 -0400	[thread overview]
Message-ID: <4B9F6D69.4020909@siege-engine.com> (raw)
In-Reply-To: <4B9F61DD.4050507@online.de>

[-- Attachment #1: Type: text/plain, Size: 1167 bytes --]

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

[-- Attachment #2: semantic-ectag-lang.el.patch --]
[-- Type: text/x-diff, Size: 1656 bytes --]

*** 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 <eric@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 <eric@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)

  reply	other threads:[~2010-03-16 11:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-15 16:47 plan for emacs python tooling (esp python.el, python-mode.el)? Tom Roche
2010-03-16  3:58 ` Stefan Monnier
2010-03-16 10:47   ` Andreas Roehler
2010-03-16 11:37     ` Eric M. Ludlam [this message]
2010-03-16 14:43       ` Tom Roche

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B9F6D69.4020909@siege-engine.com \
    --to=eric@siege-engine.com \
    --cc=Tom_Roche@pobox.com \
    --cc=andreas.roehler@online.de \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=python-mode@python.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).