[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50935: minibuffer-electric-default-mode interface
From: |
Stefan Kangas |
Subject: |
bug#50935: minibuffer-electric-default-mode interface |
Date: |
Tue, 5 Oct 2021 12:55:52 -0400 |
tags 50935 + patch
thanks
Juri Linkov <juri@linkov.net> writes:
>> 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.
>
> 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) ...
I've now updated any prompt I could find to use `format-prompt' (by
grepping for " (default "). Maybe I've missed one or two, but that
should mean that that the overwhelming majority of our prompts now
respect `minibuffer-default-prompt-format'. See commit 6640942221.
With that, I think the option `minibuffer-eldef-shorten-default' should
be declared obsolete, as in the attached patch, and consequently removed
from the manual. This change should go to master, of course.
The command `minibuffer-electric-default-mode' shouldn't be declared
obsolete as it does something different.
0001-Make-minibuffer-eldef-shorten-default-obsolete.patch
Description: Text Data
- bug#50935: minibuffer-electric-default-mode interface, Stefan Kangas, 2021/10/01
- bug#50935: minibuffer-electric-default-mode interface, Juri Linkov, 2021/10/02
- bug#50935: minibuffer-electric-default-mode interface, Stefan Kangas, 2021/10/02
- bug#50935: minibuffer-electric-default-mode interface, Juri Linkov, 2021/10/05
- bug#50935: minibuffer-electric-default-mode interface, Stefan Kangas, 2021/10/05
- bug#50935: minibuffer-electric-default-mode interface, Eli Zaretskii, 2021/10/05
- bug#50935: minibuffer-electric-default-mode interface, Juri Linkov, 2021/10/05
- bug#50935: minibuffer-electric-default-mode interface, Juri Linkov, 2021/10/05
bug#50935: minibuffer-electric-default-mode interface, Eli Zaretskii, 2021/10/03