🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.vm.bug
Article #323

Re: PLEASE TRY THIS PATCH

#323
From: Uday S Reddy
Date: Mon, 11 Jan 2010 08:28
48 lines
3683 bytes
blueman wrote:

> Ahhhh... that's why I was asking for details on exactly what commands
> you used.

I plead innocent.  I said it from the beginning:

On 6th Jan, "Running it on cat (on Windows Cygwin) still hangs for me."

On 7th Jan, "I just ran 'cat' with the |s operation, and it broke."

On 8th Jan, "The behaviour I am getting is basically that whenever I 
mark multiple messages and run `|s' with cat as the command, Emacs 
freezes."

On 8th Jan again, "process-command returns a list of strings, in my 
examples something like '("sh.exe" "-cf" "cat")."

Even now, the important part from my yesterday's message was asking 
you to look at the Elisp manual on *receiving output from processes*. 
  I don't know whether you have seen it and are acting on it.

I repeat again my previous statement that this mode of communication 
is not very effective.  The newsgroup looks like a noisy channel where 
only a small fraction of what we write seems to reach the intended 
destination.  Can we move this to *launchpad bugs* please?  It will 
take you only a minute or two to register, and you can open a bug report.

> The problem must be because you are generating more than a 64K page of
> output...

The problem is that the current code is faulty.  It is making no 
effort to accept output from the process until the very end.  So, it 
clogs up the OS buffers.  The fact that it works for some examples on 
some OS environments doesn't make it right.

>> If you look up the ELisp manual section on "Receiving output from
>> processes", you should be able to code this more safely.

Let me highlight this once again!!!

The discard-output issue you raised in the other thread is 
independent.  But I think that once you figure out how to solve the 
current problem, you will also have a better solution for the 
discard-output.

Cheers,
Uday
Technical Details
Message-ID: <hienfg$3nc$1@north.jnrs.ja.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!192.87.166.28.MISMATCH!tudelft.nl!txtfeed1.tudelft.nl!dedekind.zen.co.uk!zen.net.uk!hamilton.zen.co.uk!feed4.jnfs.ja.net!feed2.jnfs.ja.net!jnfs.ja.net!times.reader.netnews.ja.net!not-for-mail
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> <m2iqb9tg1d.fsf@consult.pretender>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!192.87.166.28.MISMATCH!tudelft.nl!txtfeed1.tudelft.nl!dedekind.zen.co.uk!zen.net.uk!hamilton.zen.co.uk!feed4.jnfs.ja.net!feed2.jnfs.ja.net!jnfs.ja.net!times.reader.netnews.ja.net!not-for-mail
From: Uday S Reddy <uDOTsDOTreddy@cs.bham.ac.uk>
Newsgroups: gnu.emacs.vm.bug
Subject: Re: PLEASE TRY THIS PATCH
Date: Mon, 11 Jan 2010 08:28:34 +0000
Organization: Janet Usenet Reading Service.
Lines: 48
Message-ID: <hienfg$3nc$1@north.jnrs.ja.net>
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> <m2iqb9tg1d.fsf@consult.pretender>
NNTP-Posting-Host: gromit.cs.bham.ac.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: north.jnrs.ja.net 1263198512 3820 147.188.193.16 (11 Jan 2010 08:28:32 GMT)
X-Complaints-To: usenet@north.jnrs.ja.net
NNTP-Posting-Date: Mon, 11 Jan 2010 08:28:32 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
In-Reply-To: <m2iqb9tg1d.fsf@consult.pretender>