[IPython-user] [Fwd: Auto-discard notification] XEmacs execute buffers/regions only once

Fernando Perez Fernando.Perez at colorado.edu
Thu Jul 15 14:36:11 CDT 2004


You seem to be posting from a different address than your subscription one, so 
I'm forwarding here.

f

-------- Original Message --------
Subject: Auto-discard notification
Date: Thu, 15 Jul 2004 11:31:48 -0500
From: ipython-user-bounces at scipy.net
To: ipython-user-owner at scipy.net

The attached message has been automatically discarded.


Subject:
Re: XEmacs execute buffers/regions only once
From:
Alexis Gallagher <alexis at alexisgallagher.com>
Date:
Thu, 15 Jul 2004 17:15:09 +0100
To:
Alexander Schmolck <a.schmolck at gmx.net>
CC:
ipython-user at scipy.net

Hi Alexander,

Thanks for the reply.

You'll be happy to know I've gotten to the bottom of at least half of
the problem, and I think what I figured out may benefit others as well.
The commands py-execute-* now process the buffers fully, and don't
require the queues to be manually cleared. (The prompt colorization is
still not working, however.)

  >
  > py-comint-output-filter-function (in python.el) might be a good start.
  >

I took your advice and and went looking in this file. (It's actually
called python-mode.el.) Under closer inspection, I couldn't find
anything in it referring to ipython at all, and I could see hard-coded
strings that clearly matched the ordinary python prompt.

I double checked that the file was shadowing the generic python-mode.el
-- fine. I double checked that I was using the python-mode.el that is
distributed with ipython-emacs-0.3.tgz -- fine. Then I double-checked
that this was the same as the version you had sent me in an earlier
email -- bingo!

It seems that the ipython-emacs-0.3.tgz distributed on the website (at
least, at http://ipython.scipy.org/dist/ ), has the a generic
python-mode.el rather than the one modified to work with ipython. At
least, when I swapped in your python-mode.el it started working with a
hitch.

I'm a little embarassed it was a simple as this, since I thought I'd
already checked with the files you sent me. I think I had checked -- but
only for the colorization problem.

I'm going to tackle the font colorization a bit later. I thought you'd
want to know in case the version on the ftp server should be updated.

thanks again,
alexis

-------------- next part --------------
An embedded message was scrubbed...
From: Alexis Gallagher <alexis at alexisgallagher.com>
Subject: Re: XEmacs execute buffers/regions only once
Date: Thu, 15 Jul 2004 17:15:09 +0100
Size: 4051
Url: http://projects.scipy.org/pipermail/ipython-user/attachments/20040715/89577d8a/attachment.eml 


More information about the IPython-user mailing list