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#71537: 30.0.50; [PATCH] missing autoload cookies Date: Fri, 14 Jun 2024 14:00:11 +0300 Message-ID: <86plsjyekk.fsf@gnu.org> References: <6b02899a34d61995765d18f245dd33c5@posteo.net> <868qz8zwku.fsf@gnu.org> <76a8fbc0c826314a440c04d54fc1f71f@posteo.net> <86y178xbwc.fsf@gnu.org> <45eb2322a2b9b676d0d1b319378d81ed@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7045"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71537-done@debbugs.gnu.org To: Gerard Vermeulen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 14 13:01:28 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 1sI4gS-0001gL-DI for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Jun 2024 13:01:28 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sI4g5-0003ui-Rd; Fri, 14 Jun 2024 07:01: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 1sI4g3-0003uL-68 for bug-gnu-emacs@gnu.org; Fri, 14 Jun 2024 07:01: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 1sI4g2-0006yI-Sq for bug-gnu-emacs@gnu.org; Fri, 14 Jun 2024 07:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sI4g2-0007F2-MX for bug-gnu-emacs@gnu.org; Fri, 14 Jun 2024 07:01:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Jun 2024 11:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 71537 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 71537@debbugs.gnu.org, eliz@gnu.org, gerard.vermeulen@posteo.net Original-Received: via spool by 71537-done@debbugs.gnu.org id=D71537.171836285827814 (code D ref 71537); Fri, 14 Jun 2024 11:01:02 +0000 Original-Received: (at 71537-done) by debbugs.gnu.org; 14 Jun 2024 11:00:58 +0000 Original-Received: from localhost ([127.0.0.1]:40040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sI4fy-0007EY-0Q for submit@debbugs.gnu.org; Fri, 14 Jun 2024 07:00:58 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34414) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sI4fv-0007EE-Au for 71537-done@debbugs.gnu.org; Fri, 14 Jun 2024 07:00:56 -0400 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 1sI4fo-0006x7-Vj; Fri, 14 Jun 2024 07:00:48 -0400 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=3LbhgDFGE2MvSxOTfSkilqH1I4HhpbexSVlHhb3/un8=; b=gSfvOnRGtA1orZfrLCAn 0U4YPKQSUIM9n2Orhy+JWhAOai19FJIcqc1LcpaPQO7q2Mn/s8Vv98xei9g1k1eWygbcr+0qnvDcq is9T99GsbFgdNnlsi/zkjKpD6eBB9LXTqRF3uzCIN4Z+pXg7nmbkFjEwzB3iVbyfTgBFyc3QFd/a7 4lLljdLov+pojiWlo0aA4bUCRskvm5E+J3b/j4/HuVi1F1m703nHnyTUjMPcEnCeLGlMvk4FIe1uz +KZxYlp+75S/975j+91LBDEJ0o+8h6ptQR9388O0F7JNg/rx6Uu6I75uHdr2NDfAOI8KF9003ccSK kq56zEuEO/z3Tw==; In-Reply-To: <45eb2322a2b9b676d0d1b319378d81ed@posteo.net> (message from Gerard Vermeulen on Fri, 14 Jun 2024 08:29:01 +0000) 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:287220 Archived-At: > Date: Fri, 14 Jun 2024 08:29:01 +0000 > From: Gerard Vermeulen > Cc: 71537@debbugs.gnu.org > > > > 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 > >> > >> > 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? > >> > >> I try: after deleting those require's: > >> > >> 1. and after doing "M-x describe-function shortdoc" before shortdoc > >> has > >> been > >> (auto)loaded by something else, I get in my message window: > >> > >> help-fns--run-describe-functions: Symbol’s function definition is > >> void: shortdoc-help-fns-examples-function > >> > >> and the help window does not show (is not created). > > > > 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 > require. > > After moving shortdoc-help-fns-examples-function after all > help-fns--XXXX > functions in the list, everything works fine without the require. > > > > >> 2. and after calling "other-window" flash-line-around-point gets > >> called, > >> but I get in my message window: > >> > >> byte-code: Defining as dynamic an already lexical var: > >> pulse-iterations > > > > 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. Done, thanks.