Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc: ding@gnus.org
Subject: Re: Pretty-printing .newsrc.eld
Date: Thu, 14 Jun 2007 16:27:33 +0900	[thread overview]
Message-ID: <b4m1wgfov16.fsf@jpl.org> (raw)
In-Reply-To: <20070610173005.GA1276@kobe.laptop>

[-- Attachment #1: Type: text/plain, Size: 427 bytes --]

>>>>> In <20070610173005.GA1276@kobe.laptop> Giorgos Keramidas wrote:

> 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?

Intresting.  I lost no time in trying it.  Here it is:


[-- Attachment #2: Type: application/emacs-lisp, Size: 392 bytes --]

[-- Attachment #3: Type: text/plain, Size: 1060 bytes --]


It works, however it takes too much time and the ones it makes
are not very easy to read. :<

[...]

> ,-----------------------------------------------------------------------
>| ("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?

Maybe we need a better and faster function that replaces `pp'.

  reply	other threads:[~2007-06-14  7:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-10 17:30 Giorgos Keramidas
2007-06-14  7:27 ` Katsumi Yamaoka [this message]
2007-06-14 19:24   ` Reiner Steib
2007-06-15  6:59     ` Katsumi Yamaoka
2007-06-15 17:32       ` Reiner Steib
2007-06-16 11:31         ` Katsumi Yamaoka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b4m1wgfov16.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=ding@gnus.org \
    --cc=keramida@ceid.upatras.gr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).