From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#68200: File local byte-compile-dynamic-docstrings:nil ignored (was: bug#68200: 30.0.50; Emacs reloads init file when calling `documentation') Date: Wed, 10 Jan 2024 04:28:32 +0100 Message-ID: <87sf35j28v.fsf_-_@web.de> 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> Reply-To: Michael Heerdegen Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39798"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Gerd =?UTF-8?Q?M=C3=B6llmann?= , Eli Zaretskii , 68200@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 10 04:29:46 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 1rNPHl-000A54-Eb for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Jan 2024 04:29:45 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rNPH3-0002sj-2V; Tue, 09 Jan 2024 22:29:01 -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 1rNPGx-0002na-P6 for bug-gnu-emacs@gnu.org; Tue, 09 Jan 2024 22:28:55 -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 1rNPGx-0005rh-EZ for bug-gnu-emacs@gnu.org; Tue, 09 Jan 2024 22:28:55 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rNPH4-00073Y-Iv for bug-gnu-emacs@gnu.org; Tue, 09 Jan 2024 22:29:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Jan 2024 03:29:02 +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.170485731727088 (code B ref 68200); Wed, 10 Jan 2024 03:29:02 +0000 Original-Received: (at 68200) by debbugs.gnu.org; 10 Jan 2024 03:28:37 +0000 Original-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 Original-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 Original-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 In-Reply-To: (Alan Mackenzie's message of "Tue, 9 Jan 2024 11:26:52 +0000") X-Provags-ID: V03:K1:cGbxkPKrWMuFAkA8fwfgMXb9i7XDiJ/jKOpaaffMna7a1ObMoyj OTVZr60cbYTxhhFEoqSXbF6R/EjElLbwPb0WxrXL8TfouGD5nNzu/26Ouxc/UwskpOp9uuN cl5ddpu/LSSu95yZ4L26So2fIPqGIPzv1vdLrcku2cTEBdROAhY9VRIYyzOqknS+MyCx2DA 6GZfioNjskaHEKF2/oYEQ== 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+YW82Sg 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:277678 Archived-At: 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.