From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#68200: 30.0.50; Emacs reloads init file when calling `documentation' Date: Tue, 02 Jan 2024 15:09:27 +0200 Message-ID: <83wmsrzxtk.fsf@gnu.org> References: <8734vgjya9.fsf@web.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10125"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68200@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 02 14:10: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 1rKeXF-0002PC-A0 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 02 Jan 2024 14:10:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rKeX0-00061Y-4A; Tue, 02 Jan 2024 08:10: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 1rKeWw-00060c-47 for bug-gnu-emacs@gnu.org; Tue, 02 Jan 2024 08:10:02 -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 1rKeWv-0005Yg-Q0 for bug-gnu-emacs@gnu.org; Tue, 02 Jan 2024 08:10:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rKeWx-00084J-4Q for bug-gnu-emacs@gnu.org; Tue, 02 Jan 2024 08:10:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 02 Jan 2024 13:10:03 +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.170420100030991 (code B ref 68200); Tue, 02 Jan 2024 13:10:03 +0000 Original-Received: (at 68200) by debbugs.gnu.org; 2 Jan 2024 13:10:00 +0000 Original-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 Original-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 Original-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==; In-Reply-To: <8734vgjya9.fsf@web.de> (bug-gnu-emacs@gnu.org) 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:277237 Archived-At: > 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.