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#65459: completing-read INITIAL-VALUE unaware of COLLECTION and REQUIRE-MATCH Date: Sun, 27 Aug 2023 12:26:54 -0400 Message-ID: References: <9K_-oO834AqSJEo_pqDrfj7Q1O1vcqy19pPVpFDuVl5tfCjWqlLa8cRgM16uDFBEt63VYEUkj7ueLAZ8XLrfsZAuRPLvU4Mx3von1r73fEE=@protonmail.com> <596919925b4762b66be8@heytings.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="7705"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Gregory Heytings , 65459@debbugs.gnu.org, Eli Zaretskii To: Heime Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 27 18:28:08 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 1qaIcR-0001kk-SD for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Aug 2023 18:28:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qaIcH-0003ib-I7; Sun, 27 Aug 2023 12:27:57 -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 1qaIcG-0003iS-4Z for bug-gnu-emacs@gnu.org; Sun, 27 Aug 2023 12:27:56 -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 1qaIcF-0001HV-SW for bug-gnu-emacs@gnu.org; Sun, 27 Aug 2023 12:27:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qaIcL-000886-N2 for bug-gnu-emacs@gnu.org; Sun, 27 Aug 2023 12:28: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: Sun, 27 Aug 2023 16:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65459 X-GNU-PR-Package: emacs Original-Received: via spool by 65459-submit@debbugs.gnu.org id=B65459.169315363031184 (code B ref 65459); Sun, 27 Aug 2023 16:28:01 +0000 Original-Received: (at 65459) by debbugs.gnu.org; 27 Aug 2023 16:27:10 +0000 Original-Received: from localhost ([127.0.0.1]:46045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaIbW-00086u-Aw for submit@debbugs.gnu.org; Sun, 27 Aug 2023 12:27:10 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:61625) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaIbT-00086g-PX for 65459@debbugs.gnu.org; Sun, 27 Aug 2023 12:27:08 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 87FC61000DB; Sun, 27 Aug 2023 12:26:56 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1693153615; bh=5uoJevQRDpf9Aor4wNwDs+nvdytjFWQ5J6V4a/KGmZ4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=oHebn05qtMtKfimsBdU5HuE7fXKzk4P2NxpEopn2B9mP3ktMnImvffVkhm25WAilu MNUIN83vOECD7kmR5o5Ziu0Q2PjxWp80SS/HrUeobqVlp1/9NkGeUlgL3u7+HysUcG oW7Rr1ixfb+iPlxucvAM3EfknqtUkVzpMyUeyR3nQopeixNlUQhU1h+YT3sKDp9M4s gTFj5bfpt1h6wUaAVAElLpYOwoVH64PnHekKY/skMlEJT1zvqnc+dQs0ybEMKxPpoL FzySdTqRji7B4mFXhO8mjsGGgIqI20m/5KREligssgsTZ7sjOH2GDX0hD+rIAL8W6y bGxyyZEiFIdpw== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 8544310006B; Sun, 27 Aug 2023 12:26:55 -0400 (EDT) Original-Received: from pastel (unknown [108.175.234.188]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 542AF120323; Sun, 27 Aug 2023 12:26:55 -0400 (EDT) In-Reply-To: (Heime's message of "Sun, 27 Aug 2023 16:21:06 +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:268568 Archived-At: > Suppose I want to prefill the buffer with something, I should be allowed > to do that. Of course, and we do allow that. But you said: I like it, others don't like it. so what happens when "others" use your code? And what happens when you use others' code? Neither is happy if the choice is made by the coder. OTOH if the choice is made by UI customization, then the coder doesn't need to worry about it and the both you and others get the behavior they like. > The default only shows up when instructed, so not really > an automatic prefill of the minibuffer. Whether the default only shows up when instructed is a UI issue, which can/should be under control of a UI customization. Stefan