[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsi
From: |
Lars Ingebrigtsen |
Subject: |
bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy) |
Date: |
Tue, 08 Sep 2020 22:37:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Juri Linkov <juri@linkov.net> writes:
> Here is what I see when trying the old prompt:
>
> (read-from-minibuffer
> "New name for tab (leave blank for automatic naming): "
> nil nil nil nil "tab-name")
>
> Typing RET returns the empty string "".
D'oh. I missed this bit:
Sixth arg DEFAULT-VALUE, if non-nil, should be a string, which is used
as the default to ‘read’ if READ is non-nil and the user enters
empty input. But if READ is nil, this function does _not_ return
DEFAULT-VALUE for empty input! Instead, it returns the empty string.
I'll go over that commit and revert the bits with a nil READ.
But what a... strange interface.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), (continued)
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Michael Heerdegen, 2020/09/06
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Lars Ingebrigtsen, 2020/09/06
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Lars Ingebrigtsen, 2020/09/06
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Michael Heerdegen, 2020/09/06
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Lars Ingebrigtsen, 2020/09/06
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Michael Heerdegen, 2020/09/06
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Lars Ingebrigtsen, 2020/09/06
bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Juri Linkov, 2020/09/07
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Lars Ingebrigtsen, 2020/09/07
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Juri Linkov, 2020/09/08
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy),
Lars Ingebrigtsen <=
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Juri Linkov, 2020/09/09
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Lars Ingebrigtsen, 2020/09/10
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Andrii Kolomoiets, 2020/09/11
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Lars Ingebrigtsen, 2020/09/11
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Andrii Kolomoiets, 2020/09/14
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Lars Ingebrigtsen, 2020/09/14
bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Juri Linkov, 2020/09/12
bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Juri Linkov, 2020/09/13
bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Eli Zaretskii, 2020/09/13
bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Lars Ingebrigtsen, 2020/09/13