[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OS X python.el completion issue
From: |
Stefan Monnier |
Subject: |
Re: OS X python.el completion issue |
Date: |
Mon, 28 Mar 2005 13:28:53 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) |
> (defun python-preoutput-filter (s)
> "`comint-preoutput-filter-functions' function: ignore prompts not at
> bol."
> (cond ((and (string-match (rx (and string-start (repeat 3 (any ".>"))
I see you've reverted to the basic code and thus removed the while loop
I had added.
I guess it's OK so long as we know we'll only be waiting for one line of
output at a time. Also the loop was already missing before anyway.
I installed a slightly different patch (halfway between yours and mine).
Can you try it?
Your code special-cased the case when the emacs_out line is cut, but what is
really happenning is that we may receive Python's output in chunks of
arbitrary sizes: from one-byte at a time to several lines at a time
(depending on many different factors), so the problem exists for all kinds
of output.
Stefan
- Re: Suggestion for python.el and emacs.py, (continued)
- 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
- Re: OS X python.el completion issue (was Re: Suggestion for python.el and emacs.py), Steven Huwig, 2005/03/26
- Re: OS X python.el completion issue, Stefan Monnier, 2005/03/26
- Re: OS X python.el completion issue, Steven Huwig, 2005/03/26
- Re: OS X python.el completion issue, Stefan Monnier, 2005/03/26
- Re: OS X python.el completion issue, Steven Huwig, 2005/03/27
- Re: OS X python.el completion issue, Stefan Monnier, 2005/03/27
- Re: OS X python.el completion issue, Steven Huwig, 2005/03/27
- Re: OS X python.el completion issue,
Stefan Monnier <=
- Re: OS X python.el completion issue, Steven Huwig, 2005/03/28
- Re: OS X python.el completion issue, Stefan Monnier, 2005/03/29