Path: 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: 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 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.