Article View: news.software.readers
Article #64045[slrn] saving message by subject
From: Alessandro Airaghi
Date: Mon, 31 Jul 2000 00:00
Date: Mon, 31 Jul 2000 00:00
43 lines
1715 bytes
1715 bytes
Hi,
I'm not a programmer and I'm a newbie with slang.
This is my little macro:
------------------------------------------------------------------------
% "read_mini_at_end" by John E. Davis
define read_mini_at_end (a, b, c)
{
ungetkey (5); % ^E
return read_mini (a, b, c);
}
define salva ()
{
variable
titolo = extract_article_header ("Subject"),
file = Sprintf ("%s/%s", get_variable_value("save_directory"),titolo,2);
file = read_mini_at_end ("Save to file (^G aborts)", "", file);
set_input_string (file);
call ("save");
}
definekey ("salva", "o", "article");
------------------------------------------------------------------------
But:
1. I'm not able to remove "Re:" or "R:" from subject
2. the [Del] key dosn't work with read_mini function
Someone can help me?
TIA.
Ciao
Ale
--
Home Page: http://web.tiscalinet.it/airaghi
Per ottenere il mio indirizzo e-mail sostituire a NOSPAM il mio cognome
Technical Details
Message-ID:
<slrn8ob5qr.k3.a.NOSPAM@localhost.localdomain>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <slrn8ob5qr.k3.a.NOSPAM@localhost.localdomain> Subject: [slrn] saving message by subject Date: Mon, 31 Jul 2000 00:00:00 +0000 From: a.NOSPAM@tiscalinet.it (Alessandro Airaghi) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 652806158 X-Complaints-To: newsadmin@tiscali.it X-Trace: lacerta.tiscalinet.it 965056415 13972 62.11.54.64 (31 Jul 2000 15:13:35 GMT) Organization: Tiscali Spa User-Agent: slrn/0.9.6.2 (Linux) Reply-To: a.NOSPAM@tiscalinet.it NNTP-Posting-Date: 31 Jul 2000 15:13:35 GMT Newsgroups: news.software.readers