[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Suggestion for python.el and emacs.py
From: |
Stefan Monnier |
Subject: |
Re: Suggestion for python.el and emacs.py |
Date: |
Mon, 21 Mar 2005 08:52:50 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
[ As the INSTALL.CVS file explains any question/bugreport/suggestion/...
should go to emacs-devel or emacs-pretest-bug. ]
I don't myself use Python, so I don't know what such a patch could break.
Can someone who's used Python (and the new pyhton-mode) confirm that this
change is a good idea?
> I notice that CVS Emacs now has a python mode. Here is a small patch to
> etc/emacs.py to make the Python shell display objects in a readable format
> (i.e. not putting long lists into a single line but rather adding newlines
> where appropriate). I have not exhaustively tested this but it didn't break
> the basic interactions that I do.
> If you are not the appropriate contact for this suggestion, I would
> appreciate it if you forwarded it to the proper person.
> Thanks,
> Steven Huwig
> *** emacs.py 06 May 2004 18:57:32 -0400 1.2
> --- emacs.py 20 Mar 2005 16:43:08 -0500
> ***************
> *** 20,27 ****
> # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
> # Boston, MA 02111-1307, USA.
> ! import os, sys, traceback, inspect, rlcompleter, __main__
> !
> __all__ = ["eexecfile", "args", "complete", "ehelp", "eimport"]
> def eexecfile (file):
> --- 20,27 ----
> # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
> # Boston, MA 02111-1307, USA.
> ! import os, sys, traceback, inspect, rlcompleter, __main__, pprint
> ! sys.displayhook = pprint.pprint
> __all__ = ["eexecfile", "args", "complete", "ehelp", "eimport"]
> def eexecfile (file):
Stefan
- Re: Suggestion for python.el and emacs.py,
Stefan Monnier <=
- Re: Suggestion for python.el and emacs.py, Dave Love, 2005/03/24
- Re: Suggestion for python.el and emacs.py, Stefan, 2005/03/24
- Re: Suggestion for python.el and emacs.py, Steven Huwig, 2005/03/24
- Re: Suggestion for python.el and emacs.py, Dave Love, 2005/03/25
- Re: Suggestion for python.el and emacs.py, Steven Huwig, 2005/03/25
- Re: Suggestion for python.el and emacs.py, Stefan Monnier, 2005/03/26
- Re: Suggestion for python.el and emacs.py, Steven Huwig, 2005/03/26
- Re: Suggestion for python.el and emacs.py, Stefan Monnier, 2005/03/26
- OS X python.el completion issue (was Re: Suggestion for python.el and emacs.py), Steven Huwig, 2005/03/26