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:35:33 +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="7624"; 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:36:12 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 1qaIkF-0001n7-K7 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Aug 2023 18:36:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qaIk1-0006qs-Ha; Sun, 27 Aug 2023 12:35: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 1qaIk0-0006qk-3F for bug-gnu-emacs@gnu.org; Sun, 27 Aug 2023 12:35: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 1qaIjz-0002lZ-R6 for bug-gnu-emacs@gnu.org; Sun, 27 Aug 2023 12:35:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qaIk5-0008MN-LH for bug-gnu-emacs@gnu.org; Sun, 27 Aug 2023 12:36:01 -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:36: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.169315415932126 (code B ref 65459); Sun, 27 Aug 2023 16:36:01 +0000 Original-Received: (at 65459) by debbugs.gnu.org; 27 Aug 2023 16:35:59 +0000 Original-Received: from localhost ([127.0.0.1]:46060 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaIk2-0008M5-TY for submit@debbugs.gnu.org; Sun, 27 Aug 2023 12:35:59 -0400 Original-Received: from mail-4324.protonmail.ch ([185.70.43.24]:50509) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qaIk1-0008Lt-C1 for 65459@debbugs.gnu.org; Sun, 27 Aug 2023 12:35:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1693154145; x=1693413345; bh=dNqthnSQIIBBoNNXK2S/v+CuFx5w+E9CBcclc3Y3osI=; 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=a8gI3xbIwb9ci/+0Pj2UBeoo7huLDBauQhmoQW0H8FonqbQSY49poLyr4PKN7e738 /jlehLxSoesFRICY09KMgac1/Z3bwpPkDTWnnTXqJPXaxiYJDKaWD75k1vC9ko0RhI G5XX12BG5Ip0UPBwpCyocA6graY7I2YQ+ZmROOENJs8LdlwGfjdzoq/wJAAF4L/OXZ BEh8qW3gGAsgdPyT1fh3HH5B3TUua9eioSHo40podu8kpsZzeIotX4QQLCQS4Sw4/6 131t2JtRg4nun9uIfDPBjNi5HyuiCfLvv09LRzSoxrDvgSc4jL6i1ccDpMjrh6AICI NvQHJr9WyjUag== 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:268570 Archived-At: Sent with Proton Mail secure email. ------- Original Message ------- On Monday, August 28th, 2023 at 4:26 AM, Stefan Monnier 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 I would need an example. Suppose one changes the UI customization, would t= hat apply to all calls of that function ? I would want prefilling occasionally= . Would that be possible ? All these UI accept any entries by the user. I am of the school of thought= that doing so automatically is also a valid operation.