Article View: news.software.readers
Article #200409Re: [SLRN] Custom filename for My_Posts
From: Adam Funk
Date: Fri, 08 Jun 2007 09:49
Date: Fri, 08 Jun 2007 09:49
32 lines
2150 bytes
2150 bytes
On 2007-06-08, Troy Piggins wrote:
> * Michael DeBusk is quoted & my replies are inline below :
>> On Thu, 7 Jun 2007 21:06:22 +0100, Adam Funk <a24061@ducksburg.com> wrote:
>>
>>> You could try like this:
>>>
>>> set_string_variable ("save_posts",
>>> sprintf ("/home/michael/news/My_Posts_%d%02d",
>>> tm.tm_year + 1900, tm.tm_mon + 1));
>>>
>>> and I think you'd get something similar to what you want.
>>
>> It does look like what I'm after, though to know for sure I'll have to
>> look at some s-lang docs.
>>
>> I imagine I should comment out the save_posts line in my .slrnrc. Is
>> that correct?
>
> Well, it doesn't matter. It will be set to whatever your macro
> sets it to. If it was me, I'd have it set as My_Posts in
> .slrnrc, and if anything ever ended up in there, you'd know to
> look for a problem in your macro :)
I agree. I have these lines
set save_posts "News/sent/sent.news"
interpret ".slrn/macros.sl"
in ~/.slrnrc, and the stuff I pasted earlier in ~/.slrn/macros.sl, so
that sent.news would trap anything that my funny code missed (so far,
so good).
Technical Details
Message-ID:
<valnj4-n5q.ln1@news.ducksburg.com>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!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<ZV79i.18236$j63.7154@newsread2.news.pas.earthlink.net> <u25mj4-ogb.ln1@news.ducksburg.com> <896ai.18262$Ut6.17126@newsread1.news.pas.earthlink.net> <20070608161050@usenet.piggo.com>Show Full Headers
Complete Article Headers
Message-ID: <valnj4-n5q.ln1@news.ducksburg.com> Subject: Re: [SLRN] Custom filename for My_Posts Date: Fri, 8 Jun 2007 10:49:51 +0100 From: Adam Funk <a24061@ducksburg.com> References: <ZV79i.18236$j63.7154@newsread2.news.pas.earthlink.net> <u25mj4-ogb.ln1@news.ducksburg.com> <896ai.18262$Ut6.17126@newsread1.news.pas.earthlink.net> <20070608161050@usenet.piggo.com> 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!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Lines: 32 X-Trace: individual.net dZxLcL/FHPaLi5/C9iV7gwF9yTOnJnSl2dHKNI4Fh3oZhTWGgZ X-Orig-Path: news.ducksburg.com!news User-Agent: slrn/0.9.8.1pl1 (Debian)