From: Katsumi Yamaoka <yamaoka@jpl.org>
To: ding@gnus.org
Subject: Re: Pretty-printing .newsrc.eld
Date: Sat, 16 Jun 2007 20:31:54 +0900 [thread overview]
Message-ID: <b4mir9ogmol.fsf@jpl.org> (raw)
In-Reply-To: <v9r6od6s3l.fsf@marauder.physik.uni-ulm.de>
>>>>> In <v9r6od6s3l.fsf@marauder.physik.uni-ulm.de>
>>>>> Reiner Steib <reinersteib+gmane@imap.cc> wrote:
>>> (defun rs-gnus-save-newsrc-with-whitespace-1 ()
>>> "Save ~/.newsrc.eld with extra whitespace."
>> This took 6 seconds while the rich man's version took 18 seconds
>> (in the condition where: (length gnus-newsrc-alist) => 1552).
> Hm. For me it writes the file in less than a second (with a length of
> 650).
The reason it was too slow might be that I was displaying the
buffer visiting the .newsrc.eld file while trying your function.
I cannot verify it since I'm now home and don't have many groups.
Sorry.
> I'd guess that...
> - (princ "(setq ")
> + (princ "\n(setq ")
> ... doesn't add any noticeable delay and nobody will be disturbed by the
> extra newline. So I will commit it.
Please go ahead.
prev parent reply other threads:[~2007-06-16 11:31 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
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 [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=b4mir9ogmol.fsf@jpl.org \
--to=yamaoka@jpl.org \
--cc=ding@gnus.org \
/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).