From: Glenn Morris <rgm@gnu.org>
To: "Ken Manheimer" <ken.manheimer@gmail.com>
Cc: sdl.web@gmail.com, Nick Roberts <nickrob@snap.net.nz>,
cyd@stupidchicken.com, rms@gnu.org, emacs-devel@gnu.org
Subject: python.el versus python-mode.el [was Re: python.el fixes for Emacs 22]
Date: Fri, 15 Feb 2008 19:39:50 -0500 [thread overview]
Message-ID: <7vpruxray1.fsf_-_@fencepost.gnu.org> (raw)
In-Reply-To: <2cd46e7f0802151622s8e191et63074c2cc6211610@mail.gmail.com> (Ken Manheimer's message of "Fri, 15 Feb 2008 19:22:56 -0500")
"Ken Manheimer" wrote:
> i do hope someone could describe the differences. i'm curious why
> something besides python-mode.el was even necessary in the first
> place. just copyright assignment obstacles?
I know nothing about either mode, but the author of python.el has a ~
1000 line patch for python-mode.
http://www.loveshack.ukfsn.org/emacs/python-mode.el.diff
See also the comments at the start of python.el:
http://www.loveshack.ukfsn.org/emacs/python.el
;; There is another Python mode, python-mode.el, used by XEmacs and
;; maintained with Python. That isn't covered by an FSF copyright
;; assignment, unlike this code, and seems not to be well-maintained
;; for Emacs (though I've submitted fixes). This mode is rather
;; simpler and is better in other ways. In particular, using the
;; syntax functions with text properties maintained by font-lock makes
;; it more correct with arbitrary string and comment contents.
;; This doesn't implement all the facilities of python-mode.el. Some
;; just need doing, e.g. catching exceptions in the inferior Python
;; buffer (but see M-x pdb for debugging). [Actually, the use of
;; `compilation-shell-minor-mode' now is probably enough for that.]
;; Others don't seem appropriate. For instance,
;; `forward-into-nomenclature' should be done separately, since it's
;; not specific to Python, and I've installed a minor mode to do the
;; job properly in Emacs 23. [CC mode 5.31 contains an incompatible
;; feature, `c-subword-mode' which is intended to have a similar
;; effect, but actually only affects word-oriented keybindings.]
;; Other things seem more natural or canonical here, e.g. the
;; {beginning,end}-of-defun implementation dealing with nested
;; definitions, and the inferior mode following `cmuscheme'. (The
;; inferior mode can find the source of errors from
;; `python-send-region' & al via `compilation-shell-minor-mode'.)
;; There is (limited) symbol completion using lookup in Python and
;; Eldoc support also using the inferior process. Successive TABs
;; cycle between possible indentations for the line.
;; Even where it has similar facilities, this mode is incompatible
;; with python-mode.el in some respects. For instance, various key
;; bindings are changed to obey Emacs conventions.
next prev parent reply other threads:[~2008-02-16 0:39 UTC|newest]
Thread overview: 81+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-11 13:34 python.el fixes for Emacs 22 Richard Stallman
2008-02-11 15:15 ` Stefan Monnier
2008-02-11 21:10 ` Richard Stallman
2008-02-12 3:04 ` Stefan Monnier
2008-02-12 17:44 ` Richard Stallman
2008-02-12 21:40 ` Stefan Monnier
2008-02-13 16:32 ` Richard Stallman
2008-02-13 19:19 ` Stefan Monnier
2008-02-14 0:36 ` Chong Yidong
2008-02-14 0:51 ` Miles Bader
2008-02-14 1:56 ` Leo
2008-02-14 18:11 ` Richard Stallman
2008-02-14 23:42 ` Leo
2008-02-15 0:01 ` Nick Roberts
2008-02-15 0:08 ` Leo
2008-02-15 0:17 ` Miles Bader
2008-02-15 2:10 ` Nick Roberts
2008-02-15 17:57 ` Ken Manheimer
2008-02-16 5:53 ` Richard Stallman
2008-02-16 8:18 ` Leo
2008-02-16 8:35 ` Miles Bader
2008-02-16 14:45 ` Stefan Monnier
2008-02-16 14:51 ` Miles Bader
2008-02-17 3:44 ` Stephen J. Turnbull
2008-02-17 13:22 ` Richard Stallman
2008-02-17 13:26 ` Piet van Oostrum
2008-02-15 12:59 ` Richard Stallman
2008-02-15 13:27 ` David Kastrup
2008-02-15 17:43 ` Ken Manheimer
2008-02-15 21:47 ` Nick Roberts
2008-02-15 22:21 ` Ken Manheimer
2008-02-15 23:57 ` Nick Roberts
2008-02-16 0:22 ` Ken Manheimer
2008-02-16 0:39 ` Glenn Morris [this message]
2008-02-17 13:22 ` Richard Stallman
2008-02-17 13:22 ` Richard Stallman
2008-02-20 0:30 ` Nick Roberts
2008-02-20 2:24 ` pdbtrack [was Re: python.el fixes for Emacs 22] Glenn Morris
2008-02-20 2:34 ` Nick Roberts
2008-02-20 2:56 ` pdbtrack Glenn Morris
2008-02-21 22:40 ` pdbtrack [was Re: python.el fixes for Emacs 22] Ken Manheimer
2008-02-21 23:35 ` pdbtrack Glenn Morris
2008-02-22 18:00 ` pdbtrack Ken Manheimer
2008-02-22 18:35 ` pdbtrack Stefan Monnier
2008-02-23 23:09 ` pdbtrack Ken Manheimer
2008-02-22 20:08 ` pdbtrack Nick Roberts
2008-02-23 23:16 ` pdbtrack Ken Manheimer
2008-02-24 4:49 ` pdbtrack Nick Roberts
2008-02-24 15:40 ` pdbtrack Stefan Monnier
2008-02-24 17:00 ` pdbtrack Ken Manheimer
2008-02-24 20:44 ` pdbtrack Stefan Monnier
2008-02-21 0:20 ` python.el fixes for Emacs 22 Ken Manheimer
2008-02-21 4:02 ` Stefan Monnier
2008-02-21 5:12 ` Barry Warsaw
2008-02-21 22:28 ` Richard Stallman
2008-02-21 23:00 ` Barry Warsaw
2008-02-21 23:08 ` Ken Manheimer
2008-02-21 23:12 ` Barry Warsaw
2008-02-22 1:49 ` Stefan Monnier
2008-02-22 13:44 ` Barry Warsaw
2008-02-22 15:13 ` skip
2008-02-22 15:30 ` Barry Warsaw
2008-02-22 22:57 ` Richard Stallman
2008-02-22 22:57 ` Richard Stallman
2008-02-22 3:23 ` Stephen J. Turnbull
2008-02-22 13:45 ` Barry Warsaw
2008-02-22 16:28 ` Stefan Monnier
2008-02-22 17:05 ` Barry Warsaw
2008-02-22 17:13 ` Ken Manheimer
2008-02-22 18:27 ` Stefan Monnier
2008-02-22 19:38 ` Barry Warsaw
2008-02-23 19:28 ` Richard Stallman
2008-02-23 20:16 ` skip
2008-02-22 22:57 ` Richard Stallman
2008-02-22 23:33 ` Barry Warsaw
2008-02-23 19:29 ` Richard Stallman
2008-02-23 0:09 ` skip
2008-02-25 13:53 ` Bernhard Herzog
2008-02-21 5:09 ` Barry Warsaw
2008-02-21 5:22 ` Nick Roberts
2008-02-15 16:51 ` Chong Yidong
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7vpruxray1.fsf_-_@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.org \
--cc=ken.manheimer@gmail.com \
--cc=nickrob@snap.net.nz \
--cc=rms@gnu.org \
--cc=sdl.web@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.