[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] trunk r117592: Grab all Python process output before i
From: |
Fabián Ezequiel Gallina |
Subject: |
Re: [Emacs-diffs] trunk r117592: Grab all Python process output before inferior-python-mode hooks. |
Date: |
Mon, 28 Jul 2014 18:12:46 -0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>> + ;; Ensure all the output is accepted before running any hooks.
>> + (accept-process-output (get-buffer-process (current-buffer)))
>> + (sit-for 0.1 t))
>
> Why do you need sit-for here?
>
I just added a comment about it in revno 117605.
;; At this point, all process output should have been received, but
;; on GNU/Linux, calling `python-shell-internal-send-string' without
;; a running internal shell fails to grab output properly unless
;; this `sit-for' is in place.
Sorry about that, I should have placed that comment before!
Cheers,
Fabián