From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#917: Too heavy consing in MULE file saving? Date: Sun, 07 Sep 2008 22:01:14 +0300 Message-ID: References: Reply-To: Eli Zaretskii , 917@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1220815693 14465 80.91.229.12 (7 Sep 2008 19:28:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Sep 2008 19:28:13 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: rms@gnu.org, 917@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 07 21:29:08 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KcPwO-0008VR-E1 for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Sep 2008 21:28:56 +0200 Original-Received: from localhost ([127.0.0.1]:47597 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcPvO-0006yx-M8 for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Sep 2008 15:27:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KcPv7-0006cw-8i for bug-gnu-emacs@gnu.org; Sun, 07 Sep 2008 15:27:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KcPv5-0006Zf-4q for bug-gnu-emacs@gnu.org; Sun, 07 Sep 2008 15:27:36 -0400 Original-Received: from [199.232.76.173] (port=42126 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcPv4-0006ZO-S3 for bug-gnu-emacs@gnu.org; Sun, 07 Sep 2008 15:27:34 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:33908) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KcPv4-0003Pg-Fc for bug-gnu-emacs@gnu.org; Sun, 07 Sep 2008 15:27:34 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m87JRWRo008735; Sun, 7 Sep 2008 12:27:32 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m87JA7DH002499; Sun, 7 Sep 2008 12:10:07 -0700 X-Loop: don@donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 07 Sep 2008 19:10:07 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 917 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 917-submit@emacsbugs.donarmstrong.com id=B917.122081415431861 (code B ref 917); Sun, 07 Sep 2008 19:10:07 +0000 Original-Received: (at 917) by emacsbugs.donarmstrong.com; 7 Sep 2008 19:02:34 +0000 Original-Received: from mtaout5.012.net.il (mtaout5.012.net.il [84.95.2.13]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m87J2VZE031852 for <917@emacsbugs.donarmstrong.com>; Sun, 7 Sep 2008 12:02:32 -0700 Original-Received: from HOME-C4E4A596F7 ([84.229.211.50]) by i_mtaout5.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K6U001VMA76TKB2@i_mtaout5.012.net.il> for 917@emacsbugs.donarmstrong.com; Sun, 07 Sep 2008 22:01:55 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Sun, 07 Sep 2008 15:27:36 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:20304 gmane.emacs.pretest.bugs:23008 Archived-At: > From: "Richard M. Stallman" > Date: Sun, 07 Sep 2008 13:40:00 -0400 > Cc: > > 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. I'm not surprised: saving a file visited non-literally causes its contents to be encoded, which generally means we wipe out the text and replace it with its encoded representation. That this conses _a_lot_, especially for large files, does not come as a surprise to me. Perhaps I'm missing something, though.