🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #59907

[slrn] How about a hook for article view hiding/unhiding?

#59907
From: Dawn Owens-Nicholson
Date: Fri, 31 Mar 2000 00:00
31 lines
2676 bytes
Drazen Kacar wrote:
> Yes, but since that's a rather specific need, I thought it's not worth
> implementing. And having a hook which executes after every command is a
> more generic interface. Of course, that's the road to [X]Emacs...

Yes, and you're not the only one to request such a hook and it's not out of
line with hooks that have been implemented in the past in that the hook is
tied to specific intrinsic calls (except that this hook is unique in that it
will be called in so many instances, so I imagine code to run the hook will
appear in many places in slrn).

Another way to go would be a hook which runs every time there is either a
hide/unhide change *or* the article in the view changes (not including a
change made by replace_article(), of course, since you know whether your
article is different from what's already there).  Unfortunately, this means
even more places this hook would be called, but I imagine it would be quite
handy for you since you need to be notified when to update the rendered
X-Face image.

> No. It's not a top level window managed by a Window Manager.

How about making it a top level window?

I would have thought you could take some PBM utility to convert the X-Face
data into something commonly manipulated (like a PNG, for instance) and
render the PNG into a window, updating the window's content when necessary
(like when the article view changes).

Good luck in your endeavour.

Technical Details
Message-ID: <slrn8e8ims.lgc.bluemoon@ux6.cso.uiuc.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.mbox.zip!not-for-mail
References: <slrn8dru4f.1fu.ajlewis2@sidekick.com> <slrn8dsj5c.d5.efflandt@efflandt.xnet.com> <slrn8dsllf.nk.ajlewis2@sidekick.com> <slrn8dt1tg.g53.dave@svarozic.srce.hr> <86d7ohw8in.fsf@ragndahl.cx> <slrn8e6k9p.lrb.dave@svarozic.srce.hr> <slrn8e6n1m.lt6.dave@svarozic.srce.hr> <slrn8e7d60.2s1.bluemoon@ux6.cso.uiuc.edu> <slrn8e7ias.mkf.dave@svarozic.srce.hr> <slrn8e88it.lgc.bluemoon@ux6.cso.uiuc.edu> <slrn8e8cuq.oj3.dave@svarozic.srce.hr>

Show Full Headers
Complete Article Headers
Message-ID: <slrn8e8ims.lgc.bluemoon@ux6.cso.uiuc.edu>
Subject: [slrn] How about a hook for article view hiding/unhiding?
Date: Fri, 31 Mar 2000 00:00:00 +0000
From: bluemoon@ux6.cso.uiuc.edu (Dawn Owens-Nicholson)
References: <slrn8dru4f.1fu.ajlewis2@sidekick.com> <slrn8dsj5c.d5.efflandt@efflandt.xnet.com> <slrn8dsllf.nk.ajlewis2@sidekick.com> <slrn8dt1tg.g53.dave@svarozic.srce.hr> <86d7ohw8in.fsf@ragndahl.cx> <slrn8e6k9p.lrb.dave@svarozic.srce.hr> <slrn8e6n1m.lt6.dave@svarozic.srce.hr> <slrn8e7d60.2s1.bluemoon@ux6.cso.uiuc.edu> <slrn8e7ias.mkf.dave@svarozic.srce.hr> <slrn8e88it.lgc.bluemoon@ux6.cso.uiuc.edu> <slrn8e8cuq.oj3.dave@svarozic.srce.hr>
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: 604677506
X-Complaints-To: abuse@uiuc.edu
X-Trace: vixen.cso.uiuc.edu 954485452 128.174.5.9 (Fri, 31 Mar 2000 00:50:52 CST)
Organization: University of Illinois at Urbana-Champaign
User-Agent: slrn/0.9.6.2 (HP-UX)
NNTP-Posting-Date: Fri, 31 Mar 2000 00:50:52 CST
Newsgroups: news.software.readers