From unknown Thu Aug 14 21:44:21 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#68200 <68200@debbugs.gnu.org> To: bug#68200 <68200@debbugs.gnu.org> Subject: Status: File local byte-compile-dynamic-docstrings:nil ignored? Reply-To: bug#68200 <68200@debbugs.gnu.org> Date: Fri, 15 Aug 2025 04:44:21 +0000 retitle 68200 File local byte-compile-dynamic-docstrings:nil ignored? reassign 68200 emacs submitter 68200 Michael Heerdegen severity 68200 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 01 20:53:45 2024 Received: (at submit) by debbugs.gnu.org; 2 Jan 2024 01:53:45 +0000 Received: from localhost ([127.0.0.1]:49071 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKTyS-0008ET-Pn for submit@debbugs.gnu.org; Mon, 01 Jan 2024 20:53:45 -0500 Received: from lists.gnu.org ([2001:470:142::17]:60602) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKTyQ-0008EG-Aq for submit@debbugs.gnu.org; Mon, 01 Jan 2024 20:53:43 -0500 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 1rKTyI-0002pS-BL for bug-gnu-emacs@gnu.org; Mon, 01 Jan 2024 20:53:34 -0500 Received: from mout.web.de ([212.227.17.11]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rKTyG-0006Xj-G6 for bug-gnu-emacs@gnu.org; Mon, 01 Jan 2024 20:53:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1704160408; x=1704765208; i=michael_heerdegen@web.de; bh=OcUz8Chlio+1cZmGhQ5KOQX7cyqjKdfvV5X+T3kZkjg=; h=X-UI-Sender-Class:From:To:Subject:Date; b=eoFOBWZZNgjMrNIin7U3IC3g+p6AGA7zK+hWTofKt8ktou84uiG/Xb4PI+gj3vtR sgmMI/F0flxmWi4jamA56C8S5TpdlpxR10dXgIz3PeJPJ34iVDjDWqWoGCJHpmG+Z DjKSXQy7vLX0ju9yCrxeDXgMB6yxmYDKABxRAF50hjSnXgXQM7CroJ4uE6xHg/hwB RpFy/m7eNyYGBOIaU7Hpw2UB+0r3e7UIlIvtBix2kc4+lGXw5GI16fTbF6/fcqGWE 0fMTzkl/oGooU3TiIYSuIYqMF90iWim287bwFgVeJkhHAY/RCP3yS+KySdz+/hdAt CZZya/WFzl7VdGAY/Q== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from drachen.dragon ([84.59.210.83]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MbTL1-1qnL4j0qJV-00bmVC for ; Tue, 02 Jan 2024 02:53:28 +0100 From: Michael Heerdegen To: bug-gnu-emacs@gnu.org Subject: 30.0.50; Emacs reloads init file when calling `documentation' X-Debbugs-Cc: Date: Tue, 02 Jan 2024 02:53:50 +0100 Message-ID: <8734vgjya9.fsf@web.de> MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:nFh39emTBXfbYPZy4XNrkZgqd35q5hMD9H8E7dyDWUfqrwusPc7 KOAiVnY1IuY08tKPxKPoynCgkHIeMPmaWMXSzaqkZIdC1NHQWyhHgkYhkuJfBgVU0vxFw4j 1pqulgt2ChYJHn20gdavPkUsNZ4G5Cm5VYq2Uo8WjxN01kzHT73nvfSy/ZSYfd5Zy27MSDI /bZg/xFzhHU/GBpzg15FQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:JhopdST7cjA=;5Z5u88A8PCDG8UUc0dTjLA3a2Mu m3kcIbHry+BIFa2kLjtrRnT2LRzNQc6W8qzZlBuWUDbRN0FtHPk0T3D+ddQgW2HjG1c0lmvjI z8RWs1h4UBrmfPAyeb8SFSLASVecVpC1+q0tlijNUvD5Sc1k4BcKs3oj/ze0EwnOq7q/ZB1+i A2G/RsdrViP23ZrQ0DEzKy1FNd5Jh27G4Ch0kqhgpaI7SHKOrC16r5bwGyy7endEXu5Ip4xUk ZsVydTAaeXIQScg68z4kwTJ1bGyrSYlL4UO9H0V8lTmUkkpLEuZL4CbIMP2AySRpVjksrbvNB MH5+UxA2SXeX3qxHFD3x7u2Oe0JNPT1oRf72wWjOOVWiw9yP8Vi9wilsti+qGT7d1p9Kq8/Xh HDnxNBjFI7cCEpIPnvuKSnzq1aZBuFTCJ8T99QeSUROYc+LJwbTCz1tybpDxs+jKfqVvoRYHb ibltMJ4WIGSZIPYvVHcZ/uSXE+D2UZkfFthtV9hkxrD3G7Hi/a8/ynfam3FjRSnkXzhsQZoJH SVCJ/kRTXYBtGbbBsDCIX3ebg8xbmbvlI294nGhTucQNmlkQvd5O6C9BRwE+QpZZZDtv638wQ ew6Ueco7wgLfsL96phYawCfsYZCbGBLwTMakRyOJ1GgrTeVWwrNfPmCDVIRJJs78yX4E1lFSA MCh0U4CHjczcb4+94oEdxAn9XNj3gz45Zer52lHd7zmFumg07oQ4apvcBZWqdxx3NKbGDDsr4 R4nRLDBO6J5srxpLKrSiIv6YEaj1iQjmgZUiX7rkeNCl9Wv5VMI+skLIXSSq3LOCKjufl8Dqv X7TL8U/0IZi+LBTQZaqOotwkcdAlHchxpI7p+aF4znl3vtQ6lR3b7W8KfA2P1KybOi9sDGNq8 4p4/YBenV+tm2xqtrSKGRJUqLxe/dUkEYERLJGicIYxjHDa3JEC6QAZeaI14A/sPAvjB5ZXdM Ll+OUA== Received-SPF: pass client-ip=212.227.17.11; envelope-from=michael_heerdegen@web.de; helo=mout.web.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hello, I see this problem for a couple of weeks now, never saw it before: When I made edits to my config file, any running session of Emacs that has loaded this init file (including the same session) will have an issue: any action that causes `documentation' being called with one of the things defined in my init file as argument will reload the complete init file. This is a problem: it takes a lot of time and this can happen repeatedly, often I have to restart Emacs to be able to continue my work normally. There are a lot of things that trigger the call of `documentation' - not only requesting documentation explicitly, but also things like `eldoc-mode' or cl-printing expressions. I have not been able to find out why the behavior has changed. The reloading happens from C AFAIU. Please help! TIA, Michael. In GNU Emacs 30.0.50 (build 25, x86_64-pc-linux-gnu, cairo version 1.16.0) of 2024-01-02 built on drachen Repository revision: c6125a87633131308dff74fb9a1006659c8611cd Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101007 System Description: Debian GNU/Linux 12 (bookworm) From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 01 21:33:16 2024 Received: (at submit) by debbugs.gnu.org; 2 Jan 2024 02:33:17 +0000 Received: from localhost ([127.0.0.1]:49120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKUai-0000AI-Ll for submit@debbugs.gnu.org; Mon, 01 Jan 2024 21:33:16 -0500 Received: from lists.gnu.org ([2001:470:142::17]:56248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKUaf-0000A1-Te for submit@debbugs.gnu.org; Mon, 01 Jan 2024 21:33:15 -0500 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 1rKUaX-0002lf-7H for bug-gnu-emacs@gnu.org; Mon, 01 Jan 2024 21:33:05 -0500 Received: from mout.web.de ([212.227.15.3]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rKUaT-0003uz-OP for bug-gnu-emacs@gnu.org; Mon, 01 Jan 2024 21:33:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1704162771; x=1704767571; i=michael_heerdegen@web.de; bh=CzbKkne/sGYC1FUo+CoVaLSqNeOr3t82cUNa8JH0vv0=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References: Date; b=rggH2MkpAMxJpSqgyMlqDbhf0rzuF122pIGCCsePTrg+i7M4YyXQGTGdBPOARFDF JoVf9K018pXp4LHzbgoaZqWZgqdst860U011UML3E5Z84191J85/mOtb0AUdqaxPl I1Tlv7UuNpOcSJfA/gDbd6hqRJVJ7sHSpOUfZjig/TpSDpuTOJb+MomUVp4qVXTz3 c7aWJ5jkJvPMEODsGkt9JwkcmkI6pWUCig8Y+yCLVn9RZVwBi2FNMgFY3TwqfbzBz xddKpDuYrsqxGE+xDo6Kdwi0O7t7bTa5azq++puIOeBPemqw0ThJlbE/CyHIa9FTU NQ6cziz0VSZv8rDH7g== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from drachen.dragon ([84.59.210.83]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1Mq1CA-1qpERM3ifi-00nGD6; Tue, 02 Jan 2024 03:32:50 +0100 From: Michael Heerdegen To: Michael Heerdegen via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Subject: Re: bug#68200: 30.0.50; Emacs reloads init file when calling `documentation' In-Reply-To: <8734vgjya9.fsf@web.de> (Michael Heerdegen via's message of "Tue, 02 Jan 2024 02:53:50 +0100") References: <8734vgjya9.fsf@web.de> Date: Tue, 02 Jan 2024 03:33:12 +0100 Message-ID: <87wmssihw7.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:BXlq/5S6zElmPmjWIp5Czb9G8Ydm/E1IBKBHYQD26+q4PzAbto9 xUmJQu7phVjiQNhf6MhvH4KKFFTSzwbc/9x6kbxj+HJdrErQJJ28z4hAS/3THF5N4j5f3wo IMg38HOOBnANpvcvArTGTph15tPm6nZ8SkxiAHx4a4Th0ajd6mInIwUMQbcA6Fiw0hg2d80 gNl6G2VcCBRnOqDdRc/DA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:o4jQH6nyEbY=;VuSPJ2y0OF7PxxFKxVW6Rdtd0ot xdRZziBOi1luJYBnwtdU0qtyzyBd9G1VQmkEJntgIJGUHEQqTShoTkE6STV6BrwKRcydR5lh3 yMZCerjgJfk6jg3LsiqAng+mslsXILESLzLPp++lwJMoGcr/ia1BCcPde9dXkl0XOj8YuuqUZ SzEGXIwfC/1wik9jjgp5FMsLwuBpIlkBFF/HrmmBpxxFrXm4rbXShTyZ7EKbZgsbpS+rxoqcb z87TfbTO3WtduIq3MRp2zeyBjHuNdrlnipuEaRTGzS6+r638JIMIdbwwVdFeHouQl5gNesOIx f1K28yqIMfdJx5Mjce8TleAb76z0+Zl7nnozT0RfueLmO2WRV2n2tVFMPa++aKZSNFIvm3LX8 HcI1p1s0nS5KbPEUDYWcx0WHdnYzyRaldzbPklra/cmDFwovwh4tsZ4oO+Q16H1RxExNqdpE3 am84fkReNedzF59YMEIUh/9vUtiXYsAjQyIyP+C3jhAtcLvbVLfBnZ95EgaULyDatELJ6Dw1b tN0AAWQsVgrfXCMIWb+CxQluZob2n0K0+y1ornJ6PCvmeiKJqQZr4v7DrxlaHhMSS3nDqa4NM obyUeKzic5Av6cUMMeSPr6hSO6EbnnfP9jIzhWlOKZXupvbTxXG8/4LpOcJaecs4W66s8CkJN UUmXgTn4fXzhmayjqmlGNTtyqEQ72zDU6ef4ybTxrZ5VpJ7xK/npHEyHZrMbAnR8g2XKIomXJ olUhocXLt4G/KxLWwQ8OESiz5f40PZ/phRVI9yER9rnkeefr5aS+kMak9Lat687NPWZnMjJPI jJi/v0onbmInbZbuszrASausxVVlKzhocbMFhwde2G7jJYzIXLEmjBaGc+UH66zo/moN9eIHt wBwN5dH+2oTPGSkBsETGbeWAN7Lcub8LiHlB2aBN8gfmgwDjJypVHfa5rrKB9FNq4/aQyjsd6 V3M+cP7TKvTqPdLzeNa850Z/BB0= Received-SPF: pass client-ip=212.227.15.3; envelope-from=michael_heerdegen@web.de; helo=mout.web.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: 68200@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Michael Heerdegen via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > When I made edits to my config file [...] Let me add the that file in question is "~/gnu-emacs/.gnu-emacs.elc" - this file is loaded by ~/.emacs (which is the value of `user-init-file'). "~/gnu-emacs/" contains a separate git repo and I always compile all the Elisp stuff in that directory. Dunno if anything of that matters here. Michael. From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 02 08:10:00 2024 Received: (at 68200) by debbugs.gnu.org; 2 Jan 2024 13:10:00 +0000 Received: from localhost ([127.0.0.1]:49601 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKeWt-00083m-Sy for submit@debbugs.gnu.org; Tue, 02 Jan 2024 08:10:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59878) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rKeWr-00083Z-G3 for 68200@debbugs.gnu.org; Tue, 02 Jan 2024 08:09:58 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rKeWj-0005WR-Bg; Tue, 02 Jan 2024 08:09:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=p62QoRiqGmhI801QqPGwe3gXI1sL40+AC3iZdNgRZe8=; b=nRs4d1Rk1xcJ eMNMOMhw+7IWhLq7F3tsv2bDS7jofBsi7oGoOimXJrAz0yk3SoJEUPYrAljVdvEtAlKccmVyu0Fmw Vm7yiUHM4qiZ2eYOBlIInYZCv7Eq0VQP5G26+gjk7p5/+WTha5CIhO432A9+MNxVI0zCwVKyRtpZi gned9KUzThclGwNq8do3w9qK+49c/nRYtdSFQH+tOxTCi77yDMO1L+dO8zAZKmy7OMMSY0jmPELdH 2QaGOpjmPl49EmT39pgNp2hxg2PBaLrbmS4iWxtwbSNQAMaYrmsBAx9dXfHiLXpa3ApqLWQxas9+b 47WxeLmbWXVvHgmE2qkUwg==; Date: Tue, 02 Jan 2024 15:09:27 +0200 Message-Id: <83wmsrzxtk.fsf@gnu.org> From: Eli Zaretskii To: Michael Heerdegen In-Reply-To: <8734vgjya9.fsf@web.de> (bug-gnu-emacs@gnu.org) Subject: Re: bug#68200: 30.0.50; Emacs reloads init file when calling `documentation' References: <8734vgjya9.fsf@web.de> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 68200 Cc: 68200@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Tue, 02 Jan 2024 02:53:50 +0100 > From: Michael Heerdegen via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > > Hello, > > I see this problem for a couple of weeks now, never saw it before: > > When I made edits to my config file, any running session of Emacs that > has loaded this init file (including the same session) will have an > issue: any action that causes `documentation' being called with one of > the things defined in my init file as argument will reload the complete > init file. > > This is a problem: it takes a lot of time and this can happen > repeatedly, often I have to restart Emacs to be able to continue my work > normally. There are a lot of things that trigger the call of > `documentation' - not only requesting documentation explicitly, but also > things like `eldoc-mode' or cl-printing expressions. > > I have not been able to find out why the behavior has changed. The > reloading happens from C AFAIU. Please help! I don't think I understand your description, but maybe running Emacs under GDB with a breakpoint in Fload, with a condition that it will only break when the offending file is loaded, will allow you to produce a backtrace, and we could then take from there, armed with the list of possible offenders -- the functions in the backtrace. From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 06 20:40:12 2024 Received: (at 68200) by debbugs.gnu.org; 7 Jan 2024 01:40:12 +0000 Received: from localhost ([127.0.0.1]:60459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMI95-0002rv-9f for submit@debbugs.gnu.org; Sat, 06 Jan 2024 20:40:12 -0500 Received: from mout.web.de ([212.227.15.4]:42311) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMI90-0002qk-8Q for 68200@debbugs.gnu.org; Sat, 06 Jan 2024 20:40:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1704591594; x=1705196394; i=michael_heerdegen@web.de; bh=Rmh/SxJBocniNCaOpvGKS+VekgfYxWt//CB1E2Yxh9I=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References: Date; b=ls2lFBboyGnESud1/mQMWofJGWwQpwCemw72ADmws/kF7GddR81iyz5G+DEcazPa XfrC75wu2dKVE9wwaixOayTkTcXYANZ+OAf7+Dy7cX6SEhtEoymQKj6E7RX5ag9Nr s/CwgYtA7CfwZlkjP/FnsCsEA0d0sf8REC34d8+3KtEr16ta21VWj7cbG22fcXQDG BllpU/HtijbqskBvXy8ff8w7YiW3b0F7NmAImJWhkR0AY1J8zBTcQRvi8c5DqoGmc e6K0quSQZ4P33pXmf+AfLApT71fl6nep6+t77h8ljrZDjM7Xf/lS6wB4R13EWIDqX l1hpG7b3ns0dq2eCCA== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from drachen.dragon ([84.59.210.83]) by smtp.web.de (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id 1N6sG3-1r7zTZ2Sq7-017ujb; Sun, 07 Jan 2024 02:39:54 +0100 From: Michael Heerdegen To: Eli Zaretskii Subject: Re: bug#68200: 30.0.50; Emacs reloads init file when calling `documentation' In-Reply-To: <83wmsrzxtk.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 02 Jan 2024 15:09:27 +0200") References: <8734vgjya9.fsf@web.de> <83wmsrzxtk.fsf@gnu.org> Date: Sun, 07 Jan 2024 02:40:16 +0100 Message-ID: <875y056hvj.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:zhFvHLPVDMPHhnnOWKnbPAxytXMf6qMNm1LB6vfDqrNhbo751Id Plrmq8Vcwcqcbgb7GVygjZaZy1F/duJsnXvDNSaZ9qOFE7v5XURlRMF6q7rz8warXG5UBxn tQLbbJ7t31KSZe1NbOh24Q1PKhpcbBLOvPIsc8pWPQNeQ97F7N2vx8e+qtQsdbDrhWQ3t33 1d3w4rBDT/TFnmNXkyLIQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:W792LrN0RSc=;HLjgktCJFEnC1Rb04U8DV/rtEvb TsCvLJhe2s4mqIvM/ZD2AA0Sw1+bBzuIu9vqpg8E38aRrCeprMvIeCGzH34pZPMQBEgbReBbe 1NNhBiGbcxZI/BBXwXQ5tD8aSrvrocbOWLk2oy23bWZTZ7j9ZF2InFiMSRio0IikgSR+VOCPZ pliu7kFxdCd62//VgT8Vqeik3l/w4KdpAlTANH6vpNgYkAmNDwg426UNlKfiLX5IA8vWviW2G wkr3nz2SUAdPBUdvJGqVYcYDDsjh3schQgxIJyF4ar5AKgjz8NW4LbC8mDCnXOd//QbkmLkRq TKXjWS0mXzjpsg+eR//DizNMtFLzQYXdkMa22JjRb8TE+DXY3pfQdDN5xtU3/MySqnRCqyLzm j9OGUC6DEVL4c9mMjkcOpSbrmrnbSfJs99T57ucDWUIasuz82o+r5pIt/x7V533wrGR/dBjkZ fWyMRYmgklPFgb5KFf9bFvwkcCOPkYqXSmPbJcwpWZGEg4nQZ6jsqjgiTDyJU5uQ+2jAMJOav O5Fqk1Z5T34il6CRgQHrWYS7EyAWP1bqD5DrSbuuEax9lxWUw+SW34CmzFODAu5/piwf8YH4L L2srIuh6JLeytomdp6jddSaisTCdSGCxdwCwXxpnBHtc4DKS31hzHJW98XxKL54G2LWY64hIG Mpb0mZ1/0y7dRSiB9CNRaqmNwpbZmmLCkOrKuYCzxjGqYN4AJQFLApw2+Lc/I4CSw8UXxDTR8 hg8gqAH4WPme2aW/vy9Yg9gIKu0oXIuLPFhfKcLi+YiHnnMsuuOrX56VDUHqgbSWX+ViMYOi5 4667wNxSKJAFpvPYnA5OV1Km7gBQbKEhjYTRjWYTz29BFkYJwY0nPDYj/KzFw7MBqO3uJjPRl w0PQFLyyweavwdm9srzys/wyR7WrvqZDhfcmsZQyhhuaofv5pznfqN+Oio80oPAeRh6Y1phrm 93doBQ== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 68200 Cc: 68200@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Eli Zaretskii writes: > I don't think I understand your description, Please ask about unclear parts, but maybe the backtraces are good enough. > but maybe running Emacs under GDB with a breakpoint in Fload [...] I got one. [ I was lazy and was just creating a new frame at the beginning of my init file when repeated loading was detected and used a breakpoint on x_create_frame - because I did not want to learn about conditional breakpoints for now. So please don't get confused because of the innermost backtrace frames. ] What I did: I have started the debugged session, then edited and recompiled my main config file "~/gnu-emacs/.gnu-emacs.el" (which is loaded from "~/.emacs") from a separate session, and then did C-h f some-function-defined-in-my-init-file RET in the debugged session. (function-documentation 'some-function-defined-in-my-init-file) --> ("/home/micha/gnu-emacs/.gnu-emacs.elc" . 291847) if that matters. | Lisp Backtrace: | "x-create-frame" (0xf19ff750) | "x-create-frame-with-faces" (0xf19ff6e8) | 0xf2605e70 PVEC_COMPILED | "apply" (0xf19ff660) | "frame-creation-function" (0xf19ff600) | "make-frame" (0xf19ff570) | "byte-code" (0xffffb350) | "documentation" (0xf19ff518) | "describe-function-1" (0xf19ff490) | 0x598c9918 PVEC_COMPILED | "help--window-setup" (0xf19ff3f8) | "describe-function" (0xffffbf70) | 0x583df770 Lisp type 3 | 0x598c9870 PVEC_COMPILED | "helm-execute-selection-action-1" (0xf19ff300) | "helm-execute-selection-action" (0xf19ff2a0) | "helm-internal" (0xffffc848) | "apply" (0xf19ff1d8) | "helm" (0xffffcfd8) | "apply" (0xf19ff178) | "helm" (0xf19ff100) | "my-helm-describe-function" (0xffffda40) | "funcall-interactively" (0xffffda38) | "call-interactively" (0xf19ff070) | "command-execute" (0xffffe508) bt: | #0 Fx_create_frame (parms=XIL(0x55555ab08d53)) at xfns.c:4902 | #1 0x00005555557e3f89 in funcall_subr (subr=0x555555dda200 , numargs=1, args=0x7ffff19ff750) at eval.c:3090 | #2 0x0000555555835c25 in exec_byte_code (fun=XIL(0x7ffff25494b5), args_template=770, nargs=3, args=0x7ffff19ff7b8) at bytecode.c:815 | #3 0x00005555557e4296 in fetch_and_exec_byte_code (fun=XIL(0x7ffff2605e75), args_template=257, nargs=1, args=0x7ffff19ff668) at eval.c:3135 | #4 0x00005555557e460a in funcall_lambda (fun=XIL(0x7ffff2605e75), nargs=1, arg_vector=0x7ffff19ff668) at eval.c:3207 | #5 0x00005555557e3a4e in funcall_general (fun=XIL(0x7ffff2605e75), numargs=1, args=0x7ffff19ff668) at eval.c:2972 | #6 0x00005555557e3ccf in Ffuncall (nargs=2, args=0x7ffff19ff660) at eval.c:3022 | #7 0x00005555557e2e3d in Fapply (nargs=2, args=0x7ffff19ff660) at eval.c:2650 | #8 0x00005555557e41c2 in funcall_subr (subr=0x555555de3680 , numargs=2, args=0x7ffff19ff660) at eval.c:3113 | #9 0x0000555555835c25 in exec_byte_code (fun=XIL(0x7ffff230db8d), args_template=128, nargs=1, args=0x7ffff19ff600) at bytecode.c:815 | #10 0x0000555555834d38 in Fbyte_code (bytestr=XIL(0x55555b272d14), vector=XIL(0x55555a153e6d), maxdepth=make_fixnum(8)) at bytecode.c:329 | #11 0x00005555557e280f in eval_sub (form=XIL(0x55555ab08ab3)) at eval.c:2531 | #12 0x000055555581d591 in readevalloop (readcharfun=XIL(0x8610), infile0=0x7fffffffb730, sourcename=XIL(0x55555b272c54), printflag=false, unibyte=XIL(0), readfun=XIL(0), start=XIL(0), end=XIL(0)) at lread.c:2597 | #13 0x000055555581b5d4 in Fload (file=XIL(0x555556242004), noerror=XIL(0x30), nomessage=XIL(0x30), nosuffix=XIL(0x30), must_suffix=XIL(0)) at lread.c:1792 | #14 0x000055555581b89a in save_match_data_load (file=XIL(0x555556242004), noerror=XIL(0x30), nomessage=XIL(0x30), nosuffix=XIL(0x30), must_suffix=XIL(0)) at lread.c:1841 | #15 0x00005555557c9db7 in reread_doc_file (file=XIL(0x555556242004)) at doc.c:355 | #16 0x00005555557c9fc5 in Fdocumentation (function=XIL(0x2ae8b20), raw=XIL(0x30)) at doc.c:399 | #17 0x00005555557e3fb0 in funcall_subr (subr=0x555555de1800 , numargs=2, args=0x7ffff19ff518) at eval.c:3092 | #18 0x0000555555835c25 in exec_byte_code (fun=XIL(0x7ffff2264a3d), args_template=257, nargs=1, args=0x7ffff19ff5f0) at bytecode.c:815 | #19 0x00005555557e4296 in fetch_and_exec_byte_code (fun=XIL(0x5555579853d5), args_template=257, nargs=1, args=0x7fffffffbf70) at eval.c:3135 | #20 0x00005555557e460a in funcall_lambda (fun=XIL(0x5555579853d5), nargs=1, arg_vector=0x7fffffffbf70) at eval.c:3207 | #21 0x00005555557e4428 in apply_lambda (fun=XIL(0x5555579853d5), args=XIL(0x5555583df6b3), count=...) at eval.c:3157 | #22 0x00005555557e29f2 in eval_sub (form=XIL(0x5555583df723)) at eval.c:2572 | #23 0x00005555557ddbec in Fprogn (body=XIL(0)) at eval.c:432 | #24 0x00005555557e4967 in funcall_lambda (fun=XIL(0x5555583df773), nargs=1, arg_vector=0x7ffff19ff3b0) at eval.c:3287 | #25 0x00005555557e3b44 in funcall_general (fun=XIL(0x5555583df773), numargs=1, args=0x7ffff19ff3b0) at eval.c:2984 | #26 0x0000555555835c4b in exec_byte_code (fun=XIL(0x5555598c9875), args_template=257, nargs=1, args=0x7ffff19ff368) at bytecode.c:817 | #27 0x00005555557e4296 in fetch_and_exec_byte_code (fun=XIL(0x55555840ea15), args_template=2304, nargs=9, args=0x7fffffffc848) at eval.c:3135 | #28 0x00005555557e460a in funcall_lambda (fun=XIL(0x55555840ea15), nargs=9, arg_vector=0x7fffffffc848) at eval.c:3207 | #29 0x00005555557e3a4e in funcall_general (fun=XIL(0x55555840ea15), numargs=9, args=0x7fffffffc848) at eval.c:2972 | #30 0x00005555557e3ccf in Ffuncall (nargs=10, args=0x7fffffffc840) at eval.c:3022 | #31 0x00005555557e31ab in Fapply (nargs=2, args=0x7ffff19ff1d8) at eval.c:2693 | #32 0x00005555557e41c2 in funcall_subr (subr=0x555555de3680 , numargs=2, args=0x7ffff19ff1d8) at eval.c:3113 | #33 0x0000555555835c25 in exec_byte_code (fun=XIL(0x555558408e7d), args_template=128, nargs=9, args=0x7fffffffcfd8) at bytecode.c:815 | #34 0x00005555557e4296 in fetch_and_exec_byte_code (fun=XIL(0x555558408e7d), args_template=128, nargs=9, args=0x7fffffffcfd8) at eval.c:3135 | #35 0x00005555557e460a in funcall_lambda (fun=XIL(0x555558408e7d), nargs=9, arg_vector=0x7fffffffcfd8) at eval.c:3207 | #36 0x00005555557e3a4e in funcall_general (fun=XIL(0x555558408e7d), numargs=9, args=0x7fffffffcfd8) at eval.c:2972 | #37 0x00005555557e3ccf in Ffuncall (nargs=10, args=0x7fffffffcfd0) at eval.c:3022 | #38 0x00005555557e31ab in Fapply (nargs=2, args=0x7ffff19ff178) at eval.c:2693 | #39 0x00005555557e41c2 in funcall_subr (subr=0x555555de3680 , numargs=2, args=0x7ffff19ff178) at eval.c:3113 | #40 0x0000555555835c25 in exec_byte_code (fun=XIL(0x5555584558fd), args_template=257, nargs=1, args=0x7ffff19ff190) at bytecode.c:815 | #41 0x00005555557e4296 in fetch_and_exec_byte_code (fun=XIL(0x55555816c375), args_template=0, nargs=0, args=0x7fffffffda40) at eval.c:3135 | #42 0x00005555557e460a in funcall_lambda (fun=XIL(0x55555816c375), nargs=0, arg_vector=0x7fffffffda40) at eval.c:3207 | #43 0x00005555557e3a4e in funcall_general (fun=XIL(0x55555816c375), numargs=0, args=0x7fffffffda40) at eval.c:2972 | #44 0x00005555557e3ccf in Ffuncall (nargs=1, args=0x7fffffffda38) at eval.c:3022 | #45 0x00005555557d9a2f in Ffuncall_interactively (nargs=1, args=0x7fffffffda38) at callint.c:250 | #46 0x00005555557e41c2 in funcall_subr (subr=0x555555de2d80 , numargs=1, args=0x7fffffffda38) at eval.c:3113 | #47 0x00005555557e3a02 in funcall_general (fun=XIL(0x555555de2d85), numargs=1, args=0x7fffffffda38) at eval.c:2968 | #48 0x00005555557e3ccf in Ffuncall (nargs=2, args=0x7fffffffda30) at eval.c:3022 | #49 0x00005555557e2dfa in Fapply (nargs=3, args=0x7fffffffda30) at eval.c:2646 | #50 0x00005555557d9e43 in Fcall_interactively (function=XIL(0x267ee00), record_flag=XIL(0), keys=XIL(0x555559134945)) at callint.c:342 | #51 0x00005555557e3fe3 in funcall_subr (subr=0x555555de2dc0 , numargs=3, args=0x7ffff19ff070) at eval.c:3094 | #52 0x0000555555835c25 in exec_byte_code (fun=XIL(0x7ffff22d939d), args_template=1025, nargs=1, args=0x7fffffffe510) at bytecode.c:815 | #53 0x00005555557e4296 in fetch_and_exec_byte_code (fun=XIL(0x7ffff22d939d), args_template=1025, nargs=1, args=0x7fffffffe508) at eval.c:3135 | #54 0x00005555557e460a in funcall_lambda (fun=XIL(0x7ffff22d939d), nargs=1, arg_vector=0x7fffffffe508) at eval.c:3207 | #55 0x00005555557e3a4e in funcall_general (fun=XIL(0x7ffff22d939d), numargs=1, args=0x7fffffffe508) at eval.c:2972 | #56 0x00005555557e3ccf in Ffuncall (nargs=2, args=0x7fffffffe500) at eval.c:3022 | #57 0x000055555571f4e7 in command_loop_1 () at keyboard.c:1539 | #58 0x00005555557e02e6 in internal_condition_case (bfun=0x55555571ece5 , handlers=XIL(0x90), hfun=0x55555571e283 ) at eval.c:1537 | #59 0x000055555571e93a in command_loop_2 (handlers=XIL(0x90)) at keyboard.c:1157 | #60 0x00005555557df842 in internal_catch (tag=XIL(0x10860), func=0x55555571e910 , arg=XIL(0x90)) at eval.c:1217 | #61 0x000055555571e8cc in command_loop () at keyboard.c:1135 | #62 0x000055555571de25 in recursive_edit_1 () at keyboard.c:744 | #63 0x000055555571dfd1 in Frecursive_edit () at keyboard.c:827 | #64 0x000055555571a398 in main (argc=1, argv=0x7fffffffe978) at emacs.c:2624 Does this allow us to make any progress? TIA, Michael. From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 07 00:43:54 2024 Received: (at 68200) by debbugs.gnu.org; 7 Jan 2024 05:43:54 +0000 Received: from localhost ([127.0.0.1]:60569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMLww-0000HB-2N for submit@debbugs.gnu.org; Sun, 07 Jan 2024 00:43:54 -0500 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:55784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMLwt-0000Gw-EN for 68200@debbugs.gnu.org; Sun, 07 Jan 2024 00:43:51 -0500 Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-3373bc6d625so825241f8f.3 for <68200@debbugs.gnu.org>; Sat, 06 Jan 2024 21:43:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704606220; x=1705211020; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=KkCkROAui+76yRbV3Ak8I5yDx5h1QCa6BXtyaCYGF+Q=; b=O2bz10/cqyaN+ZLPFWW7rjKsU/RY85igpMyx9IjJ5gvWH3Ge8T7e+u6WVesU2oNCw0 se1tn2Ui67sD9R5GBikFctf3d8yDLIDMXvRNj7Du9Tgg4oZEcnE2l3ZSY38X6CWBwewx 9gUp8hKVoiKNhlqdscFoi6sEEaKhJL4e1cR2WhaoxmjHmyeepNvKpBmNNAVelL5Xm2zT SDmkuPy4DFUJk4+lceiHwcfqPBuQiVRjlD9hAXGNyo6H2roOMqwiaaPrENyZNhn0006P sfkj/Sa2e78apd0LpLcdN2jDrwmOBZd354xcIhLpvKlktWCvIOjqa+qkxlY+o9fqbEFX ddCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704606220; x=1705211020; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=KkCkROAui+76yRbV3Ak8I5yDx5h1QCa6BXtyaCYGF+Q=; b=G6oXydtqn9vrma4VyyZH1X2W5ojCo8/OxghrhnPYSJLflunT17auV4ZWVgSVVUydZL wdRMYKlJZuhv8gFHwhRGt/fKicXpBsBqf63OOF9tyvpg3pBnOl6ynKh6/HHL5IDcBfM+ GQAD5XLAqS6raj0xWrFPEN+8MFt7lhcXE0JkTvEpT47bzDwEYrpnQ2Uzaxh4/9wqJX+i DOHu2l8n8kS4jsIIWCpQYF5IulxKvjgQWmMo630pVjWH/3cdjdlLUMKxmIezgtrzSFEV yaoiBsJ/jNuQK4B8CqcTqGKjLYJDAabXZYg/hUbWch1iWD/4iMEg5Q7mNluYW2N7FoK3 +rdw== X-Gm-Message-State: AOJu0YygxhV3U7H4d+prCRta7WZ9qTCHWz0w2eSwwnRAYzky5Lja8yyp OerM0dWNMunI+viiLyboaFuYyME/Czg= X-Google-Smtp-Source: AGHT+IEl1nlKN+qRK8cIYtlK/afgbwce8kL+R8BWlHd1Y030IuS4d7f1Jczf2LuebFRG9dNTam4doA== X-Received: by 2002:a05:600c:34cc:b0:40e:44fe:d29a with SMTP id d12-20020a05600c34cc00b0040e44fed29amr91222wmq.14.1704606219515; Sat, 06 Jan 2024 21:43:39 -0800 (PST) Received: from Pro.fritz.box (pd9e36d8b.dip0.t-ipconnect.de. [217.227.109.139]) by smtp.gmail.com with ESMTPSA id bg11-20020a05600c3c8b00b0040d6ffae526sm6626683wmb.39.2024.01.06.21.43.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Jan 2024 21:43:39 -0800 (PST) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= To: Michael Heerdegen Subject: Re: bug#68200: 30.0.50; Emacs reloads init file when calling `documentation' In-Reply-To: <875y056hvj.fsf@web.de> (Michael Heerdegen's message of "Sun, 07 Jan 2024 02:40:16 +0100") References: <8734vgjya9.fsf@web.de> <83wmsrzxtk.fsf@gnu.org> <875y056hvj.fsf@web.de> Date: Sun, 07 Jan 2024 06:43:37 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68200 Cc: Eli Zaretskii , 68200@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Michael Heerdegen writes: > | #13 0x000055555581b5d4 in Fload (file=XIL(0x555556242004), noerror=XIL(0x30), nomessage=XIL(0x30), nosuffix=XIL(0x30), must_suffix=XIL(0)) at lread.c:1792 > | #14 0x000055555581b89a in save_match_data_load (file=XIL(0x555556242004), noerror=XIL(0x30), nomessage=XIL(0x30), nosuffix=XIL(0x30), must_suffix=XIL(0)) at lread.c:1841 > | #15 0x00005555557c9db7 in reread_doc_file (file=XIL(0x555556242004)) at doc.c:355 > | #16 0x00005555557c9fc5 in Fdocumentation (function=XIL(0x2ae8b20), > | raw=XIL(0x30)) at doc.c:399 Looks to me like Fdocumentation detects that the file containing the doc has changed, and that it needs to reload it. I think you mentioned that this happens when you change the file and existing Emacs sessions do the reload? In that case, this looks like normal behaviour to me, unless I'm overlooking something? From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 07 02:33:27 2024 Received: (at 68200) by debbugs.gnu.org; 7 Jan 2024 07:33:27 +0000 Received: from localhost ([127.0.0.1]:60602 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMNex-0007Sn-J4 for submit@debbugs.gnu.org; Sun, 07 Jan 2024 02:33:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMNew-0007SZ-6s for 68200@debbugs.gnu.org; Sun, 07 Jan 2024 02:33:26 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rMNel-00065Y-DI; Sun, 07 Jan 2024 02:33:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=Y5FBBR9onCNPo9tV18vlkfuObe2etp5tUnElWo3jqnM=; b=nM4nYj4J+cj+cQp+1Yuh m+BnWMvnMQIs8LIlR76kyxONry04cXmy9t0c+UvwKc0VASbE60S34PC2wkBzLkxwrtzFnGEtn28Bt X8U8Sy8NCgC93Vg1rAzG10se2elN7kQ1zE5xCOkshDCcJe61D017XbSFWNK1K/2efMSDnOmqTQLTH g0hh4nX17t/yChJzvL6JhKl0XMnCybQqgnRqJH+6GLcX2bNUkGS56yNg6ttqUAEWz3l/rnMnChR+L ijVz1WA2jAOsnL2mJ3dX/dTwz+aL+5dVDmEdA4VasnkJK1TybyuZ/o7YCQgR7bDsvdLuxAVXUB/Ku mp73EVkbD9foGw==; Date: Sun, 07 Jan 2024 09:33:08 +0200 Message-Id: <8334v9simj.fsf@gnu.org> From: Eli Zaretskii To: Gerd =?utf-8?Q?M=C3=B6llmann?= In-Reply-To: (message from Gerd =?utf-8?Q?M?= =?utf-8?Q?=C3=B6llmann?= on Sun, 07 Jan 2024 06:43:37 +0100) Subject: Re: bug#68200: 30.0.50; Emacs reloads init file when calling `documentation' References: <8734vgjya9.fsf@web.de> <83wmsrzxtk.fsf@gnu.org> <875y056hvj.fsf@web.de> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 68200 Cc: michael_heerdegen@web.de, 68200@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Gerd Möllmann > Cc: Eli Zaretskii , 68200@debbugs.gnu.org > Date: Sun, 07 Jan 2024 06:43:37 +0100 > > Michael Heerdegen writes: > > > | #13 0x000055555581b5d4 in Fload (file=XIL(0x555556242004), noerror=XIL(0x30), nomessage=XIL(0x30), nosuffix=XIL(0x30), must_suffix=XIL(0)) at lread.c:1792 > > | #14 0x000055555581b89a in save_match_data_load (file=XIL(0x555556242004), noerror=XIL(0x30), nomessage=XIL(0x30), nosuffix=XIL(0x30), must_suffix=XIL(0)) at lread.c:1841 > > | #15 0x00005555557c9db7 in reread_doc_file (file=XIL(0x555556242004)) at doc.c:355 > > | #16 0x00005555557c9fc5 in Fdocumentation (function=XIL(0x2ae8b20), > > | raw=XIL(0x30)) at doc.c:399 > > Looks to me like Fdocumentation detects that the file containing the doc > has changed, and that it needs to reload it. I think you mentioned that > this happens when you change the file and existing Emacs sessions do the > reload? In that case, this looks like normal behaviour to me, unless I'm > overlooking something? Right. From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 07 12:20:11 2024 Received: (at 68200) by debbugs.gnu.org; 7 Jan 2024 17:20:11 +0000 Received: from localhost ([127.0.0.1]:33708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMWol-00072c-FX for submit@debbugs.gnu.org; Sun, 07 Jan 2024 12:20:11 -0500 Received: from mout.web.de ([217.72.192.78]:48291) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMWoh-00071v-QQ for 68200@debbugs.gnu.org; Sun, 07 Jan 2024 12:20:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1704647995; x=1705252795; i=michael_heerdegen@web.de; bh=+g3PxRxeRLlpvyuU+eq8UgPVZElAbW6ReOHxwhpTFaU=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References: Date; b=r9iqaCa7FH7wl/LOC1O6IN+2+gOv0qO4aeno9ZU5Ze64ZBEUMGgJpfdAMmgGbVB1 sPYe9FVIl9Nb6DFrvksH97e8RCk691a4ydJ5HaJFQty/4zRZ1/WryaQXGdqFfGxn+ iDFc1PALBBQJphVUCULhcr6bRM8fufBmFTWJkQnkHMNzX5iED8CchJc+5K86ocZ5s wMiEyi1u5E4x5N/P2oBFp4hLFZLf9m/VWMDoii81hFUo78PvxfovrDEdkogI1suUR C1oho53IvOrBB+AI44BbHMooR6auNQyJkgu02cJ+lTpCoVQCCVvy4w87jOKMx7AYd O2zYJno6FHSBKEg5Bw== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from drachen.dragon ([84.59.210.83]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MHmm4-1rRUc908s2-00F5C6; Sun, 07 Jan 2024 18:19:55 +0100 From: Michael Heerdegen To: Eli Zaretskii Subject: Re: bug#68200: 30.0.50; Emacs reloads init file when calling `documentation' In-Reply-To: <8334v9simj.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 07 Jan 2024 09:33:08 +0200") References: <8734vgjya9.fsf@web.de> <83wmsrzxtk.fsf@gnu.org> <875y056hvj.fsf@web.de> <8334v9simj.fsf@gnu.org> Date: Sun, 07 Jan 2024 18:20:17 +0100 Message-ID: <87cyudoyb2.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:QZLui9uOBQlBmrcQTBcpgPVbi772zYnakOaMV7KwdvjGZQseeMi gNpzRpJU8ysWjLBS9h+Wys09pQqpNzQX/Qb8CZY5ra6lnAe0SWFb9beUs+trcS1ZLgoKNlr E5S4Rm07nXIM5bEcjm1eyk1GIrGgpOExl0g1X6YZfqe0yiEKwHdhuva/3eHru9MuOwcbajR RX5Yk7mbiO70PY2eNzarA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:l7RHcvgFgcE=;OGadpJkZR0QiJsWHsbm/nm7QDc0 teZ9neyv1hCz/zaoN7RM4pRZOESw2qUjxKtN9uQI/w53aHx/3inYSK3W7l4TwRYBpJs4fs1iO arurA+8+T4NkqOM5WJ8uwPF90P9tC/rg6YNs5vQSk3nGct347a5+8wZiYmAtbYu/Ni/WhFZVo Q8pPwaKz/ZuEO6OcSqSC0RNqYsqX+zsnNyvUH43FXi32/asPENpOqICP9CcD1FgFWnFV5Yzr4 T8N9hjIMH6wJ3otMPOfeZ44IfpMn8t0sS/ljwVqDxoB1Uya1PkvrVzyt4r05syDn+cKVp8SYD 1x9I1vndFRgeCykE5ptf9oPI5bMd6NGVqHHadmskuEpUvxzkX4oiL6WNSoBfCsEs+ITeMjm6e rKVDRgEA5tJE0izb8qwb9GokwRD8M5fAG0rY57gql72jTfDGXeUP4GW2NnFVlIqhFzllTi5xA Pa72C/C3dZUHmn6IV67pWBzOjuyTVKoZqBi0ur4ONCg68noUlf2397qeZoEb8K4Bo835SKUV4 PrhDm4OBxYAcDSU/0shka8RkszeuB3mF02a04ReyUuStDx9ZAP6MC2HLQotFAKV+RGRrGQTUQ PY8LN9wiMRZ5W0HErsxqpYx+LykPniUrrBimtBjNs2L2qFQajMdVSbF+XjdZLRHON92nqy0Ze AcFideVu1R9WN0GAfgShzOiSZUH+7bSk+vmMPNjQspCbonhrh1E0P1nqDZQwupmBhjRa4jRVm DTTCo3voJeX5nXNO0hVmuJG6AGvGKRtvXkBmbjcht7MaIcILRA4G27nKX0D3Bd4r5aOeRY7ER tM+Ab9g6gQO33gaxNepMPFvdx4whOmTe7Ayk+iAnl8qLNWBZ+r8mA/x7AoM3XqvHUXv9Gaycn bufJ1iBE7t66ofp2/gdDt2vij+juPaSwT4wjLHWbIb7k7ii5HlcdPly/WDwMDe8LPmSTJQw64 aroZhA== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 68200 Cc: Gerd =?utf-8?Q?M=C3=B6llmann?= , 68200@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Eli Zaretskii writes: > > Looks to me like Fdocumentation detects that the file containing the doc > > has changed, and that it needs to reload it. I think you mentioned that > > this happens when you change the file and existing Emacs sessions do the > > reload? In that case, this looks like normal behaviour to me, unless I'm > > overlooking something? > > Right. Ok, thanks. I now remember that for that reason I am using a file local variable binding byte-compile-dynamic-docstrings: nil. I the past this setting prevented this reloading. But the behavior changed some weeks ago - like if that binding would be ignored now. Michael. From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 07 12:33:41 2024 Received: (at 68200) by debbugs.gnu.org; 7 Jan 2024 17:33:41 +0000 Received: from localhost ([127.0.0.1]:33734 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMX1p-0001WJ-Hm for submit@debbugs.gnu.org; Sun, 07 Jan 2024 12:33:41 -0500 Received: from mout.web.de ([212.227.15.4]:49967) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMX1m-0001W6-VB for 68200@debbugs.gnu.org; Sun, 07 Jan 2024 12:33:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1704648797; x=1705253597; i=michael_heerdegen@web.de; bh=dxj2HNKLei/SK5tt67WPMUnyrsL+NyYi3X3J95h8XNE=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References: Date; b=fwwGbFNgDSwLJQrCmHbjKy1a/VJ5+KTgnkqIg9wbMUSN65j4PoIbyFz7yWA39Qjk CZviTp0n3e88YuE8EMkXd3Ui7PJoAmWrI7ILEdJDaAe0Krp9PDDIpuj1f62yXolaG DkJszSqhGVuqt70tESHEecE0uw2naYCfzpvlpiNgxf3wDeRLJtyCwKJJWcp6rAuJY q9w0Vep8/Fo0PGMvRtDKjVEGVKUpy3X1tkkHFrSp2KYgfBZlRQEWMA60BzGGx5PwU GTfl5S21yMQh+G5FuEKJTPZJTqRFqGAT+ZNFYPwLVQFmv0D0akPiYoW9IgB8N05pD 8zcPCZuspn+yH10Zhw== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from drachen.dragon ([84.59.210.83]) by smtp.web.de (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MXGKA-1rgoEN22Mo-00Z7kk; Sun, 07 Jan 2024 18:33:17 +0100 From: Michael Heerdegen To: Eli Zaretskii Subject: Re: bug#68200: 30.0.50; Emacs reloads init file when calling `documentation' In-Reply-To: <8334v9simj.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 07 Jan 2024 09:33:08 +0200") References: <8734vgjya9.fsf@web.de> <83wmsrzxtk.fsf@gnu.org> <875y056hvj.fsf@web.de> <8334v9simj.fsf@gnu.org> Date: Sun, 07 Jan 2024 18:33:39 +0100 Message-ID: <877ckloxos.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:buWs9CaWjCmNvbuMKouyR2S2PKLG/uvXs9GY88D1Q5jgWGj9IiV jQj66ojsaD//MCn/nvEjub5yAww474R35bxJaz2wekDstmaJh5yuELp4mWR5dcDpbHfzk43 Aa+eZjIkurM7ftJeKnDBY+lMQaPyKnfrVFRckaFdm3FVNg/j3gVsDg84gixhFbmTPikSMnq T8i6Ur0ho9vf15Nyk0gAw== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:MgPIN5HCai8=;AXNxHX0HL60KNqKwV67Xj/hwJsL 46xBm6fDA/HtIyRQSj6CFSxNZInEbBIhmiypBSwAX67qZm72AQo3WAkYCaA7KecMOhtmhLkxy ulpVgGsQbsouFvat0P6QgSCbZ2P5VXP46hTAIDJd3XDtKt8/rabHYEjbaQsYlwNc3mHRIiAtT XVw2YHxaoU7alZSMd9r2Dk57bmVtkfGgpuw+5b0uyDC9+RyzsueU+/m1892knXodXfsQgpU/6 UdI4stf12a9HoysQ4TYegLoeqxS3b5H6+s+0IpKbEFLosvF4qhvrzLL9gh8F41oNZKttlKdnp ddwY4c3PAaumWeZkpsUmYHtXxAnJRafEBrGeinv7g0V0/bSCQr1FtkkNKpIUNQUmUd5h3bMya z7YTZ6tqgwwWOS3dW3yG3ZJk+2RGP8Dp0pyj3Vqkad1AH/1wi36iOJTg9f61ug5NOKvlVWK5O OyVLrNPCRBgvYdC7OW1m/TYtkthDXowxWt21R7yc6X159Ax+9gMQ4Y2mePGCxh0d0TVWTFSZx en9WWmTr0btYJBHyRgRUp+rFTxkzOfgm5duDjvmFsaiz+S4Ow1jZtx2EvkAuajMp70za3fviN 5mAP52DJmdKFpGca3WlT9Pt3teHlyGlcktC99Xsf22/rB1kvexZv3qlCFxUZraCpRu6b6cPmh G21YSc13conDmm43AcBB9Zw1xhCrStV5KY/VFvp7pghjXXJsA8zm3Soju5AH+EDpecbmMtjNM cvUDc4/ba3JPIoD27r4W54Uso6YqLd5Hnzh2CPVRdin+8aO1JM/1A6QuJGJ5Zgbv64KxD9YGJ e6zfQxKcwJSOKuLxKB37vexJge2PaYFvfqWmblspuRgtPgpwDfouu398qMsbEM0DZH1iyZVxc da7V99W0053zjGSTvNTziEtqUirT9lfbFcLUnR+AZZyqv67NUYga1/KiNtLm7QwoK6F6qiRuV 0Lw1QAdoWHM/QwWt5Fx/sEnJD04= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 68200 Cc: Gerd =?utf-8?Q?M=C3=B6llmann?= , Alan Mackenzie , 68200@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Eli Zaretskii writes: > > Looks to me like Fdocumentation detects that the file containing the doc > > has changed, and that it needs to reload it. I think you mentioned that > > this happens when you change the file and existing Emacs sessions do the > > reload? In that case, this looks like normal behaviour to me, unless I'm > > overlooking something? > > Right. Looks like 6a01a1a856f ".elc format: Record lambdas' doc strings lazily, not inline" (Alan Mackenzie 2023-11-26) would be related. Alan, could this be the case? TIA, Michael. From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 07 13:16:34 2024 Received: (at control) by debbugs.gnu.org; 7 Jan 2024 18:16:34 +0000 Received: from localhost ([127.0.0.1]:33787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMXhK-0001qJ-KX for submit@debbugs.gnu.org; Sun, 07 Jan 2024 13:16:34 -0500 Received: from mout.web.de ([212.227.15.4]:54795) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMXhH-0001io-Os for control@debbugs.gnu.org; Sun, 07 Jan 2024 13:16:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1704651379; x=1705256179; i=michael_heerdegen@web.de; bh=c/Mv8pgQKTRJp2duO2dG0DTufQUaDx8DwEa+A3NZ3GY=; h=X-UI-Sender-Class:Date:To:From:Subject; b=Ot9Ht4HnznXrVU5IJaVNgYjpLrgsKIDpZirkApy7CtsCLVXEPWzDGgS2YtLNbEyZ 4t/PXr3enXQorrdyhAWAHRRac6G5FlU7UuWooe5r/X0DxTtQsfjPyBTgY7AMpVcKi dQ/VAIiAGiwh8Lv1UvtA3yJPQRwzZlmrUuH+BwBFHZvqW28ffDSjJrrStfKexSsUi MRA3F0ELdi5SLsOd8Ai85JcmcpGunhObkJotHccXhXTBjgL9JuQ1Geet8PNa1na4P Dko5iN2/wfmnV1fT/2DRkn0mOAaPdjwe8aGO3b0b7zQL3cNu+6vP6VLNdVU6CpzmC lbLfdVFZI617RC+G/g== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from drachen.dragon ([84.59.210.83]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1N1u6n-1rBZPf3cxV-011vkN for ; Sun, 07 Jan 2024 19:16:18 +0100 Date: Sun, 07 Jan 2024 19:16:41 +0100 Message-Id: <871qatovp2.fsf@web.de> To: control@debbugs.gnu.org From: Michael Heerdegen Subject: control message for bug #68200 X-Provags-ID: V03:K1:k52YYXbx3UYRs3upJ4pAGZIj1qLOr22XPJ97lFyV5lGTB1sDyHP NwxWnpcp7W0UI6o+vE10+LJNvgh8Ev53ULXi8OGL1RA6ivcTKLlFcI3fpurXgbEtuxCiPeY dtPs99HBXQUPEBPy/t4Uokr/rb8xlTSBrpfkfouDyUkCc5Y4d8fdRG8RhSrW2kXrv3c7k8S DHD5WeKm36zowx8LyQPRg== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:vgJZoR0hd2c=;Zth9GYwnR24ibEmWb+uIm+5VZY+ MdrXnobZEyTB08Djw9EfRkM14XjeW22oY4JpQtvU3ORer0ZrTU/UK3cBeWVNa871LLI9SKnZF ts77KcvAF7XpkpMgB6DbZMVxiz0RHZpBbhRRLzx7WCUshqOrF9Jfo3HFPJgVBqh05O5FWimBo 9WDqA9kk0xNR7aqf/x0ZqFDIRG0Xw57GHInjWFll9YR6zMp0na06oUY1KUMxflPLl0SV0Hvn0 xbR7hfYjN/YNHXbhWBENzAX+VGkrBblqUDeHP5A3a3vMc1srR/qL4+3cHmCQK1wUHqe1eGOl8 W/fK9vtTfdxLPZe78/2yG7ny+6g12Di0suU4sxxMcE9DcDDJEtvuBEx+RQ+/Xfiniedmc6Jcf eRsPNdXhM8d20TLuVUrgv8lqP5wM6OArL7SlsynsYRT1ERjgfOcaeVyBB1sAo6DSluFrr45Mx JUbV8ZNWMWzhhpEhZ0OPe8ht7E4Iqxa8qOsSScK1PUcBAhfeCeXeCoLOY9IcCQIsRd61Lltl9 CCj3GyoZ02BI8HGLDwCW2Vbal9d5aacnJmHpoQJyFppCw/+ckRDtRahgUeC7DRXtM+j+WKQGT /gRjbv8zdvpdT3JrpKJjYslph9vixMm8eA8xMRGLUU/VIkR6Z68fn1RVQZxawuuorkrtkYzUX r7oGLFnjECPYCDG4Lx++Rjkw46NY9JfIviGpOnQnFBGlDk1knR8vJhr+efPHN/YH+CJoPuz5k SoaGai6G37LSXDJQnAXwDv49/3otzpQ/1h2nGl8rDYmw5MTEfgqFKphgg/HFF/dqd8AGjlITs FzKq1Vouq/kCQSMGgcQkv3ENHNYkKahEZ8KMIZgjJisFNV4RjMs9AzIfV8NI9l5tS+IFM6sVx ylZLeNASEdg++Xve18l2JFU6BXF4lTrLdaKno/toh5Dzfv9hEmvArThzu2LwsGYFnOpDiHP4v H8hLgA== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) retitle 68200 byte-compile-dynamic-docstrings:nil ignored? quit From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 07 13:58:04 2024 Received: (at control) by debbugs.gnu.org; 7 Jan 2024 18:58:04 +0000 Received: from localhost ([127.0.0.1]:33864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMYLU-0008JN-1g for submit@debbugs.gnu.org; Sun, 07 Jan 2024 13:58:04 -0500 Received: from mout.web.de ([217.72.192.78]:37791) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMYLS-0008Id-GW for control@debbugs.gnu.org; Sun, 07 Jan 2024 13:58:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1704653870; x=1705258670; i=michael_heerdegen@web.de; bh=XcR1Fkl7rBvVujzFZDNBqIBtrr8xpCHh/v/9Czbu9tM=; h=X-UI-Sender-Class:Date:To:From:Subject; b=Z7O2z0dBhR2C+VKmcofGHwhTrnoQyIHBbivqt3MsLyIvEvVVAitZ+Rhn+Xf37tLS Wshx1KuPHsrUmDU1wylXofnLENGC3hJWqDVJwxoeDreMtwsd/cuZdj+RP3LXHOtsD L2GcRpU/Q2mY5jxWeFkFMlTXvOkIX+NXhJ+dY1dwQ3EY2rDpZ8U8rq4P/7XFtrTry 5nwZQRkRxt6CKxsnIaq43tnAqRKB71Og29GxF1NqkPNUOj+Ys9quOU3gZHAwlCso6 fFRqT1PNDdB4gN+CjgBzzQnisKlz/H9uYnYxa2YqfIKLNK5J6U5dVJ95vxuEDRxgy XKy2DmKKRj3bP0etPw== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from drachen.dragon ([84.59.210.83]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1Mft7j-1qgt0B1Xbd-00fuqJ for ; Sun, 07 Jan 2024 19:57:50 +0100 Date: Sun, 07 Jan 2024 19:58:12 +0100 Message-Id: <87jzol9diz.fsf@web.de> To: control@debbugs.gnu.org From: Michael Heerdegen Subject: control message for bug #68200 X-Provags-ID: V03:K1:f1X0WREK/2F2ZJ2J+VjdtZGiXqBX+VvqVhtCw49XiZlWCXo628o Dlf74aBjaPZ/hdEbXqFAYnWXIWbDC08n2wapoQOkqy3IUNbStnWtTt4HSH5lc7u8/t/Dk0h jaFhYLF9eEmejf5GE4px5wRu2UjvUwEgQ0p13yArYKiHIdquoTRk2WeKKwas6pbJ63V3oXu uGPYIDa3TvVd9HVfSUY4A== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:gHft4schBVQ=;jlbjLCu1vj85Zy6YRexhFqOVdvx CCIPX+K21Xj8ASEWCtv5x9mr4m4oXuVMWNG1TV/cpwS2QXrMgxo+GD8gGLsEZeJfNp7iuF/BF G439WN6j+GmNIh2xrloiUYk/zvrtW5I7obp3cSMfqZtStRq4yLYOvYF0FL/peALG5v02VVKSH B0/TYnhAXMgROX1bRiR+fxywRZnHkpzPn9JbfidPHDxJfTssK5XNOZXaRvsMFmJWN/Or6oKaD r2k6IJyNANjHQEJOtjJVduNEwkb6yaR9C1QNIftELCJ+0e4zxqIYxZR3+S4SeMKZ130ASROkA bfNgS/Gj1puVbz3Uofd99AlSDSl7qjnNNXXjv4CYhTQRwlOKat21O9CyGoNQbn/oR3a27Gp4r 1LIlJMDofa8tr6iVLF5tMuHnVpKiiJskUsAYozNaBEDOqYPBty40dCxJuI8N9o/3falzac0sW RPSWXJyYo5geeSFI5fSmxS6h5uwan6v78P/k3MAGTqkyzbbxp3GVWfAuV69HAOilt5R/3oC8r MLjVS7puj8nKAEbVvnEbPST0QC9MsAjJZu2+ErKX6/AxrRtXMA0IM3Z0JnfqlG8NXzoA07Z9/ 14KuySx3ITeWwXWr3z5v2KEtjCkQEI8lIJZas64F42FFtmFILEhTB1n85on1n0mC7v35d2mxC 92046loIdi9cbU38DpXlHLYq/viF8V++j66JUBCHrnvD2LZ6f5RYwakcniU7jD19/GZBav4gU 35DYiVIt7YsOEaZktJQ4ahdBtkPkhgi5mLk6hMaMxUhCk9TxexHVbCsF1D4oU6Sxm0GZZr/hL XXYAiCdWAeqdkkOxE58Vvujc3HO11WnWSJ3T3GA5LblzLP7wrqK/BS5bjg7atZvKPDv185Yx2 twPGXWQnZVJ0QhU3WYp9K66FRBq+gNzHMNzS9AEWpk8PJUEUtGZ4omyV0syRfE+Ijrp7Q3mLt 3oaylQ== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) retitle 68200 File local byte-compile-dynamic-docstrings:nil ignored? quit From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 08 16:22:34 2024 Received: (at 68200) by debbugs.gnu.org; 8 Jan 2024 21:22:34 +0000 Received: from localhost ([127.0.0.1]:37767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMx4r-0007MG-JS for submit@debbugs.gnu.org; Mon, 08 Jan 2024 16:22:33 -0500 Received: from mail.muc.de ([193.149.48.3]:46368) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMx4n-0007M1-OS for 68200@debbugs.gnu.org; Mon, 08 Jan 2024 16:22:32 -0500 Received: (qmail 59555 invoked by uid 3782); 8 Jan 2024 22:22:16 +0100 Received: from acm.muc.de (p4fe1597a.dip0.t-ipconnect.de [79.225.89.122]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Mon, 08 Jan 2024 22:22:16 +0100 Received: (qmail 25327 invoked by uid 1000); 8 Jan 2024 21:22:16 -0000 Date: Mon, 8 Jan 2024 21:22:16 +0000 To: Michael Heerdegen Subject: Re: bug#68200: 30.0.50; Emacs reloads init file when calling `documentation' 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=us-ascii Content-Disposition: inline In-Reply-To: <877ckloxos.fsf@web.de> X-Submission-Agent: TMDA/1.3.x (Ph3nix) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68200 Cc: Gerd =?iso-8859-1?Q?M=F6llmann?= , acm@muc.de, Eli Zaretskii , 68200@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Michael. On Sun, Jan 07, 2024 at 18:33:39 +0100, Michael Heerdegen wrote: > Eli Zaretskii writes: > > > Looks to me like Fdocumentation detects that the file containing the doc > > > has changed, and that it needs to reload it. I think you mentioned that > > > this happens when you change the file and existing Emacs sessions do the > > > reload? In that case, this looks like normal behaviour to me, unless I'm > > > overlooking something? > > Right. > Looks like > 6a01a1a856f ".elc format: Record lambdas' doc strings lazily, not > inline" (Alan Mackenzie 2023-11-26) > would be related. > Alan, could this be the case? Yes, I think it could. I've not yet got my brain into that commit from November (which was quite a long time ago), but .... 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? And I'll have a look at why that variable no longer appears to be working (though I have rather a lot on in the next few days). > TIA, > Michael. -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 08 18:09:36 2024 Received: (at 68200) by debbugs.gnu.org; 8 Jan 2024 23:09:36 +0000 Received: from localhost ([127.0.0.1]:37848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMykS-0002un-G5 for submit@debbugs.gnu.org; Mon, 08 Jan 2024 18:09:36 -0500 Received: from mout.web.de ([212.227.15.14]:55635) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMykO-0002uX-1w for 68200@debbugs.gnu.org; Mon, 08 Jan 2024 18:09:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1704755347; x=1705360147; i=michael_heerdegen@web.de; bh=8k2wqc6kvT0+FL5DFJRiV9yKJBo4btRmWppM6OI4BqQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References: Date; b=LzMnTp+9LGMIINhEdEe5KTM30LjmiNO+9qy/nbK/gzQ+tGHtz+rUjPrkWxmKyZ0o urrrTqK9fpIrPN2yMPXpR3FHmtImuRrTYe0TYkCaAShdLvS0B94il/7QshOzcvSTY pWsxlFiwvaxarzauaxbo6qfluAiTEQTas8KpZrlN9PFe/Rs+/UmcyNSePm5j+SSG/ nqbpGMAQlMFNdiZs2CROiND4vHf72vQ9vLYDAd0InDKZgKZWpeVw7xdMxxwy0IXwQ /HOxgFTu8N/YzjsKgn2XYyvsDneJgJ9VClP4Anqs1AlZT7g1Upe260w75yuKAJ60p /xjQmt4rUQn8k1JJSQ== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from drachen.dragon ([84.59.210.83]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MBS71-1rTM0S0sox-00CqRo; Tue, 09 Jan 2024 00:09:07 +0100 From: Michael Heerdegen To: Alan Mackenzie Subject: Re: bug#68200: 30.0.50; Emacs reloads init file when calling `documentation' In-Reply-To: (Alan Mackenzie's message of "Mon, 8 Jan 2024 21:22:16 +0000") References: <8734vgjya9.fsf@web.de> <83wmsrzxtk.fsf@gnu.org> <875y056hvj.fsf@web.de> <8334v9simj.fsf@gnu.org> <877ckloxos.fsf@web.de> Date: Tue, 09 Jan 2024 00:09:29 +0100 Message-ID: <87sf375snq.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:pFibYuzKysByo/d1KM2T/hxH6Scutw2S9nZCEJUxW+MxkegVyZ0 o0hUbelocYV3umRFTLKfXsOcBPGb0h77wj1+16o4s2f3KFe0cqPBQqBOz/V73j+KJXMTMvc 0juggW71r864bSGSZ7PWWl0T302wl3+81+VqsPi6HtFd+727FjTM98l+goTO6XEs4M7rFem yYUQN4RCamqXaNmceREPA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:nWnV6LyWJyk=;+UQnQRS+2QsKBLJSQE+KSFc90iM R9bzXFpsPR6KI7FAdeK+GeD5DxEvPNbQxRIgsI9JdCP+udxk2LsK258SCMkVU79ICRig7Qb9+ 52qfWye9Sm4iRZxsbR21bU4lQIORa1sIea2/qWr6JNRr/1VyLHtcbjD8HYysM7TZKyulBFNKY /MhbxXP+bm3JABsInWS6DC5tk+z8fYmShMalbNjVa9LKeiN4psQliijSLG22i3Z+gxS0lO8i5 u07/MvMCG/RgGnjhb+sYh0htVq4AquduIodhat0oLfGtmhvbEGQ/NGacWI8bOZYj8DnYXjTI2 kDh7GCWtW8r0BmKrGD2op0Spv6yCeuPJ0eJoQW4yZSjU803vTPizUxVY8aIAuW3Gihro52ZEj ja+pVUnoM39bQD6AmJVdde4NZPAJwabkJd8KfisEE1VUbiCE+1CbYZy6YX8YFQh7d7kPGXOON TzPh3X4epi5YNV86s9D2uDbJfKD9s3B/QLxiyX0+IW2yUT3lJ/KMCN6K1HpesJivjQLX3kWL9 vVRRUpS5YmqiHmkNKnYnj20lWptNbBxqgOPKMGYErdNvmxuyz3hZWWk/YQwHZcWWHdphdV43y FpdytIJizCrobGuh5tUg8fNLRPganHkLsfokncjBZ8us4fKFaThZ9KJFEsTuHUI9ORblcWtyj W1YeDhcc1G/YOnakp5g1UNHw1NVnhC1vE9AlCLp3uLP1LN/nOHh0jmbG8iwMRiRcWJxrTZbrS 3VlEdTET+vciDAR0/sCHbZsjZQKXGaxUFIeLY97Yc1HoszOQZoLHcmOBYxHI9PmcLvRqZyOh/ IuHuqfsCNU3/CWnN9HeIKx9TMpfz/9/OmOiW3dILVF3dHA5Cd1UnvadE/fmkklUpb5C8zZzZS HCtP3ePaiVew3JvkkG+YtZ9V4bnYc0filsaSYaXucBMf33hHWYAyidD/TRtZyMuxafZIy8T2L nbcc1fSQv9bBz5E6dY6Fkh6l2SM= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 68200 Cc: Gerd =?utf-8?Q?M=C3=B6llmann?= , Eli Zaretskii , 68200@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Alan Mackenzie writes: > And I'll have a look at why that variable no longer appears to be > working (though I have rather a lot on in the next few days). The let-binding of `byte-compile-output-docform' your commit adds in `byte-compile-output-docform' - you are aware that in my case this rebinds the buffer local variable before switching to a different buffer where this binding is not visible? Michael. From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 09 06:27:09 2024 Received: (at 68200) by debbugs.gnu.org; 9 Jan 2024 11:27:09 +0000 Received: from localhost ([127.0.0.1]:38504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNAGD-0007h9-9P for submit@debbugs.gnu.org; Tue, 09 Jan 2024 06:27:09 -0500 Received: from mail.muc.de ([193.149.48.3]:45486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNAGA-0007ge-Pj for 68200@debbugs.gnu.org; Tue, 09 Jan 2024 06:27:07 -0500 Received: (qmail 70907 invoked by uid 3782); 9 Jan 2024 12:26:53 +0100 Received: from acm.muc.de (p4fe15193.dip0.t-ipconnect.de [79.225.81.147]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Tue, 09 Jan 2024 12:26:52 +0100 Received: (qmail 6983 invoked by uid 1000); 9 Jan 2024 11:26:52 -0000 Date: Tue, 9 Jan 2024 11:26:52 +0000 To: Michael Heerdegen Subject: Re: bug#68200: 30.0.50; Emacs reloads init file when calling `documentation' Message-ID: References: <8734vgjya9.fsf@web.de> <83wmsrzxtk.fsf@gnu.org> <875y056hvj.fsf@web.de> <8334v9simj.fsf@gnu.org> <877ckloxos.fsf@web.de> <87sf375snq.fsf@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87sf375snq.fsf@web.de> X-Submission-Agent: TMDA/1.3.x (Ph3nix) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68200 Cc: Gerd =?iso-8859-1?Q?M=F6llmann?= , acm@muc.de, Eli Zaretskii , 68200@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Michael. On Tue, Jan 09, 2024 at 00:09:29 +0100, Michael Heerdegen wrote: > Alan Mackenzie writes: > > And I'll have a look at why that variable no longer appears to be > > working (though I have rather a lot on in the next few days). > The let-binding of `byte-compile-output-docform' your commit adds in > `byte-compile-output-docform' - you are aware that in my case this > rebinds the buffer local variable before switching to a > different buffer where this binding is not visible? Ah. I've always been a bit vague about mixing buffer local bindings with let bindings. Thanks for spotting the cause of the bug. You've almost certainly written your own patch for it by now, but nevertheless, could I ask you to try out this patch. I don't have a convenient test case here. diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 2bc8d54ba77..ad8d53d01e9 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -2605,9 +2605,10 @@ byte-compile-output-docform `defvaralias', `autoload' and `custom-declare-variable' need that." ;; We need to examine byte-compile-dynamic-docstrings ;; in the input buffer (now current), not in the output buffer. - (let ((byte-compile-dynamic-docstrings byte-compile-dynamic-docstrings)) + (let ((dynamic-docstrings byte-compile-dynamic-docstrings)) (with-current-buffer byte-compile--outbuffer - (let ((position (point)) + (let ((byte-compile-dynamic-docstrings dynamic-docstrings) + (position (point)) (print-continuous-numbering t) print-number-table ;; FIXME: The bindings below are only needed for when we're Thanks! > Michael. -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 09 07:36:51 2024 Received: (at 68200) by debbugs.gnu.org; 9 Jan 2024 12:36:51 +0000 Received: from localhost ([127.0.0.1]:38603 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNBLf-0005cJ-2q for submit@debbugs.gnu.org; Tue, 09 Jan 2024 07:36:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNBLd-0005c6-QQ for 68200@debbugs.gnu.org; Tue, 09 Jan 2024 07:36:50 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rNBLQ-0005Vw-P6; Tue, 09 Jan 2024 07:36:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=HoufJ/i0rHzWvysLVoZ4pFdKpgMwXW7slZinl8Xv0bE=; b=FhoEHCExO1TzWpRJWhca zoofCWt18vj6WnI93oDKFRKxnKYFh/hyAmUftRkgrbe7rwScrUdMVMoAht92eLr9N2E/5z4CbXjPZ UmZDDOkCpw6UF5TCSCsX56bbCh4E5qwxuUgkaWXARcJSDzis4GuyG+dwLfTcj8cn6Tp77/MmzjY/X fiBZyUWX3ix8MDE25oe+YPIiHhn0arpWYtHYAlZrAhlClNDORH21CSohAOEkAnTUH2pR5nTnVAYzr qNR1s17PH6HXaWy+iqG0yY5B52QXc5UxjhcpV7ma1hbJPFvu6BeyBgladBV5IWwEQ/e+sYwLw6SkR 4v9+3PU9kRhA0Q==; Date: Tue, 09 Jan 2024 14:36:02 +0200 Message-Id: <83r0iqptu5.fsf@gnu.org> From: Eli Zaretskii To: Alan Mackenzie In-Reply-To: (message from Alan Mackenzie on Mon, 8 Jan 2024 21:22:16 +0000) Subject: Re: bug#68200: 30.0.50; Emacs reloads init file when calling `documentation' 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=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 68200 Cc: michael_heerdegen@web.de, gerd.moellmann@gmail.com, 68200@debbugs.gnu.org, acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Mon, 8 Jan 2024 21:22:16 +0000 > Cc: Eli Zaretskii , > Gerd Möllmann , > 68200@debbugs.gnu.org, acm@muc.de > From: Alan Mackenzie > > 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? Because RAM is always at premium, and because these things add up. > 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. No, 40MB is far from being negligible. > Eli, what would you say to changing the default of the custom variable > byte-compile-dynamic-docstrings to nil? Why would that be useful? to hide bugs in code that doesn't work when the variable is non-nil? > And I'll have a look at why that variable no longer appears to be > working (though I have rather a lot on in the next few days). Thanks. From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 09 22:28:37 2024 Received: (at 68200) by debbugs.gnu.org; 10 Jan 2024 03:28:37 +0000 Received: from localhost ([127.0.0.1]:41520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNPGf-00072p-GS for submit@debbugs.gnu.org; Tue, 09 Jan 2024 22:28:37 -0500 Received: from mout.web.de ([212.227.15.4]:52789) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNPGc-00072a-Fi for 68200@debbugs.gnu.org; Tue, 09 Jan 2024 22:28:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1704857290; x=1705462090; i=michael_heerdegen@web.de; bh=+78H9/ALTgUOljOSuNRu+hyoYedh0XB5yzxybLEVhek=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References: Date; b=jNURJtNtFdnXCKRlDbCVqiZFSvKOEfOdzRA6OZfoeJdU/q2c6iv1UDk8Dwb6lwj6 c1Ix1/QShm1JKIc1foGqPvJLl/o5IQj4D/0pHdjrpwVxcSnqY25Z+WLMMKGWmyJe4 krJ0etAFhiyDQVOMq51m2LHJitmVKvRxJ4iNt7Ng+OcmHi7bg9Y9KhvwiwkA6WuLx 5wDy5lGDh4WbZrINQVkUrt6Mj3/xpNWWUsLcG9wxHZVoRphWGrrADXo25wKxe1wsU KAn4037zFf6SH1HUH6X/7z+yKUH0uw3IOaLQ23eABxHmS7tt3PAZfiHaLxij7q0or iTBxHnQokbpOvvXsHA== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from drachen.dragon ([84.59.210.83]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1M7Nmq-1rFiA13Rme-0087ZF; Wed, 10 Jan 2024 04:28:09 +0100 From: Michael Heerdegen To: Alan Mackenzie Subject: File local byte-compile-dynamic-docstrings:nil ignored (was: bug#68200: 30.0.50; Emacs reloads init file when calling `documentation') In-Reply-To: (Alan Mackenzie's message of "Tue, 9 Jan 2024 11:26:52 +0000") References: <8734vgjya9.fsf@web.de> <83wmsrzxtk.fsf@gnu.org> <875y056hvj.fsf@web.de> <8334v9simj.fsf@gnu.org> <877ckloxos.fsf@web.de> <87sf375snq.fsf@web.de> Date: Wed, 10 Jan 2024 04:28:32 +0100 Message-ID: <87sf35j28v.fsf_-_@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:cGbxkPKrWMuFAkA8fwfgMXb9i7XDiJ/jKOpaaffMna7a1ObMoyj OTVZr60cbYTxhhFEoqSXbF6R/EjElLbwPb0WxrXL8TfouGD5nNzu/26Ouxc/UwskpOp9uuN cl5ddpu/LSSu95yZ4L26So2fIPqGIPzv1vdLrcku2cTEBdROAhY9VRIYyzOqknS+MyCx2DA 6GZfioNjskaHEKF2/oYEQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:iiG8uNkYC2M=;3EQ0ucSjRJA+ySPv9xR9Nfa5Y9+ JD9HUg+vDkzcAhD2ygeMjxBZT77Zg+nl612yDTgaMQ7o3kK+N3NRZUV8VofaviiJyAsKCdrtU RDRg70xKheirS5h/rh/dFntN08Gnh68mAqcMAQ3nBmUviNhVpiTbDRw1WaNCnnAZsQKf9y82D jdDT7+VTzbeG6Bf/fHh40yWDgoB3j8IQWuwXTzIbmwA5BjAaAcGP9UiDWo+0NuY6E+Nq6lhTK mc9b8Ql1FOszzTHu0XrWuWIQBeADpPEzkdGUS0XRr26PuSyzM9SQUC+f0C5EW4UwARcai/5W4 HaKfRyzsKKSTk8daD1JPPYC+xund14+IpvvWNP903OvLYsO6DsvYnxizmWyLlE+kxL2QGTIEw e2Mck+4ZtwF2UVZi6B9vMNWRzOc5A+r/hqJGS7cgjvAk3G7mDVl0Tr4+eRWE/37Czw0oyU7b1 kaDukgB+v5DigtU92v4vMOe4M2fXkxblVYYvFOsJKSJnp2kje3y+NaLEgXrLq6NeCw4vaBdi6 JLlCkO4OToXQ6e9l5m6/fGJcqiwN+mZ1akzUT49IiTGHb1Tk6TJIwobwzenJioNxZ91yry/jZ 1c35z61gUPy0RggNIIz7MhITmWV1KxDQeNbT4mjkHpbnY/fIKbleIIPtFQ7CduEfZKIyWrg+J NC9Y2GDlmzYWvbFXlTq6HoUypRfLfCYR70//vBu6sxhmrjcVTdcciBGyKZAHZZbR7ptUH/fkY UcRk9ICgchvdlSs7h/posUaeFex9BNGZrz9qTfdEzBS2q9JxscVZmYdk3vDuj42DP+YW82Sg7 lQo6oqAY26OV6KebMX3lU4d75apoVefCtGzHrmVXYbKEAcIrgw2r4MeGjvLjZg2CDQgwaxArI ycaWeOkCWElfXF5bY4WzCW8KF17j+LMHzNnQHszhrL6+Kwpc94vMybnEZpBFdbW9rNJS3bofD YPzyZAPH36LAD7cfCf+m4WOh340= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 68200 Cc: Gerd =?utf-8?Q?M=C3=B6llmann?= , Eli Zaretskii , 68200@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Alan Mackenzie writes: > You've almost certainly written your own patch for it by now, but > nevertheless, could I ask you to try out this patch. I don't have a > convenient test case here. > > diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el > index 2bc8d54ba77..ad8d53d01e9 100644 > --- a/lisp/emacs-lisp/bytecomp.el > +++ b/lisp/emacs-lisp/bytecomp.el > @@ -2605,9 +2605,10 @@ byte-compile-output-docform > `defvaralias', `autoload' and `custom-declare-variable' need that." > ;; We need to examine byte-compile-dynamic-docstrings > ;; in the input buffer (now current), not in the output buffer. > - (let ((byte-compile-dynamic-docstrings byte-compile-dynamic-docstrings)) > + (let ((dynamic-docstrings byte-compile-dynamic-docstrings)) > (with-current-buffer byte-compile--outbuffer > - (let ((position (point)) > + (let ((byte-compile-dynamic-docstrings dynamic-docstrings) > + (position (point)) Yes, that's what I tried as well. This approach seems to fix this problem here, so: fine by me. Thanks, Michael. From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 11 12:59:41 2024 Received: (at 68200-done) by debbugs.gnu.org; 11 Jan 2024 17:59:41 +0000 Received: from localhost ([127.0.0.1]:33838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNzLB-0002lE-1f for submit@debbugs.gnu.org; Thu, 11 Jan 2024 12:59:41 -0500 Received: from mail.muc.de ([193.149.48.3]:33370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNzL8-0002l0-W0 for 68200-done@debbugs.gnu.org; Thu, 11 Jan 2024 12:59:40 -0500 Received: (qmail 68643 invoked by uid 3782); 11 Jan 2024 18:59:35 +0100 Received: from acm.muc.de (p4fe15a91.dip0.t-ipconnect.de [79.225.90.145]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Thu, 11 Jan 2024 18:59:34 +0100 Received: (qmail 29810 invoked by uid 1000); 11 Jan 2024 17:59:34 -0000 Date: Thu, 11 Jan 2024 17:59:34 +0000 To: Michael Heerdegen Subject: Re: File local byte-compile-dynamic-docstrings:nil ignored (was: bug#68200: 30.0.50; Emacs reloads init file when calling `documentation') Message-ID: References: <8734vgjya9.fsf@web.de> <83wmsrzxtk.fsf@gnu.org> <875y056hvj.fsf@web.de> <8334v9simj.fsf@gnu.org> <877ckloxos.fsf@web.de> <87sf375snq.fsf@web.de> <87sf35j28v.fsf_-_@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87sf35j28v.fsf_-_@web.de> X-Submission-Agent: TMDA/1.3.x (Ph3nix) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68200-done Cc: Gerd =?iso-8859-1?Q?M=F6llmann?= , acm@muc.de, Eli Zaretskii , 68200-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Michael. On Wed, Jan 10, 2024 at 04:28:32 +0100, Michael Heerdegen wrote: > Alan Mackenzie writes: > > You've almost certainly written your own patch for it by now, but > > nevertheless, could I ask you to try out this patch. I don't have a > > convenient test case here. > > diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el > > index 2bc8d54ba77..ad8d53d01e9 100644 > > --- a/lisp/emacs-lisp/bytecomp.el > > +++ b/lisp/emacs-lisp/bytecomp.el > > @@ -2605,9 +2605,10 @@ byte-compile-output-docform > > `defvaralias', `autoload' and `custom-declare-variable' need that." > > ;; We need to examine byte-compile-dynamic-docstrings > > ;; in the input buffer (now current), not in the output buffer. > > - (let ((byte-compile-dynamic-docstrings byte-compile-dynamic-docstrings)) > > + (let ((dynamic-docstrings byte-compile-dynamic-docstrings)) > > (with-current-buffer byte-compile--outbuffer > > - (let ((position (point)) > > + (let ((byte-compile-dynamic-docstrings dynamic-docstrings) > > + (position (point)) > Yes, that's what I tried as well. This approach seems to fix this > problem here, so: fine by me. OK, I've committed the fix and I'm closing the bug with this post. > Thanks, > Michael. -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 11 13:11:08 2024 Received: (at 68200) by debbugs.gnu.org; 11 Jan 2024 18:11:08 +0000 Received: from localhost ([127.0.0.1]:33849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNzWF-0005mL-Pz for submit@debbugs.gnu.org; Thu, 11 Jan 2024 13:11:08 -0500 Received: from mail.muc.de ([193.149.48.3]:22597) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNzWA-0005lm-Kc for 68200@debbugs.gnu.org; Thu, 11 Jan 2024 13:11:06 -0500 Received: (qmail 83651 invoked by uid 3782); 11 Jan 2024 19:10:59 +0100 Received: from acm.muc.de (p4fe15a91.dip0.t-ipconnect.de [79.225.90.145]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Thu, 11 Jan 2024 19:10:59 +0100 Received: (qmail 29890 invoked by uid 1000); 11 Jan 2024 18:10:58 -0000 Date: Thu, 11 Jan 2024 18:10:58 +0000 To: Eli Zaretskii Subject: Re: bug#68200: 30.0.50; Emacs reloads init file when calling `documentation' Message-ID: References: <8734vgjya9.fsf@web.de> <83wmsrzxtk.fsf@gnu.org> <875y056hvj.fsf@web.de> <8334v9simj.fsf@gnu.org> <877ckloxos.fsf@web.de> <83r0iqptu5.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <83r0iqptu5.fsf@gnu.org> X-Submission-Agent: TMDA/1.3.x (Ph3nix) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68200 Cc: michael_heerdegen@web.de, gerd.moellmann@gmail.com, 68200@debbugs.gnu.org, acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Eli. On Tue, Jan 09, 2024 at 14:36:02 +0200, Eli Zaretskii wrote: > > Date: Mon, 8 Jan 2024 21:22:16 +0000 > > Cc: Eli Zaretskii , > > Gerd Möllmann , > > 68200@debbugs.gnu.org, acm@muc.de > > From: Alan Mackenzie > > > > 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? > Because RAM is always at premium, and because these things add up. > > 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. > No, 40MB is far from being negligible. It's not negligible compared with the rest of Emacs, but is less than ¼% of the RAM in a machine with 16GB. > > Eli, what would you say to changing the default of the custom variable > > byte-compile-dynamic-docstrings to nil? > Why would that be useful? to hide bugs in code that doesn't work when > the variable is non-nil? No, the bug has been fixed. But, as Michael pointed out, lots of things are being done with doc strings now which weren't being done when the dynamic doc strings were introduced. Indeed, they were surely a workaround for limited RAM in machines a very long time ago. Now that we're doing more with doc strings, the inconvenience of not getting a doc string after editing a source file might well outweigh the relatively small amount of RAM that these doc strings need. Hence the suggestion to change the default. [ .... ] > Thanks. -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 11 14:22:29 2024 Received: (at 68200) by debbugs.gnu.org; 11 Jan 2024 19:22:29 +0000 Received: from localhost ([127.0.0.1]:33919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rO0dI-0004By-Ms for submit@debbugs.gnu.org; Thu, 11 Jan 2024 14:22:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rO0dH-0004Bl-8t for 68200@debbugs.gnu.org; Thu, 11 Jan 2024 14:22:27 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rO0dD-0002m1-QN; Thu, 11 Jan 2024 14:22:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=ziCpUfHh+rE2oi7wVA2E8EdTzTpEvNoPyU0NViX6hKA=; b=HnoSdvbspoeNtGoxGRfk MfT3MULYo6/FD/bTQbCHBAP/uKXmKEb4N//S+iibKhhPsEX8b2mEvF2QsNDU9DoJvZ+sl/ek3beMk 45Yd2otT78jtY8BZ/cnlIrMTXXGD04Y13WXtEI4FXzhGERayud5E1rMdKmTm8EtwtNSwOztCWE5Xb AOFdI11+lkwbFUfSgg4BGQxOIux0x986bXv+tFVmmNKZjB72ebfWzAFb2JjDifWUOKL+Vk8xdhceT qWKO0kQepYY8Q6eLD589HMoESYt1I7tezYAhXGb5aD6l5nNApihd4CldMn5VHXA9qGjgoidpxj9y4 tcdmEMCll3qskA==; Date: Thu, 11 Jan 2024 21:22:08 +0200 Message-Id: <831qanllpb.fsf@gnu.org> From: Eli Zaretskii To: Alan Mackenzie In-Reply-To: (message from Alan Mackenzie on Thu, 11 Jan 2024 18:10:58 +0000) Subject: Re: bug#68200: 30.0.50; Emacs reloads init file when calling `documentation' References: <8734vgjya9.fsf@web.de> <83wmsrzxtk.fsf@gnu.org> <875y056hvj.fsf@web.de> <8334v9simj.fsf@gnu.org> <877ckloxos.fsf@web.de> <83r0iqptu5.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 68200 Cc: michael_heerdegen@web.de, gerd.moellmann@gmail.com, 68200@debbugs.gnu.org, acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Thu, 11 Jan 2024 18:10:58 +0000 > Cc: michael_heerdegen@web.de, gerd.moellmann@gmail.com, 68200@debbugs.gnu.org, > acm@muc.de > From: Alan Mackenzie > > > No, 40MB is far from being negligible. > > It's not negligible compared with the rest of Emacs, but is less than ¼% > of the RAM in a machine with 16GB. No, it isn't, because most of those 16GB are in use at any given moment. > No, the bug has been fixed. But, as Michael pointed out, lots of things > are being done with doc strings now which weren't being done when the > dynamic doc strings were introduced. Indeed, they were surely a > workaround for limited RAM in machines a very long time ago. > > Now that we're doing more with doc strings, the inconvenience of not > getting a doc string after editing a source file might well outweigh the > relatively small amount of RAM that these doc strings need. > > Hence the suggestion to change the default. Since I disagree with your argument about memory being available for free, I also disagree with the suggestion that is based on that argument. From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 11 14:40:16 2024 Received: (at 68200) by debbugs.gnu.org; 11 Jan 2024 19:40:16 +0000 Received: from localhost ([127.0.0.1]:33953 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rO0uW-0007Ks-0c for submit@debbugs.gnu.org; Thu, 11 Jan 2024 14:40:16 -0500 Received: from mail.muc.de ([193.149.48.3]:27375) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rO0uT-0007Ke-Lb for 68200@debbugs.gnu.org; Thu, 11 Jan 2024 14:40:15 -0500 Received: (qmail 89479 invoked by uid 3782); 11 Jan 2024 20:40:09 +0100 Received: from acm.muc.de (p4fe15a91.dip0.t-ipconnect.de [79.225.90.145]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Thu, 11 Jan 2024 20:40:09 +0100 Received: (qmail 30444 invoked by uid 1000); 11 Jan 2024 19:40:09 -0000 Date: Thu, 11 Jan 2024 19:40:09 +0000 To: Eli Zaretskii Subject: Re: bug#68200: 30.0.50; Emacs reloads init file when calling `documentation' Message-ID: References: <8734vgjya9.fsf@web.de> <83wmsrzxtk.fsf@gnu.org> <875y056hvj.fsf@web.de> <8334v9simj.fsf@gnu.org> <877ckloxos.fsf@web.de> <83r0iqptu5.fsf@gnu.org> <831qanllpb.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <831qanllpb.fsf@gnu.org> X-Submission-Agent: TMDA/1.3.x (Ph3nix) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68200 Cc: michael_heerdegen@web.de, gerd.moellmann@gmail.com, 68200@debbugs.gnu.org, acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Eli. On Thu, Jan 11, 2024 at 21:22:08 +0200, Eli Zaretskii wrote: > > Date: Thu, 11 Jan 2024 18:10:58 +0000 > > Cc: michael_heerdegen@web.de, gerd.moellmann@gmail.com, 68200@debbugs.gnu.org, > > acm@muc.de > > From: Alan Mackenzie > > > No, 40MB is far from being negligible. > > It's not negligible compared with the rest of Emacs, but is less than ¼% > > of the RAM in a machine with 16GB. > No, it isn't, because most of those 16GB are in use at any given > moment. I'm sure they're not on my machine. But I'm glad RAM is now measured in GB, not MB. > > No, the bug has been fixed. But, as Michael pointed out, lots of things > > are being done with doc strings now which weren't being done when the > > dynamic doc strings were introduced. Indeed, they were surely a > > workaround for limited RAM in machines a very long time ago. > > Now that we're doing more with doc strings, the inconvenience of not > > getting a doc string after editing a source file might well outweigh the > > relatively small amount of RAM that these doc strings need. > > Hence the suggestion to change the default. > Since I disagree with your argument about memory being available for > free, I also disagree with the suggestion that is based on that > argument. No problem. If I find annoyance with files continually reloading, like Michael did, I can always set my own value of that variable. Have a good evening! -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 11 14:54:45 2024 Received: (at 68200) by debbugs.gnu.org; 11 Jan 2024 19:54:45 +0000 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 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 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) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 11 Jan 2024 11:54:38 -0800 From: Stefan Kangas In-Reply-To: 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 Date: Thu, 11 Jan 2024 11:54:38 -0800 Message-ID: Subject: Re: bug#68200: 30.0.50; Emacs reloads init file when calling `documentation' To: Alan Mackenzie , Michael Heerdegen Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68200 Cc: =?UTF-8?Q?Gerd_M=C3=B6llmann?= , Eli Zaretskii , 68200@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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). From unknown Thu Aug 14 21:44:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 09 Feb 2024 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator