bug-gnu-emacs
[Top][All Lists]
Advanced

[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: Mon, 07 Sep 2020 21:27:34 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Juri Linkov <juri@linkov.net> writes:

> 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?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]