GNU bug report logs - #12443
24.2.50; Default values in the minibuffer prompt (fix

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Fri, 14 Sep 2012 14:08:01 UTC

Severity: minor

Found in version 24.2.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #85 received at 12443 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 12443 <at> debbugs.gnu.org, Stefan Kangas <stefankangas <at> gmail.com>,
 Dani Moncayo <dmoncayo <at> gmail.com>
Subject: Re: bug#12443: 24.2.50; Default values in the minibuffer prompt
 (fix inconsisntecy)
Date: Sun, 06 Sep 2020 19:46:38 +0200
Lars Ingebrigtsen <larsi <at> 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




This bug report was last modified 4 years and 124 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.