Gnus development mailing list
 help / color / mirror / Atom feed
From: Dan Christensen <jdc@chow.mat.jhu.edu>
Subject: Re: Request: pretty-printing .newsrc.eld
Date: Wed, 02 Dec 1998 14:08:39 -0500	[thread overview]
Message-ID: <x74srez7ig.fsf@chow.mat.jhu.edu> (raw)
In-Reply-To: Lloyd Zusman's message of "02 Dec 1998 12:42:36 -0500"

Lloyd Zusman <ljz@asfast.com> 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


      reply	other threads:[~1998-12-02 19:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-02 17:42 Lloyd Zusman
1998-12-02 19:08 ` Dan Christensen [this message]

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=x74srez7ig.fsf@chow.mat.jhu.edu \
    --to=jdc@chow.mat.jhu.edu \
    /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).