unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Richard M. Stallman" <rms@gnu.org>
To: emacs-pretest-bug@gnu.org
Subject: bug#917: Too heavy consing in MULE file saving?
Date: Sun, 07 Sep 2008 13:40:00 -0400	[thread overview]
Message-ID: <E1KcOEy-00060n-EG@fencepost.gnu.org> (raw)

I have gc-cons-threshold at 400000, which is the default.
In Rmail, if I type d u C-x C-s, it causes a GC at the end
of saving.  I can do this over and over and it GCs every time.

I think this indicates a bug; namely, that something is doing too much
consing.

My Rmail file is around 10 meg, and has 471 messages.
But I don't see why that should matter for C-x C-s.

Just to explore, I visited another 10meg file in Fundamental mode
and got the same behavior.  I went to the end and type 1 DEL C-x C-s.
It gc's each time.

Then I tried visiting it with find-file-literally.
That way, I could type 1 DEL C-x C-s and it would save without gc.

So I think something concerned with Mule is doing too much consing.






             reply	other threads:[~2008-09-07 17:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-07 17:40 Richard M. Stallman [this message]
2008-09-07 19:01 ` bug#917: Too heavy consing in MULE file saving? Eli Zaretskii
2008-09-08  9:22   ` Richard M. Stallman

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=E1KcOEy-00060n-EG@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=917@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).