Article View: gnu.emacs.vm.bug
Article #320Re: PLEASE TRY THIS PATCH
From: blueman
Date: Mon, 11 Jan 2010 04:35
Date: Mon, 11 Jan 2010 04:35
40 lines
3551 bytes
3551 bytes
Uday S Reddy <uDOTsDOTreddy@cs.bham.ac.uk> writes: > blueman wrote: > I played with some variations of it, and finally realized that the > problem must be the handling of the output. In your test process, the > output is going to the testfile. If I just use 'cat' as the command > instead of 'cat > testfile', then sure enough the problem > reappears. It starts hanging somewhere above 64K. Ahhhh... that's why I was asking for details on exactly what commands you used. That would explain our differences since cat'ing to a file (or running through spamassassin which is another test I did) generates only a handful of bytes of output. The problem must be because you are generating more than a 64K page of output... The problem is then in the 2-line of code that reads the output from the process. As I mentioned in another thread, I think the whole way output is done is messed up. Particularly in the asynchronous case where if you have a long process, then minutes later, when the process completes and you have moved on to another email, you get switched back without warning to the output buffer often in mid-typing stream. Also, I think one should have flexibility over what to name the buffer, whether to display it, etc. But I am hesitant to code changes unless I know that you and others are on-board with my suggested changes. Please see the other thread for my proposed way to change with relatively minimal if any impact on current usage. > > If you look up the ELisp manual section on "Receiving output from > processes", you should be able to code this more safely. > > Cheers, > Uday
Technical Details
Message-ID:
<m2iqb9tg1d.fsf@consult.pretender>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.84.MISMATCH!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!feeds.phibee-telecom.net!feeder.eternal-september.org!eternal-september.org!.POSTED!not-for-mailReferences:
<m2d41p7sho.fsf@consult.pretender> <m2pr5o3ycq.fsf@consult.pretender> <m2ljgc3xd3.fsf@consult.pretender> <hi2c72$l5i$1@north.jnrs.ja.net> <m2ocl7yvsr.fsf@consult.pretender> <hi4d25$81f$1@north.jnrs.ja.net> <m24omxzybc.fsf@consult.pretender> <hi54kr$euu$1@north.jnrs.ja.net> <m2r5q1ybz4.fsf@consult.pretender> <m2my0pybcx.fsf@consult.pretender> <hi5peg$kmp$1@north.jnrs.ja.net> <m2iqbdxbuj.fsf@consult.pretender> <hi73bg$1cs$1@north.jnrs.ja.net> <m2aawownfr.fsf_-_@consult.pretender> <hi80m7$9sa$1@north.jnrs.ja.net> <m2pr5kuzoi.fsf@consult.pretender> <hi88sr$c2j$1@north.jnrs.ja.net> <m28wc6vncg.fsf@consult.pretender> <hicmei$h4k$1@north.jnrs.ja.net> <m2my0mt133.fsf@consult.pretender> <hid1l2$k9c$1@north.jnrs.ja.net>Show Full Headers
Complete Article Headers
X-Google-Thread: a16957f451,747cd7667796b3e3 X-Google-Attributes: gida16957f451,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!194.109.133.84.MISMATCH!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!feeds.phibee-telecom.net!feeder.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: blueman <NOSPAM@nospam.com> Newsgroups: gnu.emacs.vm.bug Subject: Re: PLEASE TRY THIS PATCH Date: Sun, 10 Jan 2010 23:35:26 -0500 Organization: A noiseless patient Spider Lines: 40 Message-ID: <m2iqb9tg1d.fsf@consult.pretender> References: <m2d41p7sho.fsf@consult.pretender> <m2pr5o3ycq.fsf@consult.pretender> <m2ljgc3xd3.fsf@consult.pretender> <hi2c72$l5i$1@north.jnrs.ja.net> <m2ocl7yvsr.fsf@consult.pretender> <hi4d25$81f$1@north.jnrs.ja.net> <m24omxzybc.fsf@consult.pretender> <hi54kr$euu$1@north.jnrs.ja.net> <m2r5q1ybz4.fsf@consult.pretender> <m2my0pybcx.fsf@consult.pretender> <hi5peg$kmp$1@north.jnrs.ja.net> <m2iqbdxbuj.fsf@consult.pretender> <hi73bg$1cs$1@north.jnrs.ja.net> <m2aawownfr.fsf_-_@consult.pretender> <hi80m7$9sa$1@north.jnrs.ja.net> <m2pr5kuzoi.fsf@consult.pretender> <hi88sr$c2j$1@north.jnrs.ja.net> <m28wc6vncg.fsf@consult.pretender> <hicmei$h4k$1@north.jnrs.ja.net> <m2my0mt133.fsf@consult.pretender> <hid1l2$k9c$1@north.jnrs.ja.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Mon, 11 Jan 2010 04:35:27 +0000 (UTC) Injection-Info: feeder.eternal-september.org; posting-host="o0xooYC/dlyFpPxuXQpbEw"; logging-data="16426"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX183/RCWc2yNSGwkQ+ttR9CEKGhaBqYlvuw=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:vzva+1GuW5FNxBwYi5bemiudYoo= sha1:F+ZQNCawJ53VIAnr5VJ9CZ83vlA=