emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OS X python.el completion issue (was Re: Suggestion for python.el and em


From: Steven Huwig
Subject: OS X python.el completion issue (was Re: Suggestion for python.el and emacs.py)
Date: Sat, 26 Mar 2005 12:51:43 -0500


On Mar 26, 2005, at 12:30 PM, Stefan Monnier wrote:

With a problem case, not only does read-from-string result in nil, but
python-send-receive results in nil as well.  When debugging
python-send-receive in the same fashion, I run into the phenomenon
where accept-process-output always times out and returns nil, even when
given input known to work. Perhaps this is a result of edebug vs.
regular execution?

Yes, edebugging with things like accept-process-output is
always problematic.  I generally resort to sprinkling the code with
(message "here var=%S" var).

I seem to recall issues with OS X and ptys; could this be one of them?

Could be. Can you try to change process-connection-type to avoid the use of
ptys, and see if it helps?


        Stefan

That had no effect on the behavior. I guess it must actually be
an issue with the size of the incoming data vs. some buffer size
in the C code ... does this sound plausible? I will write up some
scripts to incrementally generate and test Python attrs and see
what the maximum working length is, for lack of any insight into
the root cause.


Thanks,
Steve





reply via email to

[Prev in Thread] Current Thread [Next in Thread]