From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: uzibalqa via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#65348: INITIAL-INPUT in completing-read repeats same entry twice consecutively Date: Fri, 18 Aug 2023 08:40:12 +0000 Message-ID: <_vpSn7Hx9ux7MOLfpzR0NuLWbQdTWvf9GfHYDRdwIr7HL-e78lw6B5jfRbFkijbTbTNDxxgv0vDMtjxC7ZhPiHb0B8A0h3mrgX0Q7fH_aI4=@proton.me> References: <83msyq54mw.fsf@gnu.org> <6lEyA2hwLwT0gnrhQsH91Us8wQDf0Cj8-hfYtge1iLDBFEsG5Hj_i80te8w4f52fgOS-g9Z908HRkYHlE05wBV9ccB5h1bFjV755l9nvYh0=@protonmail.com> <83y1i93t7x.fsf@gnu.org> <83wmxs52ti.fsf@gnu.org> <83il9c508h.fsf@gnu.org> Reply-To: uzibalqa 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="25210"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Heime , 65348@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 18 10:41:28 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 1qWv2t-0006PS-MK for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Aug 2023 10:41:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qWv2W-0000Bi-Ea; Fri, 18 Aug 2023 04:41: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 1qWv2U-00006I-33 for bug-gnu-emacs@gnu.org; Fri, 18 Aug 2023 04:41:02 -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 1qWv2T-0007xj-R1 for bug-gnu-emacs@gnu.org; Fri, 18 Aug 2023 04:41:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qWv2T-000473-Om for bug-gnu-emacs@gnu.org; Fri, 18 Aug 2023 04:41:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: uzibalqa Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Aug 2023 08:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65348 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 65348-submit@debbugs.gnu.org id=B65348.169234802915761 (code B ref 65348); Fri, 18 Aug 2023 08:41:01 +0000 Original-Received: (at 65348) by debbugs.gnu.org; 18 Aug 2023 08:40:29 +0000 Original-Received: from localhost ([127.0.0.1]:46097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWv1x-000469-ER for submit@debbugs.gnu.org; Fri, 18 Aug 2023 04:40:29 -0400 Original-Received: from mail-4324.protonmail.ch ([185.70.43.24]:50873) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWv1r-00045o-1n for 65348@debbugs.gnu.org; Fri, 18 Aug 2023 04:40:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1692348015; x=1692607215; bh=Vc8ofjsAR93FVYdem7p2/cTlxtXNhgZ/I03xmKLPgrU=; 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=goGmR4CgeZlWy0JbOhJQj48tKfXoGJzGaLNQ6VJuKXorFxaBj3WyDSpo8ztp8nPIt j9G32fyY+muW1V609+/h4e39Vbav0Tf/e05nfOCTWiaT1Wti5ejekKdGPlBLE5VsvQ c3DtfzF15RsdKtFG9PYPnTFP0IoPXj4ZyiojtuH7Um9Urr9Z0m04asRz2rdpXC2Yt+ M+1z42Ji68Nm4WBLe1K1RQRyAWucbwoBMiz8ZAcJ390xOgmWJPyuIUJNZNAe5NlXHA +xzCRmBcBjz55PLSpVLd0BG/TtdJGeLYDR2EIIyq0vd11uJjgLSvGHzY9Eqv5kKGrX UAog9UcEj3Ohg== In-Reply-To: <83il9c508h.fsf@gnu.org> Feedback-ID: 52887082: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:267739 Archived-At: Sent with Proton Mail secure email. ------- Original Message ------- On Friday, August 18th, 2023 at 6:32 PM, Eli Zaretskii wrote= : > > Date: Fri, 18 Aug 2023 05:56:04 +0000 > > From: Heime heimeborgia@protonmail.com > > Cc: 65348@debbugs.gnu.org > >=20 > > > The manual tells you what to do instead. > >=20 > > This used to be easy for beginners. Now it has became complicated. >=20 >=20 > Using completing-read was never easy. >=20 > > Had hoped the plan for the future was to improve things for > > beginners, now everything has started to get modified for use mostly > > by experts. >=20 >=20 > The Emacs development enhances the existing functionality, and that > inevitably makes some situations more complex to handle. That is the > price for added functionality, and no one has yet found a way of > making software more flexible and powerful without also making it more > complex. >=20 > > > > > Why do you need INITIAL? > > > >=20 > > > > I want the user to see a default without having him to get it with = the bloody "M-n". > > >=20 > > > That's not how you show the default to the user. The way to show the > > > default to the user is to include it in the prompt, like so: > > >=20 > > > Type your choice (default foo): > >=20 > > I do not want the user to type it, but for it to be displayed automatic= ally. > > And if theyy do not want the default, they can step to the next possibi= lity > > in COLLECTION. >=20 >=20 > Then you will have to override the value of > minibuffer-default-add-function with a function of your own. You see how things have become even more complicated now. How about=20 providing the feature that there was ? =20