From: andreas.koenig@anima.de (Andreas J. Koenig)
Subject: Major bug with bookmarks in oort 0.05
Date: Thu, 28 Feb 2002 17:11:22 +0100 [thread overview]
Message-ID: <a5ll64$1ac$1@quimby2.netfonds.no> (raw)
A few days or weeks ago I used the bookmark command unintentionally
for the first time ever. It's "M b" on the current article. Since I
did that, my two files ~/.newsrc.eld and ~/Mail/king-99/.marks started
to grow exponentially. When they reached 25 MB today, the machine
became pretty sluggish.
I could rescue the damage by manually editing the two files: I had to
remove the whole expression from "(bookmark " to the matching paren in
each of the two files.
I can reproduce the bug now:
1. Start emacs and gnus
2. Enter a newsgroup
3. Open an article
4. Press "M b"
5. leave group, leave gnus, leave emacs
6. Run an ls -l on ~/.newsrc.eld and the .marks file of the newsgroup
chosen in step 2
7. Start emacs again, enter gnus
8. Enter the newsgroup chosen above. No need to select any article there.
9. Leave group, leave gnus, leave emacs
Repeat 6-9. Any time I repeat, the two files are growing.
Here's a perl program that writes a small report on the two files. It
needs to be adjusted to the newsgroup you choose:
#!/usr/bin/perl -w
use strict; $|=1;
for my $file (qw(.newsrc.eld Mail/king-99/.marks)){
printf " File: %s\n", $file;
printf " Size: %d\n", -s $file;
local($/);
open F, $file or die; $_ = <F>; close F;
/ ( \(bookmark ( ( \( [\d\s\.]+ \) )+ | \s* )+ \) ) /x;
printf "Length of bookmarkstring: %d\n", length($1||"");
printf " Bookmarkstring: %s\n", $1||"";
}
Sample output 1:
File: .newsrc.eld
Size: 140640
Length of bookmarkstring: 58
Bookmarkstring: (bookmark (32035 . 0) (32035 . 0) (32035 . 0) (32035 . 0))
File: Mail/king-99/.marks
Size: 28340
Length of bookmarkstring: 106
Bookmarkstring: (bookmark (32035 . 0) (32035 . 0) (32035 . 0) (32035 . 0) (32035 . 0) (32035 . 0) (32035 . 0) (32035 . 0))
Sample output 2:
File: .newsrc.eld
Size: 140676
Length of bookmarkstring: 94
Bookmarkstring: (bookmark (32035 . 0) (32035 . 0) (32035 . 0) (32035 . 0) (32035 . 0) (32035 . 0) (32035 . 0))
File: Mail/king-99/.marks
Size: 28424
Length of bookmarkstring: 190
Bookmarkstring: (bookmark (32035 . 0) (32035 . 0) (32035 . 0) (32035 . 0) (32035 . 0) (32035 . 0) (32035 . 0) (32035 . 0) (32035 . 0) (32035 . 0) (32035 . 0) (32035 . 0) (32035 . 0) (32035 . 0) (32035 . 0))
My emacs is 21.1, my gnus is oort 0.05. Please let me know if you need
additional info.
--
andreas
next reply other threads:[~2002-02-28 16:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-28 16:11 Andreas J. Koenig [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-02-28 16:11 Andreas J. Koenig
2003-01-02 2:16 ` Lars Magne Ingebrigtsen
2003-01-02 2:56 ` Lars Magne Ingebrigtsen
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='a5ll64$1ac$1@quimby2.netfonds.no' \
--to=andreas.koenig@anima.de \
/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).