In search of a good IDE.

I use Emacs also. I would be interested in seeing your .emacs commands relating to Python.

···

------------------------------------
python2.4, wx-2.6.1.0-gtk2-ansi

Ron Shoemaker
-------------------------------------

-----Original Message-----
From: news [mailto:news@sea.gmane.org]On Behalf Of Don Dwiggins
Sent: Friday, July 21, 2006 12:37 PM
To: wxpython-users@lists.wxwidgets.org
Subject: [wxPython-users] Re: In search of a good IDE.

erick_bodine@comcast.net wrote:

I am one of those twisted individuals who happens to prefer Emacs for programming Python. I get all the goodies people have come to expect; code folding

(xtra Lisp in my .emacs), syntax highlighting, pylint integration (pylintrc+pylint.el), interpreter integration, SCC integration, diff/merge, object
browsing (ECB or plain speedbar), "interactive" abbreviations (msf-abbrev), etc.

+1 from another long-time twisted Emacser (although in the Python
context, "twisted" has other connotations 8^). I've been lazy about
incorporating language-specific extras, but it's still my IDE of choice
for Python, and I've used it for a long time as a general purpose power
tool: serious editing/reformatting of text files, directory
editing/searching, command line window (where the entire session is
available, searchable, editable, ...), and so on.

Unfortunately, Emacs does present a daunting learning curve for the
novice. I hesitate to recommend it to someone unless they're prepared
to invest some serious time to accumulate information from various
sources, study, and experiment. It certainly repays the effort, though.

--
Don Dwiggins
Advanced Publishing Technology

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

Shoemaker, Ronnie A. wrote:

I use Emacs also. I would be interested in seeing your .emacs commands relating to Python.

me too (Xemacs). please post them here, even though it's a bit off-topic.

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer
                                         
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

Shoemaker, Ronnie A. wrote:

I use Emacs also. I would be interested in seeing your .emacs commands relating to Python.

The fellow I responded to (erick_bodine@comcast.net) appears to have more stuff installed than I do. I'm using python-mode.el (see EmacsWiki: Python Programming In Emacs for a discussion, and the wiki in general for a lot of useful Emacs info). Here's what I have in .emacs:

(autoload 'python-mode "python-mode" "Python Mode." t)
(add-hook 'python-mode-hook
    (lambda ()
      (set (make-variable-buffer-local 'beginning-of-defun-function)
     'py-beginning-of-def-or-class)
      (setq outline-regexp "def\\|class ")))
;; Where to find the python I want to execute usually
(setq exec-path (cons "C:/ProgramFiles/Python24" exec-path))

... and also:

(setq auto-mode-alist
      (append '(("\\.pyw?$" . python-mode)
                ("\\.spec$" . python-mode) ;; PyInstaller build files
... etc. ...

... and :

(setq interpreter-mode-alist
      (cons '("python" . python-mode) interpreter-mode-alist))

I've looked a bit into the packages for outlining/folding, templates, etc., but haven't gone to the trouble of setting any of them up.

···

--
Don Dwiggins
Advanced Publishing Technology