From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/5989 Path: main.gmane.org!not-for-mail From: Greg Stark Newsgroups: gmane.emacs.gnus.general Subject: spoiler warnings, "next page" buttons, washing functions Date: 18 Apr 1996 18:50:13 -0400 Sender: gsstark@portnoy.MIT.EDU Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035146511 2049 80.91.224.250 (20 Oct 2002 20:41:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:41:51 +0000 (UTC) Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.7.5/8.6.9) with SMTP id QAA01818 for ; Thu, 18 Apr 1996 16:17:28 -0700 Original-Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by ifi.uio.no with SMTP (8.6.11/ifi2.4) id for ; Fri, 19 Apr 1996 00:50:20 +0200 Original-Received: from PORTNOY.MIT.EDU by MIT.EDU with SMTP id AA18149; Thu, 18 Apr 96 18:49:13 EDT Original-Received: by portnoy.MIT.EDU (5.0/4.7) id AA07990; Thu, 18 Apr 1996 18:50:17 -0400 X-Yow: I want to dress you up as TALLULAH BANKHEAD and cover you with VASELINE and WHEAT THINS.. X-Spook: nuclear Clinton Marxist $400 million in gold bullion Treasury Original-To: ding@ifi.uio.no Original-Lines: 32 X-Mailer: September Gnus v0.68/Emacs 19.30 Xref: main.gmane.org gmane.emacs.gnus.general:5989 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:5989 So i've just started reading a newsgroup with spoiler warnings. Spoiler warnings are there to prevent people from reading things that spoil future episodes of a tv show or a movie; things like ``Rosebud was his ______'' or the ``Maltese Falcon was ______'' The spoiler warnings usually consist of some subset of a few ^L's lots of blank lines, etc. Gnus does pretty cool things with them, but not really cool enough. If there are multiple ^L's the i have to hit SPC several times to get to the message; if there are 25 blank lines then lots of screen real-estate is wasted; sometimes the spoiler space is quoted with >'s and it gets hidden as a citation. What i want is for Gnus to treat any sequence or combination of the following as a single spoiler warning and hide it all, replacing it with a "Next Page" button: ^L's more than n blank lines more than m identical lines (which should be replaced with button to show them) any whitespace surrounding any of the above greg