Re: Query next article - feature suggestion
Andrew <[email protected]>
| Newsgroups | gmane.network.slrn.user |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 29 Jul 2006 18:19:32 -0500, J.B. Nicholson-Owens <[email protected]> wrote: > This could be done with a macro, if I understand what you're asking for. [...] > This macro file defines a function which will run when you hit the > spacebar (the default keybinding for the article_page_down intrinsic > function. If you set the query_next_article variable to whatever you > prefer for articles too long to read all at once, this function will > reset that variable to 1 when you press spacebar on an article you're > reading in its entirety. The query_next_article setting you chose > will be reset before this macro stops running, so your other macros > and preferences should not be disturbed by using this macro. > > The name of the function matters, so unless you are willing to change 2 > lines of code, don't alter the name of the function. I named it this > way so that others can see what I'm aiming to build upon. > > I haven't tested this because it's somewhat inconvenient for me to do at > this moment, but if you'd care to share whatever error you get I'll try > to fix the error. There might be an off-by-one or off-by-two error > because I'm using a slightly cheesy way to determine if you're seeing > the entire article. Wow, this is absolutely perfect: It does exactly what I had in mind, and I've found no errors so far! I really should learn SLANG. Thanks a million, J.B.! Andrew ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV