From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#50935: minibuffer-electric-default-mode interface Date: Sun, 3 Oct 2021 01:14:59 +0200 Message-ID: References: <87k0ixq6wt.fsf@mail.linkov.net> 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="1767"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50935@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 03 01:16:54 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 1mWoFS-0000Fw-Gr for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 Oct 2021 01:16:54 +0200 Original-Received: from localhost ([::1]:40394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWoFR-0005tu-6Z for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Oct 2021 19:16:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWoEc-0004zn-Bq for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 19:16:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49221) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWoEc-0001QU-3Q for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 19:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mWoEb-0008Id-Qn for bug-gnu-emacs@gnu.org; Sat, 02 Oct 2021 19:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Oct 2021 23:16:01 +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.163321651729401 (code B ref 50935); Sat, 02 Oct 2021 23:16:01 +0000 Original-Received: (at 50935) by debbugs.gnu.org; 2 Oct 2021 23:15:17 +0000 Original-Received: from localhost ([127.0.0.1]:60766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWoDt-0007da-Ib for submit@debbugs.gnu.org; Sat, 02 Oct 2021 19:15:17 -0400 Original-Received: from mail-pj1-f46.google.com ([209.85.216.46]:41612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWoDs-0007We-5n for 50935@debbugs.gnu.org; Sat, 02 Oct 2021 19:15:16 -0400 Original-Received: by mail-pj1-f46.google.com with SMTP id na16-20020a17090b4c1000b0019f5bb661f9so5787827pjb.0 for <50935@debbugs.gnu.org>; Sat, 02 Oct 2021 16:15:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=QGymwIxdNtmjbiu9OLxePxMDR5tE/AtX73MLaHy3760=; b=jm6Yzzab7svWdswBIND0sD/y+ibYRzaN0qVrHlu2QyF08IkcIG3HqpF81RHCUeZJ9m YXzVg6D7WIfy/NagkMNELTwX93JQ8A3uP9NWibvmM/wgGxt3p5asS6eO/lMvlubZ/3+g xd6gaG6ScvdCWADOu/KNMyE1y4kftVP322t3Dujx4iojinTb5hCYjWuE5FswUcmQ8/r1 hp1BfAL3CTEB3qmPNQcypEYknksTGIpHP2d3Qf+XYQa+RX/hNr88SyOV6pBt9odiFgCZ IBtl/pal21JxNSHaSRz1/tHxGmzFl1hTMs96Iq65SpyMiO7wg8GfXswQfPA6uYvjC1RI Px2g== X-Gm-Message-State: AOAM53192RfHlYI3a2brDbjS739hgXOpGKyjzWLssujQCNUROzFlQN/Z yE7NMwvIXWTEr7uIiM8exIDQ1sSk8UjapUGVQwg= X-Google-Smtp-Source: ABdhPJwSZyA9T4v/BVQlPIHt8ThqespIH+rUizGVR2V20pCzvnqjGMB6fp9K/IzCX+UbZIl9b9vFDv90LuTOq4k40Is= X-Received: by 2002:a17:90a:5583:: with SMTP id c3mr21223888pji.133.1633216510398; Sat, 02 Oct 2021 16:15:10 -0700 (PDT) In-Reply-To: <87k0ixq6wt.fsf@mail.linkov.net> 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:216208 Archived-At: Juri Linkov writes: > > In (info "(emacs) Basic Minibuffer"), I see: > > > > if you change the variable =E2=80=98minibuffer-eldef-shorten-default=E2= =80=99 to a > > non-=E2=80=98nil=E2=80=99 value, the default argument is displayed as = =E2=80=98[DEFAULT-ARG]=E2=80=99 > > instead of =E2=80=98(default DEFAULT-ARG)=E2=80=99, saving some screen = space. To > > enable this minor mode, type =E2=80=98M-x minibuffer-electric-default-m= ode=E2=80=99. > > While I don't know how to fix this issue, I have to note that > this Info node should also mention that minibuffer-electric-default-mode > is now obsoleted by the new user option minibuffer-default-prompt-format. Hmm, shouldn't the info node then just mention 'minibuffer-default-prompt-format' instead, and only that? I don't think we mention obsolete things if we can avoid it, do we? Also, should 'minibuffer-electric-default-mode' be declared obsolete, or is it too early for that? > The only problem is that currently not all prompts use 'format-prompt'. > Maybe this should be added to etc/TODO? It can't hurt.