🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: PLEASE TRY THIS PATCH

#308
From: blueman
Date: Fri, 08 Jan 2010 20:15
35 lines
3009 bytes
Uday S Reddy <uDOTsDOTreddy@cs.bham.ac.uk> writes:

> Uday S Reddy wrote:
>
>>> Well, the plural version is *much* faster than the
>>> vm-pipe-message-to-command multiple times.
>>>
>>> Also how else would you enable an external command to act on multiple
>>> messages?
>>
>> You can run 'cat | whatever' with vm-pipe-message-to-command.
>
> Sorry, that doesn't make sense.  What I had in mind is that one can
> concatenate the messages inside Emacs and send that to the command
> process.  This doesn't necessarily require asynchrony.
>
> Cheers,
> Uday

What single command does that for headers? for bodies? for whole
messages?

- Presumably I would have to first find or write a command that would
  concatenate messages, bodies, or headers to a new buffer based on the
  prefix (which could take up a lot of added buffer room if you run this
  on your whole Inbox)

- Then I would have to make sure that functionality is there to take
  care of separators.

- Then I would have to do something like call process on it and write
  handlers to do this asynchronously properly....

Or I could just use the existing command vm-pipe-messages-to-command
that does this ;)
Technical Details
Message-ID: <m2ljg8uzec.fsf@consult.pretender>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder.news-service.com!188.40.43.213.MISMATCH!feeder.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
References: <m2d41p7sho.fsf@consult.pretender> <m2iqbg5zjg.fsf@consult.pretender> <hi0018$1gk$1@north.jnrs.ja.net> <m21vi45kxy.fsf@consult.pretender> <hi0e67$5b2$1@north.jnrs.ja.net> <m2tyv03yq9.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> <hi833v$afq$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!news4.google.com!feeder.news-service.com!188.40.43.213.MISMATCH!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: Fri, 08 Jan 2010 15:15:07 -0500
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <m2ljg8uzec.fsf@consult.pretender>
References: <m2d41p7sho.fsf@consult.pretender>
 <m2iqbg5zjg.fsf@consult.pretender> <hi0018$1gk$1@north.jnrs.ja.net>
 <m21vi45kxy.fsf@consult.pretender> <hi0e67$5b2$1@north.jnrs.ja.net>
 <m2tyv03yq9.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> <hi833v$afq$1@north.jnrs.ja.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Date: Fri, 8 Jan 2010 20:15:07 +0000 (UTC)
Injection-Info: feeder.eternal-september.org; posting-host="o0xooYC/dlyFpPxuXQpbEw";
 logging-data="17723"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18F7+j5XSdx2I4/TSzyWaolr8XYUKuyS8I="
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)
Cancel-Lock: sha1:T18On/62auMY5s1mIyzmR2W3CAg=
 sha1:Xhplz1ftJChtPTc0NbwqlavhFSY=