Article View: news.software.readers
Article #45735Re: [slrn] select signature while replying ?
From: Kikutani Makoto
Date: Thu, 07 Jan 1999 00:00
Date: Thu, 07 Jan 1999 00:00
37 lines
1908 bytes
1908 bytes
On 5 Jan 1999 21:25:13 GMT, Krzysztof P. Jasiutowicz <kpjas@priv.onet.pl> wrote:
> I would like to select a signature file dependent on
> newsgroup's name :
> other for news.software.readers and other for pl.comp.os.linux etc
> I believe it can be done through a macro but how ?
For example, my ~/.slrn.sl has the following:
define article_mode_hook ()
{
variable signature_file = ".signature-eng"; % english signature
variable followup = "On %d, %r <%f> wrote:";
if (is_substr (current_newsgroup (), ".listing"))
editor = "vim";
if (is_substr (current_newsgroup (), "fj.") or
is_substr (current_newsgroup (), "japan.") or
is_substr (current_newsgroup (), "local.test") ) {
signature_file = ".signature"; % japanese signature
followup = "<some Japanese which maybe you cannot read>:\n";
}
set_string_variable ("signature", signature_file);
set_string_variable ("followup", followup);
}
I want to use my Japanese signature (and followup string) only for
Japanese newsgroups. Maybe you can use this method.
--
Kikutani, Makoto kikutani@sprintmail.com
Technical Details
Message-ID:
<7732kd$oul$1@ash.prod.itd.earthlink.net>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-mailReferences:
<slrn793pdn.n9.kpjas@apex.mount.net>Show Full Headers
Complete Article Headers
Message-ID: <7732kd$oul$1@ash.prod.itd.earthlink.net> Subject: Re: [slrn] select signature while replying ? Date: Thu, 07 Jan 1999 00:00:00 +0000 From: kikutani@sprintmail.com (Kikutani Makoto) References: <slrn793pdn.n9.kpjas@apex.mount.net> 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: 429912356 X-Posted-Path-Was: kikutani X-ELN-Date: 7 Jan 1999 19:41:01 GMT X-ELN-Insert-Date: Thu Jan 7 11:45:03 1999 Organization: EarthLink Network, Inc. User-Agent: slrn/0.9.5.3jp0 (UNIX) Newsgroups: news.software.readers