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 09:30:29 -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="34536"; 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 15:31:46 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 1qRYQc-0008nh-7z for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Aug 2023 15:31:46 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qRYPw-0001O7-I9; Thu, 03 Aug 2023 09:31: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 1qRYPu-0001Nq-S3 for bug-gnu-emacs@gnu.org; Thu, 03 Aug 2023 09:31: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 1qRYPu-0005Ps-9j for bug-gnu-emacs@gnu.org; Thu, 03 Aug 2023 09:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qRYPt-0005DJ-Qy for bug-gnu-emacs@gnu.org; Thu, 03 Aug 2023 09:31:01 -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 13:31:01 +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.169106944620012 (code B ref 64902); Thu, 03 Aug 2023 13:31:01 +0000 Original-Received: (at 64902) by debbugs.gnu.org; 3 Aug 2023 13:30:46 +0000 Original-Received: from localhost ([127.0.0.1]:51077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qRYPe-0005Ci-AV for submit@debbugs.gnu.org; Thu, 03 Aug 2023 09:30:46 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:18641) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qRYPd-0005CT-2h for 64902@debbugs.gnu.org; Thu, 03 Aug 2023 09:30:45 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 742F04407B6; Thu, 3 Aug 2023 09:30:39 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1691069433; bh=3Drd/dHkPRyTh0VYfD/BZdgzbz5fe3NzQEiRW9gLIgg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=RVoYO5MTbQ1hFr27KhOSHd/T4HH9S/Pi1XG6ex3kNHIKAI2wPCDUXDBf+H7SDG7xm zIgPIPQR9/gqgcEd6NTPoxtV2deNJ+5yJ08hS8cRWEnCd/36azMcGeOdjFcj+Rc84l ug3lyBIkkH9E3VXnMXXzuBy+eJZDdFRswQUwi3nj5FRc32E2ntwbK6O4xO/UxPqj0Q wwr4gpbnS/Mpdk94Tsg9S6OdfohZ5fnBFNQUBgPoU7Iasb/WfYM+7qArU0BWS1q0eR 4CIa0X8w20LK7/XAM7ClGd9S4ShtaqKRMCM/yrWiqlX/u7lBeXVIqLl6NcslNT5Wzv bEhK3wIoiFJcQ== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 95B994416EC; Thu, 3 Aug 2023 09:30:33 -0400 (EDT) Original-Received: from alfajor (unknown [181.44.118.150]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 93D061201C1; Thu, 3 Aug 2023 09:30:32 -0400 (EDT) In-Reply-To: <873518xaoz.fsf@posteo.net> (Thierry Volpiatto's message of "Fri, 28 Jul 2023 16:16:42 +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:266586 Archived-At: >>> The problem is that with Helm completion I have an extra unknown >>> symbol on top of list when I start typing (this is expected when >>> require-match is non-nil), >> Could you characterize this "unknown symbol" a bit more? I'm having >> trouble guessing why/how/where `confirm` would have such an effect. > In Helm, if require-match is 'confirm, when you write in minibuffer something > that doesn't match one of the candidates this string is appended on top > of list and is prefixed (with display prop) with [?]. By contrast when > require-match is nil nothing is appended on top of list and pressing RET > doesn't exit minibuffer (helm-buffer is empty in such case). > IOW the behavior of require-match is the same than with vanilla Emacs. I see. So IIUC every piece works "correctly", but since it's *very* rare to want to use this ?-prefixed option in the case of `describe-function`, it looks/feels like a bug. 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. And I guess for other cases (like `find-file`) the use of the ?-prefixed option is sufficiently common to deserve being more visible? Stefan