Article View: news.software.readers
Article #222334Re: automatic crossposting
From: Peter J Ross
Date: Thu, 19 Jun 2008 20:55
Date: Thu, 19 Jun 2008 20:55
70 lines
3699 bytes
3699 bytes
In news.software.readers on 19 Jun 2008 20:22:06 GMT, Frank Slootweg
<this@ddress.is.invalid> wrote:
> Peter J Ross <pjr@example.invalid> wrote:
>> In news.software.readers on 19 Jun 2008 18:42:50 GMT, Frank Slootweg
>> <this@ddress.is.invalid> wrote:
>>
>> > I don't know about trn, but 'my' newsreader - tin - can do that.
>> >
>> > tin can 'add' headers on a per newgroup basis. When you 'add' an
>> > existing header - i.e. in this case the Newsgroups: header - the
>> > 'added' header *replaces* the existing one.
>> >
>> > For example by adding this to my .tin/attributes file
>> >
>> > scope=news.software.readers
>> > x_headers=Newsgroups: news.software.readers,alt.test
>> >
>> > tin automatically replaces [1] the default:
>> >
>> > Newsgroups: news.software.readers
>> >
>> > with:
>> >
>> > Newsgroups: news.software.readers,alt.test
>> >
>> > which you can see in the header of this very article.
>>
>> That's very elegant,
>
> Please no superfluous comments! It's *my* solution, remember? :-)
>
>> but what if there were already a crosspost in the
>> Newsgroups line?
>
> It is a solution to the specific problem of/in the OP.
It's not a very robust solution, IMO. Overwriting the Newsgroups line
unconditionally doesn't appeal to me.
<...>
> Personally, I like your (vim) solution better
I like the idea of altering the Newsgroups line before it's presented
to the user for editing. My solution would be better if I'd got round
to learning how to use "if" blocks in vim scripts.
The original poster would certainly get a better answer in
comp.editors, where the vim gurus hang out.
> (How's *that* for sucking up!? :-)).
It's not half as good as sending me some crates of beer.
> I tried to do/post something like that myself, but
> didn't know how to execute a (": ...") command from .vimrc. I'm a
> (Berkeley) vi-type and doubt that vi can do that.
vim is to (original) vi as tin and slrn are to (original) rn.
> So you win. Can we now please shut up about it!? :-)
OK, as long as you agree to shut up quickly next time *you* win. :-)
--
PJR :-)
Updated documentation for slrn version pre0.9.9:
<http://pjr.lasnobberia.net/slrn-doc/>
Technical Details
Message-ID:
<slrng5lhte.62g.pjr@pjr.motzarella.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!news.motzarella.org!motzarella.org!not-for-mailReferences:
<efaqi5-24i.ln1@royalty.mine.nu> <485aa8aa$0$5498$dbd45001@news.wanadoo.nl> <slrng5lbmr.5kp.pjr@pjr.motzarella.org> <485abfee$0$67814$dbd4d001@news.wanadoo.nl>Show Full Headers
Complete Article Headers
Message-ID: <slrng5lhte.62g.pjr@pjr.motzarella.org> Subject: Re: automatic crossposting Date: Thu, 19 Jun 2008 20:55:09 +0000 From: Peter J Ross <pjr@example.invalid> References: <efaqi5-24i.ln1@royalty.mine.nu> <485aa8aa$0$5498$dbd45001@news.wanadoo.nl> <slrng5lbmr.5kp.pjr@pjr.motzarella.org> <485abfee$0$67814$dbd4d001@news.wanadoo.nl> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!news.motzarella.org!motzarella.org!not-for-mail Newsgroups: news.software.readers Organization: none Lines: 70 Reply-To: Peter J Ross <peadar.ruadh@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: feeder.motzarella.org U2FsdGVkX1/a0p5mMAR+hGyndsLQMBuxxJfvTF2Y1NtphgU2ISeLNIzWMKHFhFRB79JR2SbX+ydj6yvWO1RtWjuAGJC2TNPcXVjcSCQ0FusekcRKEFf+83ZSj83MNf84cgtyJfZj7P4= X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Thu, 19 Jun 2008 20:55:09 +0000 (UTC) X-Auth-Sender: U2FsdGVkX19I5ur2mXDB17m9JdwSpBpl Cancel-Lock: sha1:gG5zdpxBnW8CAdjjeTAU+tdO6oE= User-Agent: slrn/pre0.9.9-112/mm (Linux)