From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#68200: 30.0.50; Emacs reloads init file when calling `documentation' Date: Thu, 11 Jan 2024 11:54:38 -0800 Message-ID: References: <8734vgjya9.fsf@web.de> <83wmsrzxtk.fsf@gnu.org> <875y056hvj.fsf@web.de> <8334v9simj.fsf@gnu.org> <877ckloxos.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31745"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Gerd =?UTF-8?Q?M=C3=B6llmann?= , Eli Zaretskii , 68200@debbugs.gnu.org To: Alan Mackenzie , Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 11 20:55:22 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1rO194-0007lQ-5L for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 11 Jan 2024 20:55:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rO18s-0007bN-Hd; Thu, 11 Jan 2024 14:55:06 -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 1rO18r-0007b6-7H for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2024 14:55:05 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rO18q-0000Ry-M9 for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2024 14:55:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rO18n-00021J-Kh for bug-gnu-emacs@gnu.org; Thu, 11 Jan 2024 14:55:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Jan 2024 19:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68200 X-GNU-PR-Package: emacs Original-Received: via spool by 68200-submit@debbugs.gnu.org id=B68200.17050028857733 (code B ref 68200); Thu, 11 Jan 2024 19:55:01 +0000 Original-Received: (at 68200) by debbugs.gnu.org; 11 Jan 2024 19:54:45 +0000 Original-Received: from localhost ([127.0.0.1]:33972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rO18X-00020f-GM for submit@debbugs.gnu.org; Thu, 11 Jan 2024 14:54:45 -0500 Original-Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]:57704) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rO18V-00020S-BM for 68200@debbugs.gnu.org; Thu, 11 Jan 2024 14:54:44 -0500 Original-Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-5574feb7958so6704859a12.3 for <68200@debbugs.gnu.org>; Thu, 11 Jan 2024 11:54:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705002879; x=1705607679; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=+A453Wg8k6Ye9/eLPZBOHh0NVLjJOIJ8uBFlPPKgeqM=; b=GYvrWtWSMgtcKC6OXOA9FRJUL8cYm2iT94rdR0MVSIs4KOB6frzgrT09qTH3Ugburg KG85yvjBpeU4tYLi3fPOfo4Ve8cyXToJtxxZIKutd0gpjXHBZs4NdQjj/be+hDsSx9Z1 6iAjxMjczq9frEWAdkEAXbLfTtiiU5JIkJ1hsJJDr6LR1/3hE6ILlmeY0scjs3phLlbP UmM+Ekg/p0gERpN5pOBMNteaGKTNbj0ME/+LttLiK86pe6y8idyB+rHXzrHlUkfm2u87 IKKm5VBw78oLJ54+LwPd/PNacVDMRk0RZK3WPhC6/MdhztD8cJMgOX/f1uXrZKXKiSev hXdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705002879; x=1705607679; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+A453Wg8k6Ye9/eLPZBOHh0NVLjJOIJ8uBFlPPKgeqM=; b=bb0eUDbeIxplYbCNoXxytYnyqjV1ltgok8bX962lzqeFjs8jjWp8iUrVwbnSypJ1kU r80qKnwcva0pCBjul4ANNtJI5ZZLUZSKTya3cnpFKDP/31e7bFiPrRuAeJL9b0LQQ7Q0 O9MuwMvW4lLtu1NNk/i/jbww2nLjVFGvrS1LTPwdnEXwvOmeL+epGWFEXlHTHqJzCLTE 1rd6m3vJEmxVry6asoW5B326e/4m+iykv/YR9OXh+aFH9Q+j9JexbTO1qRLdf6u6d9XH xx2TItHy/kH8Wv5hFS0LZchxqtHX6TCa/Yl/wtdBVJnt12+kg0hQcZ4vFkmKNTQEylSK b4hA== X-Gm-Message-State: AOJu0YxyIWmdYu80RmSkrF21SP/Gg8WD5aGc+9QMgdLG1sYjQkskv5cF UqNIjlqjJ0PpOBkZpKtjzUgJROD4flN+XFvc0ec= X-Google-Smtp-Source: AGHT+IGp6cMnuNaio8ucqcQ2q7V5K2POri38SFjxBLky1wZoDHnGmgTW+7iOyiLT/kDF2Ebfvlb+vHZ7o8VUQal0pnE= X-Received: by 2002:a50:ccc9:0:b0:557:391d:6da2 with SMTP id b9-20020a50ccc9000000b00557391d6da2mr93161edj.82.1705002879076; Thu, 11 Jan 2024 11:54:39 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 11 Jan 2024 11:54:38 -0800 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:277941 Archived-At: Alan Mackenzie writes: > In an age when a computer with 1 GB RAM is regarded as small indeed, why > are we so concerned about the, at most, few hundred bytes occupied by > each doc string? Even if certain libraries were given adequate doc > strings, that still wouldn't swell the occupied storage to more than... > Well, I think there are around 40,000 defuns (etc.) in Emacs (I did scan > the source files for this at one time). If each doc string were on > average 1024 bytes, that would come to around 40 MB. That's negligible > these days, surely. > > Eli, what would you say to changing the default of the custom variable > byte-compile-dynamic-docstrings to nil? Could you come up with a more accurate number? Maybe I'm missing something, but 40 MB sounds like a lot to me. Most docstrings should be much smaller than 1024 bytes (15 full rows with our 65 character width).