From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53695 Path: main.gmane.org!not-for-mail From: Reiner Steib <4.uce.03.r.s@nurfuerspam.de> Newsgroups: gmane.emacs.gnus.general Subject: Re: would it hurt to put more newlines in .newsrc.eld? Date: Tue, 12 Aug 2003 22:18:14 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: References: <87fzk76f6g.fsf@jidanni.org> Reply-To: reiner.steib@gmx.de NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1060719575 10246 80.91.224.253 (12 Aug 2003 20:19:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Aug 2003 20:19:35 +0000 (UTC) Cc: ding@gnus.org, Dan Jacobson Original-X-From: ding-owner+M2238@lists.math.uh.edu Tue Aug 12 22:19:33 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19mfcD-0000yQ-00 for ; Tue, 12 Aug 2003 22:19:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19mfb8-0002f7-00; Tue, 12 Aug 2003 15:18:26 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19mfaz-0002ez-00 for ding@lists.math.uh.edu; Tue, 12 Aug 2003 15:18:17 -0500 Original-Received: (qmail 89712 invoked by alias); 12 Aug 2003 20:18:17 -0000 Original-Received: (qmail 89703 invoked from network); 12 Aug 2003 20:18:17 -0000 Original-Received: from gemini.rz.uni-ulm.de (HELO mail.rz.uni-ulm.de) (134.60.246.16) by sclp3.sclp.com with SMTP; 12 Aug 2003 20:18:17 -0000 Original-Received: from lumberjack.physik.uni-ulm.de (lumberjack.physik.uni-ulm.de [134.60.10.173]) by mail.rz.uni-ulm.de (8.12.9/8.12.9) with ESMTP id h7CKIEeG018170; Tue, 12 Aug 2003 22:18:14 +0200 (MEST) Original-Received: by lumberjack.physik.uni-ulm.de (Postfix, from userid 170) id 7D6D518112; Tue, 12 Aug 2003 22:18:14 +0200 (CEST) Original-To: bugs@gnus.org Mail-Followup-To: Ding List X-Face: .*T0'iU(sujq_j9\J>-d4fg;N/1++U#U$_5ii6k.=|"-n'?5O:Hyz&wi'-!I~,}7~GgT=0S /&-R5sbkNy5+Xo1y{Tw2KKxi@Xh"g@]Qc|.U<*]WDd)qvGowFDvfU1F]{EDho:7P0@|oOD=Bc{K4?> WP68K[Mx:}=`ZT'6g4'f+g?;`vri2!)xGy}3:=l'(/Cea0l4lo^H5#@/Z3ev Mail-Copies-To: nobody User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) X-DCC-MessageCare-Metrics: gemini 1108; Body=3 Fuz1=3 Fuz2=3 Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53695 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53695 On Mon, Aug 11 2003, Dan Jacobson wrote: > Would it hurt to put more newlines in .newsrc.eld? Try to convince the people on ding that adding newlines makes sense. :-) > Lines too long might break some editors :-| > Also I want to look at it. I'd agree with you that it's terrible to edit without newline. But it's not supposed to be read or edited by humans. Here's a workaround: --8<---------------cut here---------------start------------->8--- ;;;###autoload (defun rs-gnus-save-newsrc-with-whitespace () "Save ~/.newsrc.eld with extra whitespace." ;; Modified version of (gnus-message 5 "Adding whitespace to .newsrc.eld") (save-excursion (goto-char (point-min)) (while (re-search-forward "(\\\"\\| ((\\| (nn" nil t) (replace-match "\n \\&" t)) (goto-char (point-min)))) (add-hook 'gnus-save-quick-newsrc-hook 'rs-gnus-save-newsrc-with-whitespace) --8<---------------cut here---------------end--------------->8--- Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/