From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/28207 Path: main.gmane.org!not-for-mail From: Per Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: nnslashdot paragraphs fix, please check Date: 14 Dec 1999 12:57:42 +0100 Organization: The Church of Emacs Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035165097 28701 80.91.224.250 (21 Oct 2002 01:51:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:51:37 +0000 (UTC) Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id GAA13875 for ; Tue, 14 Dec 1999 06:58:08 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id FAB24677; Tue, 14 Dec 1999 05:58:07 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 14 Dec 1999 05:58:17 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id FAA01368 for ; Tue, 14 Dec 1999 05:58:06 -0600 (CST) Original-Received: from sheridan.dina.kvl.dk (sheridan.dina.kvl.dk [130.225.40.227]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id GAA13870 for ; Tue, 14 Dec 1999 06:57:45 -0500 (EST) Original-Received: from zuse.dina.kvl.dk (zuse.dina.kvl.dk [130.225.40.245]) by sheridan.dina.kvl.dk (8.9.0.Beta5/8.9.0.Beta5) with ESMTP id MAA09279 for ; Tue, 14 Dec 1999 12:58:00 +0100 Original-Received: (from abraham@localhost) by zuse.dina.kvl.dk (8.9.1b+Sun/8.9.1) id MAA13491; Tue, 14 Dec 1999 12:57:43 +0100 (MET) X-Authentication-Warning: zuse.dina.kvl.dk: abraham set sender to abraham@dina.kvl.dk using -f Original-To: ding@gnus.org X-Face: +kRV2]2q}lixHkE{U)mY#+6]{AH=yN~S9@IFiOa@X6?GM|8MBp/ Original-Lines: 40 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:28207 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:28207 Slashdot paragraphs often seem to consist of the sequence
^M
as in the example below. I saw myself beginning to ramble. bear in mind i've gone a few days with little sleep and the finals beckon.

perhaps here is a truncated 'point' :)

given the dilemma as to whether ideas in and of themselves should be free, can you blame richard stallman for being so pro-free-software?

uh, yeah, that's it :-)
im going to sleep now ...

-- nnslahsdot turn

into

, but that doesn't work with the CR inbetween. The following fix will allow any whitespace between the
's. Is this the right way to solve it? Please comment. 1999-12-14 Per Abrahamsen * nnslashdot.el (nnslashdot-request-article): Allow whitespace between two `
' when translating into `

'. Index: nnslashdot.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/nnslashdot.el,v retrieving revision 5.39 diff -c -r5.39 nnslashdot.el *** nnslashdot.el 1999/12/14 00:14:06 5.39 --- nnslashdot.el 1999/12/14 11:54:50 *************** *** 344,350 **** (erase-buffer) (insert contents) (goto-char (point-min)) ! (while (search-forward "

" nil t) (replace-match "

" t t)) (goto-char (point-min)) (insert "Content-Type: text/html\nMIME-Version: 1.0\n") --- 344,350 ---- (erase-buffer) (insert contents) (goto-char (point-min)) ! (while (search-forward-regexp "
\\s-*
" nil t) (replace-match "

" t t)) (goto-char (point-min)) (insert "Content-Type: text/html\nMIME-Version: 1.0\n")