GNU bug report logs - #56171
Request for marking DEF entry when using completing-read

Previous Next

Package: emacs;

Reported by: carlmarcos <at> tutanota.com

Date: Thu, 23 Jun 2022 19:10:02 UTC

Severity: normal

Tags: moreinfo, wontfix

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: carlmarcos <at> tutanota.com
To: Drew Adams <drew.adams <at> oracle.com>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, "56171 <at> debbugs.gnu.org" <56171 <at> debbugs.gnu.org>
Subject: bug#56171: Request for marking DEF entry when using completing-read
Date: Fri, 24 Jun 2022 18:49:57 +0200 (CEST)
[Message part 1 (text/plain, inline)]
Jun 24, 2022, 16:14 by drew.adams <at> oracle.com:

>> > It is a different thing than that.  I customarily using the `up' and
>> > `down' key to move through the collection of entries.  Could there be
>> > some form of indicator (e.g. highlight, underline, some other means)
>> > that will tell me that is was selected as the default by the package
>> > designer?  Currently I see no distinction, with all entries in
>> > collection as just an entry like any other.
>>
>> Again, what's the use case?  Why do you want the default to be singled
>> out in some way?
>>
>
> I'm curious too.  I don't say it couldn't be useful,
> but I wonder what the aim is.
>
Wouldn't one normally associate a default with some sensible setting worth looking
into most times?  Perhaps this could be a user setting.  


> BTW, note that the default value (or even any of a
> list of default values) provided need not be among
> the candidates for completion, if completion is lax
> (REQUIRE-MATCH = nil).  E.g.:
>
> (completing-read "q: " '("a" "b" "c" "d")
>  nil nil nil nil "e")
>

[Message part 2 (text/html, inline)]

This bug report was last modified 2 years and 306 days ago.

Previous Next


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