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#64902: 30.0.50; REQUIRE-MATCH completing-read arg in describe-* commands Date: Tue, 15 Aug 2023 12:34:55 -0400 Message-ID: References: <874jlp8kt2.fsf@posteo.net> <83ila5l2az.fsf@gnu.org> <87jzukmvub.fsf@posteo.net> <873518xaoz.fsf@posteo.net> <87il9u55yg.fsf@posteo.net> <87sf8ks3ow.fsf@posteo.net> 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="34535"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 64902-done@debbugs.gnu.org To: Thierry Volpiatto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 15 18:36:33 2023 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 1qVx21-0008kA-2W for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Aug 2023 18:36:33 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qVx1a-0001ef-IU; Tue, 15 Aug 2023 12:36:06 -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 1qVx1X-0001cR-Em for bug-gnu-emacs@gnu.org; Tue, 15 Aug 2023 12:36: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 1qVx1X-0004BP-6k for bug-gnu-emacs@gnu.org; Tue, 15 Aug 2023 12:36:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qVx1X-0002TN-12 for bug-gnu-emacs@gnu.org; Tue, 15 Aug 2023 12:36:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Aug 2023 16:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64902 X-GNU-PR-Package: emacs Original-Received: via spool by 64902-done@debbugs.gnu.org id=D64902.16921173059418 (code D ref 64902); Tue, 15 Aug 2023 16:36:02 +0000 Original-Received: (at 64902-done) by debbugs.gnu.org; 15 Aug 2023 16:35:05 +0000 Original-Received: from localhost ([127.0.0.1]:36560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVx0a-0002Rq-Sy for submit@debbugs.gnu.org; Tue, 15 Aug 2023 12:35:05 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:1804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qVx0Z-0002RF-Mi for 64902-done@debbugs.gnu.org; Tue, 15 Aug 2023 12:35:04 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 1E476805E6; Tue, 15 Aug 2023 12:34:58 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1692117296; bh=0bEk1yI9zVUXmKNYwDgvwAx6QZrBe1aCwh7eJnWlNSg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=VWEkeegfvXx0aSHO5vdzXSt5gNNeLjZFIFc9gAWgsBmw70BGfGLJE5m+aUIlEvmx/ kmEFXPMY+IMClcFX51I5qVFdCH7iuIT8HX9kPvSSZfi1cqrmOGh90+L4f20pjjm/3M ksIkqZBFvfb+3Ciids/a6rVT6+4CIzP57n6cUz5H7cBtbvF48VQE6xv8/9zNgYsO2a tMDlwWBbvw3ERGWzVH810vxOc1bu2usjmD+FMRU+0EesD5rDzddjbYHPSZMx9h9XZ4 cIjHbcxtoBozf9iWqQOzSuFV9KdKM2OM2EbLs7T4eaSuSWdky61ed8AKT0bN6Ntwap jsU87M6ffpB+A== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id D50118056A; Tue, 15 Aug 2023 12:34:56 -0400 (EDT) Original-Received: from alfajor (unknown [23.233.149.155]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id B17C11203CE; Tue, 15 Aug 2023 12:34:56 -0400 (EDT) In-Reply-To: <87sf8ks3ow.fsf@posteo.net> (Thierry Volpiatto's message of "Tue, 15 Aug 2023 15:41: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:267511 Archived-At: >> Having tried now I see that the command signals an error when >> symbol-function is void. > > Assuming that "the command" is `describe-function` and you mean the > argument SYMBOL of `symbol-function` is void (I hardly see why > `symbol-function` would be void), I can't reproduce your > error, here a small recipe: Yes, in some cases it does "work". > (defun advice-foo-test () > (message "Hello")) > > (advice-add 'foo-test :override 'advice-foo-test) Notice that even after reverting my commit, `describe-function` still accepts (and completes) `foo-test` :-) [ This is because it adds a `function-documentation` property. ] > ,---- > | foo-test is . > | > | [Missing arglist.] > | > | Not documented. > `---- It doesn't signal an error, but the *Help* above is rather poor :-( Stefan