🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Suggested fix to vm-pipe-message-part

#222
From: Uday S Reddy
Date: Tue, 05 Jan 2010 22:24
46 lines
3543 bytes
blueman wrote:
> Uday S Reddy <uDOTsDOTreddy@cs.bham.ac.uk> writes:
>> Sorry, JJK.  I find this rather convoluted.  
> Personally, I think my way of doing it is "clever" ;) since:

Indeed, it is.  But "cleverness" is damaging to software by entangling 
one thing with another.  If you change one thing, then everything else 
breaks.  So, the cleverest software is in fact streamlined software.

I was assuming that the only reason for the 
vm-pipe-messages-to-command-[start|end] variables is to provide 
separators for the vm-pipe-messages-to-command function.  If this 
function is given the stored separator lines instead, then the 
variables don't have a purpose any more and I would want to eliminate 
them.

>> I have already added yesterday a variable called
>> `vm-message-include-separators' to alter the meaning of what a
>> "message" means.  All that is needed now is to call
>> vm-pipe-message-to-command after setting this variable to t.

This wasn't enough, unfortunately.  There is an additional parameter 
`nowait' for the plural version of the function, which seems to 
require a more complicated protocol with the process.  So, I couldn't 
simply piggy back on the singular version of the function.  When I 
modified the plural version of the function to get rid of the extra 
separator lines, it hung on the examples I tried.  So, I will have to 
come back to this later.  Meanwhile, you seem to have something that 
works.  So, please go ahead and use it, and I will make sure that you 
will have a working version of the function when you have to upgrade.

>> This will be in 8.1.1-devo version in a few minutes.

Famous last words!

> Thanks. Have you also included my bug fixes to:
>      vm-pipe-command-exit-handler
>      vm-pipe-messages-to-command

I can't find them.  Did you post them to the newsgroups or Launchpad? 
   Actually, Launchpad is much better for posting bug reports because 
we can keep track of things better.  But newsgroups are better for 
discussion of course.

Cheers,
Uday
Technical Details
Message-ID: <hi0e67$5b2$1@north.jnrs.ja.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!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> <hht5o0$9pd$1@scotsman.ed.ac.uk> <m23a2l7myy.fsf@consult.pretender> <hhti24$9ua$1@scotsman.ed.ac.uk> <m2tyv15eaz.fsf@consult.pretender> <hhv7u9$bf4$1@scotsman.ed.ac.uk> <m2iqbg5zjg.fsf@consult.pretender> <hi0018$1gk$1@north.jnrs.ja.net> <m21vi45kxy.fsf@consult.pretender>

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!news4.google.com!proxad.net!feeder1-2.proxad.net!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!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: Suggested fix to vm-pipe-message-part
Date: Tue, 05 Jan 2010 22:24:20 +0000
Organization: Janet Usenet Reading Service.
Lines: 46
Message-ID: <hi0e67$5b2$1@north.jnrs.ja.net>
References: <m2d41p7sho.fsf@consult.pretender> <hht5o0$9pd$1@scotsman.ed.ac.uk> <m23a2l7myy.fsf@consult.pretender> <hhti24$9ua$1@scotsman.ed.ac.uk> <m2tyv15eaz.fsf@consult.pretender> <hhv7u9$bf4$1@scotsman.ed.ac.uk> <m2iqbg5zjg.fsf@consult.pretender> <hi0018$1gk$1@north.jnrs.ja.net> <m21vi45kxy.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 1262730248 5474 147.188.193.16 (5 Jan 2010 22:24:08 GMT)
X-Complaints-To: usenet@north.jnrs.ja.net
NNTP-Posting-Date: Tue, 5 Jan 2010 22:24:08 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
In-Reply-To: <m21vi45kxy.fsf@consult.pretender>