From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/39173 Path: main.gmane.org!not-for-mail From: jerome.marant@free.fr (=?iso-8859-1?q?J=E9r=F4me?= Marant) Newsgroups: gmane.emacs.gnus.general Subject: Re: Better .newsrc.eld formating Date: 07 Oct 2001 00:47:24 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: <87wv28wflv.fsf@marant.org> References: <87669s3ggn.fsf@marant.org> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035174922 26475 80.91.224.250 (21 Oct 2002 04:35:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:35:22 +0000 (UTC) Return-Path: Original-Received: (qmail 14862 invoked from network); 6 Oct 2001 20:44:17 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 6 Oct 2001 20:44:17 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 15pyIh-0001Bc-00; Sat, 06 Oct 2001 15:43:59 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 06 Oct 2001 15:43:36 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id PAA13723 for ; Sat, 6 Oct 2001 15:43:25 -0500 (CDT) Original-Received: (qmail 14831 invoked by alias); 6 Oct 2001 20:43:43 -0000 Original-Received: (qmail 14826 invoked from network); 6 Oct 2001 20:43:43 -0000 Original-Received: from aragon.noos.net (HELO smtp.noos.fr) (212.198.2.75) by gnus.org with SMTP; 6 Oct 2001 20:43:43 -0000 Original-Received: (qmail 31727825 invoked by uid 0); 6 Oct 2001 20:43:15 -0000 Original-Received: from unknown (HELO chinon) ([195.132.47.48]) (envelope-sender ) by 212.198.2.75 (qmail-ldap-1.03) with SMTP for ; 6 Oct 2001 20:43:15 -0000 Original-Received: from jerome by chinon with local (Exim 3.32 #1 (Debian)) id 15q0E8-0000Fq-00 for ; Sun, 07 Oct 2001 00:47:24 +0200 Original-To: ding@gnus.org In-Reply-To: Original-Lines: 23 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:39173 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:39173 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes: > pinard@iro.umontreal.ca (François Pinard) writes: > > > ;; Idée de Dan Christensen > > ;; Save the .newsrc.eld file with extra line breaks. > > (defun fp-gnus-save-quick-newsrc-routine () > > (gnus-message 4 "Adding whitespace to .newsrc.eld") > > (save-excursion > > (goto-char (point-min)) > > (while (re-search-forward "^(\\|(\\\"" nil t) > > (replace-match "\n\\&" t)) > > Whee. Why not just use `pp' to print the stuff out? What is the way to use pp on file like .newsrc.eld? -- Jérôme Marant HTTP://marant.org