Gnus development mailing list
 help / color / mirror / Atom feed
From: merlyn@stonehenge.com (Randal L. Schwartz)
Cc: pinard@iro.umontreal.ca (François Pinard),
	jmarant@free.fr (Jérôme Marant),
	ding@gnus.org
Subject: Re: Better .newsrc.eld formating
Date: 06 Oct 2001 22:01:27 -0700	[thread overview]
Message-ID: <m1r8sgm4bc.fsf@halfdome.holdit.com> (raw)
In-Reply-To: <vaf1ykgd10o.fsf@INBOX.auto.gnus.tok.lucy.cs.uni-dortmund.de>

>>>>> "Kai" == Kai Großjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> writes:

Kai> pinard@iro.umontreal.ca (François Pinard) writes:
>> ;; Idée de Dan Christensen <jdc@chow.mat.jhu.edu>
>> ;; 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))

Kai> Whee.  Why not just use `pp' to print the stuff out?

Cuz PP is slow. :)

/me ducks, being the author of said routine

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!




  parent reply	other threads:[~2001-10-07  5:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-06 16:01 Jérôme Marant
2001-10-06 15:16 ` François Pinard
2001-10-06 19:25   ` Kai Großjohann
2001-10-06 21:40     ` François Pinard
2001-10-06 22:47     ` Jérôme Marant
2001-10-07  9:51       ` Kai Großjohann
2001-10-07 12:27         ` Jérôme Marant
2001-10-07  5:01     ` Randal L. Schwartz [this message]
2001-10-06 22:46   ` Jérôme Marant

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=m1r8sgm4bc.fsf@halfdome.holdit.com \
    --to=merlyn@stonehenge.com \
    --cc=ding@gnus.org \
    --cc=jmarant@free.fr \
    --cc=pinard@iro.umontreal.ca \
    /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).