🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #230603

Re: [slrn] signature selection dependent on hierarchy, howto?

#230603
From: Allodoxaphobia
Date: Mon, 23 Feb 2009 22:37
27 lines
2256 bytes
On 23 Feb 2009 00:29:58 GMT, John E. Davis wrote:
> On Sun, 22 Feb 2009 17:24:27 +0000 (UTC), Michael Grimm <trashcan@odo.in-berlin.de>
> wrote:
>> Thank you! It works, almost ;-) Whenever I start slrn and start with
>> posting to a newsgroup then .signature will be used, and not the ones
>> defined in this macro. Whenever I start slrn and start with making a
>> follow-up to an article (right now to yours) then everything works as
>> expected.
>
> Also add it to post_hook:
>
>    register_hook ("post_hook", &set_signature);

I'm unclear where this is to be added.  Or, do I have what's needed in 
identity.sl already?:

   !if (1 == register_hook ("post_hook", "identity->assign"))
     error ("identity.sl: register_hook (post_hook)");

   !if (1 == register_hook ("followup_hook", "identity->assign"))
     error ("identity.sl: register_hook (followup_hook)");

Jonesy
-- 
  Marvin L Jones    | jonz          | W3DHJ  | linux
   38.24N  104.55W  |  @ config.com | Jonesy |  OS/2
    * Killfiling google & XXXXbanter.com: jonz.net/ng.htm
Technical Details
Message-ID: <slrngq69a0.271.bit-bucket@shell.config.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!border1.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <gnpkl9$14io$2@de-l.enfer-du-nord.net> <slrngq1bp7.prc.me@wannes.invalid> <slrngq2gn9.fb4.houghi@pasta.houghi> <slrngq2ihl.323.me@wannes.invalid> <slrngq2jve.4os.me@wannes.invalid> <slrngq2ls8.fb4.houghi@pasta.houghi> <slrngq2noc.6h6.houghi@pasta.houghi> <slrngq2rh2.jlt.jed@aluche.mit.edu> <gns1oa$1ai6$1@de-l.enfer-du-nord.net> <slrngq3rg7.uud.jed@aluche.mit.edu>

Show Full Headers
Complete Article Headers
Message-ID: <slrngq69a0.271.bit-bucket@shell.config.com>
Subject: Re: [slrn] signature selection dependent on hierarchy, howto?
Date: Mon, 23 Feb 2009 22:37:53 +0000
From: Allodoxaphobia <bit-bucket@config.com>
References: <gnpkl9$14io$2@de-l.enfer-du-nord.net> <slrngq1bp7.prc.me@wannes.invalid> <slrngq2gn9.fb4.houghi@pasta.houghi> <slrngq2ihl.323.me@wannes.invalid> <slrngq2jve.4os.me@wannes.invalid> <slrngq2ls8.fb4.houghi@pasta.houghi> <slrngq2noc.6h6.houghi@pasta.houghi> <slrngq2rh2.jlt.jed@aluche.mit.edu> <gns1oa$1ai6$1@de-l.enfer-du-nord.net> <slrngq3rg7.uud.jed@aluche.mit.edu>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Lines: 27
Reply-To: If you must, <Reply_to@my.sig.adr>
X-Trace: individual.net p09yy1uubokvbcSaDPb0GAecmV5z2gtiy+ZIXx2L+Yb/Jldv7B
Cancel-Lock: sha1:iLT7uZiPmasLB1RqvbOKTX4jkyc=
User-Agent: slrn/0.9.8.1 (FreeBSD)