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: Thu, 03 Aug 2023 17:55:43 -0400 Message-ID: References: <874jlp8kt2.fsf@posteo.net> <83ila5l2az.fsf@gnu.org> <87jzukmvub.fsf@posteo.net> <873518xaoz.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="17449"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 64902@debbugs.gnu.org To: Thierry Volpiatto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 03 23:56:18 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 1qRgIr-0004IT-H8 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Aug 2023 23:56:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qRgIe-0007aB-H2; Thu, 03 Aug 2023 17:56:04 -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 1qRgId-0007ZA-4y for bug-gnu-emacs@gnu.org; Thu, 03 Aug 2023 17:56: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 1qRgIc-0005Bz-Sh for bug-gnu-emacs@gnu.org; Thu, 03 Aug 2023 17:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qRgIc-0002Rr-DJ for bug-gnu-emacs@gnu.org; Thu, 03 Aug 2023 17:56: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: Thu, 03 Aug 2023 21:56: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-submit@debbugs.gnu.org id=B64902.16910997549396 (code B ref 64902); Thu, 03 Aug 2023 21:56:02 +0000 Original-Received: (at 64902) by debbugs.gnu.org; 3 Aug 2023 21:55:54 +0000 Original-Received: from localhost ([127.0.0.1]:53075 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qRgIU-0002RT-HQ for submit@debbugs.gnu.org; Thu, 03 Aug 2023 17:55:54 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:2700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qRgIT-0002RI-Dt for 64902@debbugs.gnu.org; Thu, 03 Aug 2023 17:55:53 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 1C7348062B; Thu, 3 Aug 2023 17:55:48 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1691099746; bh=ukAUhgcV93vBE1FrdjcmkS2AfJzdxWkqJ5t0Axru16A=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=hFvW/H4kcQo80oGB6UK6ixAIkdrpVzhXfLG8UnCn/dJDlcDJmbhqf5SMVm1Lqqq+8 bs3cXvneT7mOW1b4gJQjR6HXCaA5NIKu9g5UithTKZdXbgSUj78qvzHDJ9YOQCOGvd CulGJGhpNVAgCDvWDU5u7YJPkMNdxbg9KWbvQy6fPcTZe5QxBCJmroOHHfHHsmcaRT kOaJ2ySaZjgBPy7DVpEhC/WKdVzgKpsRiqz/OHqDHRxY6GQa+87jML1D9ZAWSRmSn9 8Zb9LlBGY0flh6u9gOG0rEPe9T5U9yxPZKWWFyAuzi8uJALsQAYhlIHWDFocgcyqb3 nb7E8QkhnGQug== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id C8831805B2; Thu, 3 Aug 2023 17:55:46 -0400 (EDT) Original-Received: from alfajor (unknown [181.44.118.150]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id BAF091202A8; Thu, 3 Aug 2023 17:55:45 -0400 (EDT) In-Reply-To: (Stefan Monnier's message of "Thu, 03 Aug 2023 09:30:29 -0400") 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:266628 Archived-At: > The core of the problem is that in the normal UI, `confirm` is very > lightweight (you'll basically only notice it when you do try to enter > the name of a function that's not defined) whereas in the Helm UI it's > harder to hide it. In the long run, maybe the better option would be to move the `confirm` info from `require-match` to `test-completion`: make it so `test-completion` can return a value which says "this may be a valid completion but it requires confirmation from the user". This way `describe-function` could distinguish between names which are sure to correspond to nothing (e.g. there is no matching symbol in `obarray`, or there is but it has both `symbol-function` and `symbol-plist` are empty) and names where `symbol-function` is nil, but there are some properties defined. Stefan