[ 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


_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to