From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Heime 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 16:42:07 +0000 Message-ID: References: <9K_-oO834AqSJEo_pqDrfj7Q1O1vcqy19pPVpFDuVl5tfCjWqlLa8cRgM16uDFBEt63VYEUkj7ueLAZ8XLrfsZAuRPLvU4Mx3von1r73fEE=@protonmail.com> <596919925b4762b66be8@heytings.org> Reply-To: Heime Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40323"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Gregory Heytings , 65459@debbugs.gnu.org, Eli Zaretskii To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 27 18:43:07 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 1qaIqx-000AIq-6L for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Aug 2023 18:43:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qaIqp-0000J7-K8; Sun, 27 Aug 2023 12:42:59 -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 1qaIqm-0000IN-Tv for bug-gnu-emacs@gnu.org; Sun, 27 Aug 2023 12:42:57 -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 1qaIqm-0004KX-KN for bug-gnu-emacs@gnu.org; Sun, 27 Aug 2023 12:42:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qaIqs-00008R-16 for bug-gnu-emacs@gnu.org; Sun, 27 Aug 2023 12:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Heime Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Aug 2023 16:43: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.1693154558471 (code B ref 65459); Sun, 27 Aug 2023 16:43:01 +0000 Original-Received: (at 65459) by debbugs.gnu.org; 27 Aug 2023 16:42:38 +0000 Original-Received: from localhost ([127.0.0.1]:46128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaIqT-00007X-WB for submit@debbugs.gnu.org; Sun, 27 Aug 2023 12:42:38 -0400 Original-Received: from mail-4325.protonmail.ch ([185.70.43.25]:38537) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaIqS-00007I-PK for 65459@debbugs.gnu.org; Sun, 27 Aug 2023 12:42:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1693154545; x=1693413745; bh=v9xbwIoW4+dWXJvNUePfirjAtX4rGni8gZPCcrAmzQk=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=b938ILrY0YPerkp67Bv9MTfOxg3wnO6s7ovAjW1a+ZKlLd5GfNnd48x66Oc8e1AAh 9ZwLFTwLD9JmrNE2SCAq/OXd7sijraOqYdQArK6TLpNzkCaNCnKWHBfCms2nHMYMlw U5URH/aakW20dpA7Di4vQZE0FEWxYkFuU1k7ZwWJ3XnBEL54cJL7kgeafHGelu3WOI OlRC1n1NOh997P51KKhJo1rvO9eyrTUL7FeVXtNK949X1pw/u+bI+kS8TZEYCw6+JC oTkEEzY674NcDp7RXG0Wl6EnQlnO3ka3ILsU7W+ir3kyg0ptQbpGNcHwPy2sRra8mu p+ZCYmt8f+juw== In-Reply-To: Feedback-ID: 57735886:user:proton 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:268572 Archived-At: Sent with Proton Mail secure email. ------- Original Message ------- On Monday, August 28th, 2023 at 4:26 AM, Stefan Monnier via "Bug reports fo= r GNU Emacs, the Swiss army knife of text editors" = wrote: > > Suppose I want to prefill the buffer with something, I should be allowe= d > > to do that. >=20 >=20 > Of course, and we do allow that. > But you said: >=20 > I like it, others don't like it. >=20 > so what happens when "others" use your code? > And what happens when you use others' code? >=20 > 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. >=20 > > The default only shows up when instructed, so not really > > an automatic prefill of the minibuffer. >=20 >=20 > Whether the default only shows up when instructed is a UI issue, which > can/should be under control of a UI customization. > Stefan =20 Could one control the UI customization programmatically as well ?