From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerard Vermeulen Newsgroups: gmane.emacs.bugs Subject: bug#71537: 30.0.50; [PATCH] missing autoload cookies Date: Fri, 14 Jun 2024 08:29:01 +0000 Message-ID: <45eb2322a2b9b676d0d1b319378d81ed@posteo.net> References: <6b02899a34d61995765d18f245dd33c5@posteo.net> <868qz8zwku.fsf@gnu.org> <76a8fbc0c826314a440c04d54fc1f71f@posteo.net> <86y178xbwc.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39702"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71537@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 14 10:30:19 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 1sI2K8-000A2T-5i for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Jun 2024 10:30:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sI2Jx-0003Tv-KW; Fri, 14 Jun 2024 04:30:05 -0400 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 1sI2Jv-0003TW-Fg for bug-gnu-emacs@gnu.org; Fri, 14 Jun 2024 04:30:03 -0400 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 1sI2Jv-00045s-2d for bug-gnu-emacs@gnu.org; Fri, 14 Jun 2024 04:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sI2Ju-0003PJ-JZ for bug-gnu-emacs@gnu.org; Fri, 14 Jun 2024 04:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerard Vermeulen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Jun 2024 08:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71537 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 71537-submit@debbugs.gnu.org id=B71537.171835375113002 (code B ref 71537); Fri, 14 Jun 2024 08:30:02 +0000 Original-Received: (at 71537) by debbugs.gnu.org; 14 Jun 2024 08:29:11 +0000 Original-Received: from localhost ([127.0.0.1]:39893 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sI2J5-0003Ne-Ej for submit@debbugs.gnu.org; Fri, 14 Jun 2024 04:29:11 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:44765) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sI2J3-0003NR-Rk for 71537@debbugs.gnu.org; Fri, 14 Jun 2024 04:29:11 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 8DFBB240103 for <71537@debbugs.gnu.org>; Fri, 14 Jun 2024 10:29:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1718353743; bh=PThIQX9YmAs24UTZbVmV82+gY7yprbJ5Kfj3y9niNQc=; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Date:From:To: Cc:Subject:Message-ID:From; b=e2L4NkMQ4KHOfiReUz/oIQjxTcB/hRR7OSUfR8MShk7IktviTpbx9l9jRkv4o+AY+ DPn/WOJOHUuTv8uEUjVCZYYtM1ch4fXkkkWGnDe6+Vwb/KtMYdhLQKiq8aEehmQQFh tjba/DWGcJjPnYwik0dnMZ59uvM8mEyhmxumc+pBjBbU4Icyue7VNt2wO3RouaGoRJ BDzh+MjZASfxxrkR4q3+ZY8CbMni/onF1kAkCCqNGfhrIaHa+d0fgQfmKAPOfBnUQo /4KI8jHIyyubdUv9k+I0StO40RqvBVoHFxrYVovpvSzn5ZC4GDIQlolA7An8c4YoI5 n9uuRwwy7jZ5g== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4W0srG2l2vz9rxQ; Fri, 14 Jun 2024 10:29:01 +0200 (CEST) In-Reply-To: <86y178xbwc.fsf@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:287218 Archived-At: On 14.06.2024 08:43, Eli Zaretskii wrote: >> Date: Thu, 13 Jun 2024 20:57:50 +0000 >> From: Gerard Vermeulen >> Cc: 71537@debbugs.gnu.org >>=20 >> > Thanks, but I don't understand why what we have now constitutes a >> > problem. help-fns loads shortdoc when it needs it, and >> > pulse-momentary-highlight-one-line is autoloaded already (you don't >> > need to auto-load variables to assign values to them). >> > >> > Can you describe the problems you have if you delete those 'require's >> > from your init file, and explain why manually requiring them is a >> > problem? >>=20 >> I try: after deleting those require's: >>=20 >> 1. and after doing "M-x describe-function shortdoc" before shortdoc=20 >> has >> been >> (auto)loaded by something else, I get in my message window: >>=20 >> help-fns--run-describe-functions: Symbol=E2=80=99s function definit= ion is >> void: shortdoc-help-fns-examples-function >>=20 >> and the help window does not show (is not created). >=20 > I cannot reproduce this. For me, the *Help* buffer is displayed > without any error message. Are you using the latest master branch of > the Emacs Git repository? Is this in "emacs -Q"? It works in "emacs -Q" in yesterday's master branch. In the process, I figured out what was the issue in my init.el: shortdoc-help-fns-examples-function was the first item in the help-fns-describe-function-functions list and this needs the=20 require. After moving shortdoc-help-fns-examples-function after all=20 help-fns--XXXX functions in the list, everything works fine without the require. >=20 >> 2. and after calling "other-window" flash-line-around-point gets=20 >> called, >> but I get in my message window: >>=20 >> byte-code: Defining as dynamic an already lexical var: >> pulse-iterations >=20 > You should use setq (or setopt) instead of let-binding. These two > variables are user options, so let-binding them is not appropriate. Indeed, it works with setq. Thanks a lot. You can close the bug, as far as I am concerned.