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: Sun, 06 Sep 2020 19:46:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> OK, the first sweep has now landed on master (I basically grepped for
> " (default %" and then did the changes. 

The next step here is probably to fix the cases where there's a default,
but where the prompt doesn't mention them.  Like:

(defun last-chance (symbol)
[...]
                             (completing-read
                              "Symbol: " obarray
                              nil nil
                              one nil one)))))

`one' is the default here.  Has anybody written an Emacs-Lisp-aware
grep?  That can list all hits of completing-read where the seventh
parameter isn't nil?  It doesn't sound that difficult to do, but I
thought I'd ask before I start typing...

-- 
(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]