[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: |
Juri Linkov |
Subject: |
bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy) |
Date: |
Tue, 08 Sep 2020 21:32:44 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
>> Are you sure about this change in 1921d2176b?
>
> No, I found it kinda puzzling.
>
>> (tab-name (alist-get 'name (nth (1- tab-index) tabs))))
>> (list (read-from-minibuffer
>> - "New name for tab (leave blank for automatic naming): "
>> + (format-prompt "New name for tab" tab-name)
>> nil nil nil nil tab-name)
>
> The "automatic naming" defaults to tab-name, which is
>
> (alist-get 'name (nth (1- tab-index) tabs))
>
> In my tests that was never nil, so the "leave blank" didn't seem
> possible (and seemed misleading). But I may well have missed something?
>
> That is, there is no real way to get "automatic naming" interactively?
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 "".
- 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), Drew Adams, 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), 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 <=
- bug#12443: 24.2.50; Default values in the minibuffer prompt (fix inconsisntecy), Lars Ingebrigtsen, 2020/09/08
- 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