From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#50935: minibuffer-electric-default-mode interface Date: Mon, 04 Oct 2021 20:22:45 +0300 Organization: LINKOV.NET Message-ID: <87bl44bto2.fsf@mail.linkov.net> References: <87k0ixq6wt.fsf@mail.linkov.net> <87r1d285o4.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40242"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: 50935@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 04 19:48:49 2021 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 1mXS53-000AKb-HR for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 04 Oct 2021 19:48:49 +0200 Original-Received: from localhost ([::1]:46738 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXS52-0005nt-DM for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 04 Oct 2021 13:48:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46922) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXS4J-0004yX-Jp for bug-gnu-emacs@gnu.org; Mon, 04 Oct 2021 13:48:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55021) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXS4J-0005Yi-C6 for bug-gnu-emacs@gnu.org; Mon, 04 Oct 2021 13:48:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mXS4J-0006vn-Ad for bug-gnu-emacs@gnu.org; Mon, 04 Oct 2021 13:48:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Oct 2021 17:48:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50935 X-GNU-PR-Package: emacs Original-Received: via spool by 50935-submit@debbugs.gnu.org id=B50935.163336962326408 (code B ref 50935); Mon, 04 Oct 2021 17:48:03 +0000 Original-Received: (at 50935) by debbugs.gnu.org; 4 Oct 2021 17:47:03 +0000 Original-Received: from localhost ([127.0.0.1]:38326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXS3L-0006rs-1W for submit@debbugs.gnu.org; Mon, 04 Oct 2021 13:47:03 -0400 Original-Received: from relay1-d.mail.gandi.net ([217.70.183.193]:8449) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXS3G-0006qg-0V for 50935@debbugs.gnu.org; Mon, 04 Oct 2021 13:47:01 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id B5F4624000A; Mon, 4 Oct 2021 17:46:50 +0000 (UTC) In-Reply-To: (Stefan Kangas's message of "Mon, 4 Oct 2021 02:17:38 +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" Xref: news.gmane.io gmane.emacs.bugs:216380 Archived-At: > I think instead of documenting all that, we could just delete the > reference to `minibuffer-eldef-shorten-default' from the manual, as it > is the same thing as `minibuffer-default-prompt-format', just with a > different interface. Of course, the latter is not yet perfect, but > anywhere it isn't, that's just a bug, right? That option would look > like the below diff. > > Another option is to just add a reference to > 'minibuffer-default-prompt-format' without any deletions, basically > accepting that the text is not perfect and move on. > > A third option is to add 'minibuffer-default-prompt-format' on emacs-28, > but make the suggested deletion on master -- which give us more time to > get `minibuffer-default-prompt-format' up to scrap. > > Thoughts? I guess the answer depends on the question how many prompts are already converted to 'minibuffer-default-prompt-format', and how many remain. I checked a few commands, and noticed only one command that doesn't use the new format. It's 'M-.' ('xref-find-definitions'). But maybe it can't use the new option 'minibuffer-default-prompt-format' because xref.el should be available in old versions? Still it could use (if (boundp 'minibuffer-default-prompt-format) ...