From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#72787: 31.0.50; Invalid describe-function completion candidates Date: Fri, 11 Oct 2024 18:22:59 -0400 Message-ID: References: <87le0m5fzc.fsf@protonmail.com> <87o75gvz5l.fsf@web.de> <86y14daugk.fsf@gnu.org> <86ed639ruw.fsf@gnu.org> <86cyk831qz.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39583"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: michael_heerdegen@web.de, Eli Zaretskii , 72787@debbugs.gnu.org, Eshel Yaron , pipcet@protonmail.com To: Arash Esbati Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 12 00:24:07 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 1szO3K-000A9p-UJ for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Oct 2024 00:24:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1szO36-0002GG-Tx; Fri, 11 Oct 2024 18:23:53 -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 1szO34-0002Fh-C8 for bug-gnu-emacs@gnu.org; Fri, 11 Oct 2024 18:23:50 -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 1szO34-0004Vv-3j for bug-gnu-emacs@gnu.org; Fri, 11 Oct 2024 18:23:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=WM8qwHeNhQ26u3i3sYs62GRKLh+dDK2ZEOWDfT/soUg=; b=NhxqjG+hUFNUIJFKRHsstF4r0HWvpU+y89ePnD52KO/vHMVogfL2thxeRv2uuWApQe45AHlE5LQiwdraaVuNpRDdp2rU7UsTrZF9U90MXgkp2ku0OMbRcTBL+DFPQvvgimCvfPrzy/jnliHLRE5bjfJZLSLQBrLz7sjWp4PF8REuT+ZcEWlKX613Qzl+Cvy82MUxonYOIp8+TX3yylroiDP7E7r0GUvjAXhdAlrMiB0D/MhtoN22ETfqgqZC/BLbxNFdZCjGBelTj4bkEnHS+8thzAUfohkfxUh+3gkMqMvAxINULb3aic0+8Bj5jAiMAA9dFmnRiHhn3JG6XaM4DQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1szO3G-0006yO-2H for bug-gnu-emacs@gnu.org; Fri, 11 Oct 2024 18:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Oct 2024 22:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72787 X-GNU-PR-Package: emacs Original-Received: via spool by 72787-submit@debbugs.gnu.org id=B72787.172868540426747 (code B ref 72787); Fri, 11 Oct 2024 22:24:02 +0000 Original-Received: (at 72787) by debbugs.gnu.org; 11 Oct 2024 22:23:24 +0000 Original-Received: from localhost ([127.0.0.1]:35592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1szO2e-0006xL-0d for submit@debbugs.gnu.org; Fri, 11 Oct 2024 18:23:24 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:27296) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1szO2b-0006x5-Kh for 72787@debbugs.gnu.org; Fri, 11 Oct 2024 18:23:23 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 4F4DD4447A2; Fri, 11 Oct 2024 18:23:01 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1728685380; bh=mAJ3uC4HuK4/gSdc1AkSmrIXZa3JNVUfYoRwHGCrPMQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=Hh4SuZxlvXro1c398TO7joBGSYqvG46gaQEA9fZ9aCWrykkWJ8nqzObGre80lFpaS q2Z3PBqAz63lWEnEOTiCAPWgqbarOABdettO+K+7lHLZxGWlHUY/FVku8UUZXq2afb qdgtkdYGUIini6PuI8+XAZ7hDY7vxb++Ag4pstEJ5PsYz/B0T9O4xmhg10f9hXKPSr vaaXhvAXB8zMZEa1G30QJJajl3hD3j13eOeqR9+7Fwyy1Eu90AkC6bJYoPy6xYqjjB 2lmSWY6hODXMA3HbV8CjWcX1c0Dq/08huUg5RFnqcF28j4lCEG1u46VU44u4tpPhPo KgssDbcuoRGbA== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 2AD0E441BD4; Fri, 11 Oct 2024 18:23:00 -0400 (EDT) Original-Received: from pastel (104-195-209-82.cpe.teksavvy.com [104.195.209.82]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id DCDF91201FA; Fri, 11 Oct 2024 18:22:59 -0400 (EDT) In-Reply-To: (Arash Esbati's message of "Fri, 11 Oct 2024 16:22:23 +0200") 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:293386 Archived-At: >>> AFAIU, the feature here would be loading library foo just in time for >>> you to get help about symbol foo-bar. Actually, it's not so much for the case where you know you want to see `foo-bar` (which should be handled by `help-enable-symbol-autoload` already) but also to let you discover that there might be a `foo-bar` because there's a `foo-`. >>> So I suggest doing one of the following: >>> - implement the feature differently, without this side-effect; or I'm all for it but I don't know what that would look like. > From the second image above, I'd say that the feature isn't working > correctly. Could you clarify which part of the picture make you think so? [ Also, does (featurep 'dash) return nil or t before you perform that completion? ] [ Also did you get this with an Emacs which includes: commit 8683d64cc571500347a16e7cb7d144d723250489 Author: Stefan Monnier Date: Thu Oct 3 10:25:13 2024 -0400 (help--symbol-completion-table): Try and fix bug#73473 * lisp/help-fns.el (help--symbol-completion-table): Be more careful with `help-enable-completion-autoload` so we don't load a package in cases where we already know it won't impact the result. ] > This is what I see after setting `help-enable-completion-autoload' to nil: [...] > Thanks for the pointer, I've set the variable to nil for now. Sorry for not mentioning it earlier, I stupidly assumed you were aware of that variable. Stefan