GNU bug report logs - #50935
minibuffer-electric-default-mode interface

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Fri, 1 Oct 2021 11:45:02 UTC

Severity: minor

Tags: patch

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 50935 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Juri Linkov <juri <at> linkov.net>
Cc: 50935 <at> debbugs.gnu.org
Subject: Re: bug#50935: minibuffer-electric-default-mode interface
Date: Sun, 3 Oct 2021 01:14:59 +0200
Juri Linkov <juri <at> linkov.net> writes:

> > In (info "(emacs) Basic Minibuffer"), I see:
> >
> > if you change the variable ‘minibuffer-eldef-shorten-default’ to a
> > non-‘nil’ value, the default argument is displayed as ‘[DEFAULT-ARG]’
> > instead of ‘(default DEFAULT-ARG)’, saving some screen space.  To
> > enable this minor mode, type ‘M-x minibuffer-electric-default-mode’.
>
> 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.




This bug report was last modified 2 years and 348 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.