Article View: news.software.readers
Article #45786Re: [slrn] select signature while replying ?
From: Krzysztof P. Jasiutowicz
Date: Fri, 08 Jan 1999 00:00
Date: Fri, 08 Jan 1999 00:00
28 lines
1815 bytes
1815 bytes
On 6 Jan 99 13:06:40 GMT, Peppe <c928400@student.dtu.dk> 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 ?
>I do something like that for my "realname" setting. If the current
>group includes one of two substrings, it gets a special value. To do
>so I have the following in my ~/.slrn.sl file.
>define my_realname ()
>{
> if (is_substr (current_newsgroup (), "k-net")
> or is_substr (current_newsgroup (), "bergsoe"))
>
> set_string_variable ("realname", "Peppe -pbk3104");
> else
> set_string_variable ("realname", "Peppe");
>}
I solved this problem along the lines you mentioned in
your post but using article_mode_hook.
I am glad that slrn can be so easily customized. Thanks !
Regards,
kpj.
--
Krzysztof P. Jasiutowicz, M.D | Czestochowa, Poland ...
kpjas@priv.onet.pl @box43.gnet.pl | Linux 2.0.36 Red Hat 5.2 KDE 1.0
http://friko.onet.pl/cz/kpjas/ | mutt 0.95i VIM 5.3 slrn 0.9.5.4 ...
Technical Details
Message-ID:
<slrn79ab5a.194.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-mailReferences:
<slrn793pdn.n9.kpjas@apex.mount.net> <slrn796nti.mcd.c928400@urdybet.pbk.dk>Show Full Headers
Complete Article Headers
Message-ID: <slrn79ab5a.194.kpjas@apex.mount.net> Subject: Re: [slrn] select signature while replying ? Date: Fri, 08 Jan 1999 00:00:00 +0000 From: kpjas@priv.onet.pl (Krzysztof P. Jasiutowicz) References: <slrn793pdn.n9.kpjas@apex.mount.net> <slrn796nti.mcd.c928400@urdybet.pbk.dk> 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: 430130969 Organization: @ the Very Private Residence User-Agent: slrn/0.9.5.4 (UNIX) Reply-To: kpjas@priv.onet.pl Newsgroups: news.software.readers