From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64804 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.gnus.general Subject: Pretty-printing .newsrc.eld Date: Sun, 10 Jun 2007 20:30:06 +0300 Message-ID: <20070610173005.GA1276@kobe.laptop> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1181803391 5622 80.91.229.12 (14 Jun 2007 06:43:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 14 Jun 2007 06:43:11 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M13313@lists.math.uh.edu Thu Jun 14 08:43:09 2007 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hyj2y-0007z1-80 for ding-account@gmane.org; Thu, 14 Jun 2007 08:43:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Hyj1w-00065D-Ux; Thu, 14 Jun 2007 01:42:05 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1HxehG-0004wP-0e for ding@lists.math.uh.edu; Mon, 11 Jun 2007 02:52:18 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1HxehF-0004GF-1x for ding@lists.math.uh.edu; Mon, 11 Jun 2007 02:52:17 -0500 Original-Received: from igloo.linux.gr ([62.1.205.36]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1HxehD-0000zA-00 for ; Mon, 11 Jun 2007 09:52:15 +0200 Original-Received: from kobe.laptop ([88.218.116.251]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l5AJTlEn032151 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 10 Jun 2007 22:29:54 +0300 Original-Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.1/8.14.1) with ESMTP id l5AJTgQ1002085 for ; Sun, 10 Jun 2007 22:29:45 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Original-Received: (from keramida@localhost) by kobe.laptop (8.14.1/8.14.1/Submit) id l5AHU6LQ001359 for ding@gnus.org; Sun, 10 Jun 2007 20:30:06 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Content-Disposition: inline X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.38, required 5, ALL_TRUSTED -1.80, AWL 1.02, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No X-Spam-Score: 0.0 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64804 Archived-At: Hi all, this is probably not a Gnus-specific question, but it was triggered after trying to search in my `.newsrc.eld' for something, so if you can help that's fine, but if I should post to another mailing list address that's fine too. Is there any way to ``pretty-print'' my `.newsrc.eld' file? It currently contains parts which look like this: ,----------------------------------------------------------------------- | ("comp.lang.c" 3 ((1 | . 595414) (595416 . 595423) 595426 595428 595432 (595434 | . 595435) 595439 (595441 . 595442) 595445 595447 (595452 | . 595453) 595455 (595457 . 595458) 595470 595479 (595486 | . 595487) (595495 . 595500) 595502 595507 (595510 | . 595511) (595513 . 595515) 595518 595521 595523 595526 [...] `----------------------------------------------------------------------- After taking a backup copy, I managed to make parts of it look like this instead: ,----------------------------------------------------------------------- | ("comp.lang.c" 3 ((1 . 595414) (595416 . 595423) 595426 595428 | 595432 (595434 . 595435) 595439 | (595441 . 595442) 595445 595447 | (595452 . 595453) 595455 (595457 . 595458) | 595470 595479 (595486 . 595487) | (595495 . 595500) 595502 595507 | (595510 . 595511) (595513 . 595515) | 595518 595521 595523 595526 [...] `----------------------------------------------------------------------- But every time Gnus fires up and rewrites this file, it is saved with the first format (i.e. lacking indentation). Is there any way to make Gnus save `.newsrc.eld' using the second style, i.e. something that it a wee bit easier to skim through using `M-x view-mode' or similar?