From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/19480 Path: main.gmane.org!not-for-mail From: Dan Christensen Newsgroups: gmane.emacs.gnus.general Subject: Re: Request: pretty-printing .newsrc.eld Date: Wed, 02 Dec 1998 14:08:39 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035157823 11841 80.91.224.250 (20 Oct 2002 23:50:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:50:23 +0000 (UTC) Return-Path: Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id OAA02993 for ; Wed, 2 Dec 1998 14:12:30 -0500 (EST) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.9.1/8.9.1) with ESMTP id NAA15711; Wed, 2 Dec 1998 13:10:17 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 02 Dec 1998 13:09:55 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id NAA00676 for ; Wed, 2 Dec 1998 13:09:25 -0600 (CST) Original-Received: from jhuml1.hcf.jhu.edu ([128.220.2.86]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id OAA02924 for ; Wed, 2 Dec 1998 14:09:16 -0500 (EST) Original-Received: from chow.mat.jhu.edu (chow.mat.jhu.edu [128.220.25.2]) by jhmail.hcf.jhu.edu (PMDF V5.2-29 #26381) with ESMTP id <01J4V5EU4TE8DAAHL1@jhmail.hcf.jhu.edu> for ding@gnus.org; Wed, 2 Dec 1998 14:08:41 EDT Original-Received: (from jdc@localhost) by chow.mat.jhu.edu (8.9.1/8.9.1) id OAA05961; Wed, 02 Dec 1998 14:08:39 -0500 (EST) In-reply-to: Lloyd Zusman's message of "02 Dec 1998 12:42:36 -0500" Original-To: ding@gnus.org X-Mailer: Gnus v5.6.43/Emacs 19.34 Precedence: list X-Majordomo: 1.94.jlt7 Original-Lines: 16 Xref: main.gmane.org gmane.emacs.gnus.general:19480 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:19480 Lloyd Zusman writes: > If .newsrc.eld were pretty-printed, this would be a lot easier for me. I have the following in my .gnus.el to accomplish this. Not sure if it is the best way to do it, but it works. ;; Save the .newsrc.eld file with extra line breaks. (add-hook 'gnus-save-quick-newsrc-hook '(lambda () (gnus-message 4 "Breaking lines") (save-excursion (goto-char (point-min)) (while (re-search-forward " *\\((\\\"\\)" nil t) (replace-match "\n\\1"))))) Dan