🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.gnus
Article #816

auto-select-article hook

#816
From: Roland McGrath
Date: Tue, 23 May 1989 06:54
13 lines
1094 bytes
I would like a hook that gets executed to see if an article should be
auto-selected.  For example, I'd write a hook that checked the size of the
current article, return nil if it was > 100, t if <= 100.

Then, when I hit SPC or n and come to a new article, it will call the hook,
and select it (display the *Article* buffer) if the hook returns t.
Once I'm already there, hitting SPC should select the current article
without testing the hook.
--
	Roland McGrath
	Free Software Foundation, Inc.
roland@ai.mit.edu, uunet!ai.mit.edu!roland
Copyright 1989 Roland McGrath, under the GNU General Public License, version 1.
Technical Details
Message-ID: <MCGRATH.89May22235449@tully.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!agate!tully.Berkeley.EDU!mcgrath

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!agate!tully.Berkeley.EDU!mcgrath
From: mcgrath@tully.Berkeley.EDU (Roland McGrath)
Newsgroups: gnu.emacs.gnus
Subject: auto-select-article hook
Message-ID: <MCGRATH.89May22235449@tully.Berkeley.EDU>
Date: 23 May 89 06:54:49 GMT
Sender: usenet@agate.BERKELEY.EDU
Distribution: gnu
Organization: Hackers Anonymous International, Ltd., Inc. (Applications welcome)
Lines: 13