From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Indentation and gc Date: Sat, 11 Mar 2023 21:00:19 +0800 Message-ID: <87o7ozcujg.fsf@yahoo.com> References: <20230310110747.4hytasakomvdyf7i.ref@Ergus> <20230310110747.4hytasakomvdyf7i@Ergus> <87a60k657y.fsf@web.de> <838rg4zmg9.fsf@gnu.org> <87ttyrwobj.fsf@localhost> <20230311111730.fatow74xnbel7t3f@Ergus> <83o7ozwju8.fsf@gnu.org> <87jzznwjh3.fsf@localhost> <83jzznwjeh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7020"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Ihor Radchenko , spacibba@aol.com, arne_bab@web.de, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Mar 11 14:00:55 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1payqE-0001gl-Fr for ged-emacs-devel@m.gmane-mx.org; Sat, 11 Mar 2023 14:00:54 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1payq0-0006KS-86; Sat, 11 Mar 2023 08:00:40 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1paypz-0006K5-4g for emacs-devel@gnu.org; Sat, 11 Mar 2023 08:00:39 -0500 Original-Received: from sonic312-23.consmr.mail.ne1.yahoo.com ([66.163.191.204]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1paypx-0001DS-FD for emacs-devel@gnu.org; Sat, 11 Mar 2023 08:00:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1678539633; bh=/z0lFtDDkmrt74ikWedVwCcX61mLXXW0TXAunPrqmsg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=uF/Z4Fd06TmExiUPS/yNTJ4H5k+YYlbztb4g62ntEjw7byRqum41o3QrmAHhRdHc7XYr8FDD3mnekJPfm+yz5plVpIJuv0ZYLOBB7Zt9+PKG/qCNxUeOzCHO0C+pfEU9W/eKGxeBWLKjGNERfOmgE/XpZ+gcvfvD7oupq/y63uDL1dmqHcsLqfKPNI0e7imktx0/O9h5Lv+/6TJYz/vhZXJLatBS1SeoOSJw/jfzRyODLb5V/6lInMbMwgPEwqp0Rf3Yiqj18ExVhIZNTNOG7jcYDUuJduoCsxISEXGXXYrlzmQ602K6l80Od86yHPMcWa4tJ8x0exDCJaFzF20XsA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1678539633; bh=sIygkB84wBeQS20Jc0Ig2+akx6fELasEO/vwX7eDMUL=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=t2xt5CRbGCckoBr9DP2RjNF1L5EoZHM/z0s/sPmdGXZhMg63A8TuhHja9zEk92roMY0A89Dx4kY45I4mo+8Sg0v5vH7xO8n2qYL3vF9CRck+K2lmJo7L+6Tr+DPz36BhI38ZJEDz6O5ocQGiFv+m1kwrqzE+veRmkd/vehWN00NAeDt1d0a2ArOajzRCJQrh3T9e4YqDz53+p6+zJ8BU/ZrlxajKhW0a/000PmE06K74SZWV96oT+4z6uOCJbH58jh1N5L4L/5urrpOEqKojKonpavzsqmCyqTLdhyvlaVcGxXWcuXProSGiOyhJ8/+qW75cY1yYUQ2fwzi9zqkHVQ== X-YMail-OSG: tH4CsrsVM1lqqIbUFL.hqPFlUwCP7lvQDZ6Xdo.NNQzDYAMAI3ZGG3DmAuV5MRx KE6.0.eh4gZFMsm9EX3IUcP.0WDiKqS.8oLWvFnUkSlzw.xaVS3ufJaJqZD.DsWW.3IAkHxW6Pyv I02OTwAYonYrlPXAMPrpV0B2OyLMij_WfG39vLWayjjHTgxsKNSFxdW1QsvsvrfeUoEbHpY7SX2u w39BvDUGkwNC2sZDNfAUvx3Vyw_Yj9LOplMrAgQfTvloy2ZVLcjKuaos.hruKA807lyTpluzImXn axEF3001CeajNZg8foyb60Ig2EyYVe.IwsdCbbRFROyTrXZ79epAXman76F980rWFDH0mZ2Q8WmA yXJVEBGGZsLbk96A_oGagXjHK5gY0WOjOLxUbdM_0FlytHpH0dDsLwijDz7URZ.g4_4V77xIm.mv 9M3nr8.smOcO1eEo8_9EvTQepqm2xeTHixfognvHrMwdT4UyvNV3bwNpcfCwTh2OlsMh2MI.5Qcc hPWVtv7_lrhED8Xm_IP2zyo6CIGq4twX8EwHY2j64W1gTILiCw7eP5tKIH1Y021oNc7EN95eQrIz BIGsgn4PYceg9FYG6_r6dc.5zz4Tu1HOAhWMDSjY6nAYXaCE_tRbTJvZRt.D22H0HfLrCiIuXcM2 FipwwUsG_6_3XLOLUoqVV2tnAs4R5GXoADZN8W5l8tSS830b4EvguKXsBtZ35x0sPCJCzyFFytWE OBUoyBBzuwr5hTgZ0yHmoZx8nmIcCuGSjnsAkydAwtVcfcLS6VwnmsWar52z7upeZGnvQeztYS.X KXO9e5mHIszUtZV65iIk2QFM7ky6KrwYg_4HK1I46E X-Sonic-MF: X-Sonic-ID: 8c9b7085-ef5e-43d6-ae0c-8bb3e96e8111 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ne1.yahoo.com with HTTP; Sat, 11 Mar 2023 13:00:33 +0000 Original-Received: by hermes--production-sg3-67c57bccff-wt27l (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 85655a52e5721496567975ccf8a16d4b; Sat, 11 Mar 2023 13:00:30 +0000 (UTC) In-Reply-To: <83jzznwjeh.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 11 Mar 2023 14:40:38 +0200") X-Mailer: WebService/1.1.21284 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.191.204; envelope-from=luangruo@yahoo.com; helo=sonic312-23.consmr.mail.ne1.yahoo.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:304303 Archived-At: Eli Zaretskii writes: >> From: Ihor Radchenko >> Cc: Ergus , arne_bab@web.de, emacs-devel@gnu.org >> Date: Sat, 11 Mar 2023 12:39:04 +0000 >> >> Eli Zaretskii writes: >> >> >> gc-cons-threshold most-positive-fixnum ;; Defer Garbage collection >> > ^^^^^^^^^^^^^^^^^^^^ >> > NEVER do that! >> >> That's what many people do and many people suggest. > > And I take every opportunity to tell people not to do. +1. For example, Android devices are much more strict wrt memory management policy, and they have ``overcommit'' turned off, so Emacs has a chance to signal out-of-memory errors. Someone using the Android port reported that his Emacs reliably ran out of memory after a couple of minutes of editing Org files. It turns out that his `gc-cons-threshold' was 512 MB!