🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#217
From: Julian Bradfield
Date: Tue, 05 Jan 2010 11:31
35 lines
2769 bytes
On 2010-01-05, blueman <NOSPAM@nospam.com> wrote:
> Well, that was the whole reason that Robert *added* the command
> vm-pipe-messages-to-command (where the 's' is plural) ... You keep
> talking about this command as if it is yet to exist...

Oh dear. I owe you an apology.

Yes, I didn't notice the the "s". That's because it doesn't exist in
my VM (where almost nothing Rob added is included, except a few known
safe bits from rfaddons, so when I looked for it, auto-completion of
course gave me vm-pipe-message-to-command and my brain failed to
observe the inconsistency.

I apologize!

> I am talking about (and using) the vm-pipe-messages-to-command...
>
> And I would guess that if you used that command it would break at least
> as many programs since external programs *need* to see a separator
> because otherwise they have *no* way of separating messages. Indeed,
> that is the whole purpose of message separators.

However, looking at that function, I see that Rob has already
anticipated your need: you can simply set

(setq vm-pipe-messages-to-command-start
      "From Bogus From Line to Satisfy sa-learn\n")
or however much it needs to look like a real From line to satisfy 
sa-learn.

But now I understand what you're saying (and I promise to read more
carefully next time you say something!), I could see an argument for
changing THAT COMMAND (but absolutely not vm-pipe-message-part) so
that it uses the current default mailbox format. (Though what it
should do with maildir format, I don't know.)
Technical Details
Message-ID: <hhv7u9$bf4$1@scotsman.ed.ac.uk>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder2.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!jnfs.ja.net!newsfeed.ed.ac.uk!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>

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!feeder2.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!jnfs.ja.net!newsfeed.ed.ac.uk!not-for-mail
From: Julian Bradfield <jcb@inf.ed.ac.uk>
Newsgroups: gnu.emacs.vm.bug
Subject: Re: Suggested fix to vm-pipe-message-part
Date: Tue, 5 Jan 2010 11:31:21 +0000 (UTC)
Organization: Edinburgh University
Lines: 35
Message-ID: <hhv7u9$bf4$1@scotsman.ed.ac.uk>
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>
NNTP-Posting-Host: krk.inf.ed.ac.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: scotsman.ed.ac.uk 1262691081 11748 129.215.25.119 (5 Jan 2010 11:31:21 GMT)
X-Complaints-To: usenet@scotsman.ed.ac.uk
NNTP-Posting-Date: Tue, 5 Jan 2010 11:31:21 +0000 (UTC)
User-Agent: slrn/0.9.9p1 (Linux)