From: Drew Adams <drew.adams@oracle.com>
To: Dmitry Gutov <dgutov@yandex.ru>, Ryan <rct@thompsonclan.org>,
27158@debbugs.gnu.org
Subject: bug#27158: 25.2; Eliminating old usage of completing-read from built-in files
Date: Wed, 31 May 2017 07:51:51 -0700 (PDT) [thread overview]
Message-ID: <562784bd-e22b-411d-8230-4f95fe2fa7db@default> (raw)
In-Reply-To: <21029018-5890-e545-8b50-ee856bc2caec@yandex.ru>
> > Would you make a default arg be mandatory instead of optional?
> > Is that it? If not, what default default would you propose?
>
> It's not necessary.
What's not necessary? The argument is either optional or mandatory.
If optional, what default behavior do you want?
Or are you saying that the default arg should just be removed
from `completing-read', because "it's not necessary"? Not
necessary for whom? Why isn't it ever a useful thing to have?
Just because some callers might not need it does not mean that
it is not useful for other callers.
> > What should be returned if no explicit default is provided and
> > the user hits RET with no input?
>
> Prohibit them from finishing completion, except through entering
> a valid value, or pressing C-g.
(while <no valid value> <get input with completion>)
Is that hard?
> > In any case, nothing stops someone from defining their own
> > `my-completing-read', which does not have this feature, er,
> > quirk. I don't see the problem.
>
> That doesn't help if we want to augment completing-read-function
> and all packages using it.
What happens when you set `completing-read-function' to your
`my-completing-read'?
next prev parent reply other threads:[~2017-05-31 14:51 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-31 4:41 bug#27158: 25.2; Eliminating old usage of completing-read from built-in files Ryan
2017-05-31 5:52 ` Drew Adams
2017-05-31 11:45 ` Ryan Thompson
2017-05-31 14:51 ` Drew Adams
2017-05-31 12:23 ` Dmitry Gutov
2017-05-31 14:51 ` Drew Adams [this message]
2017-05-31 14:59 ` Dmitry Gutov
2017-05-31 15:19 ` Drew Adams
2017-05-31 15:44 ` Ryan Thompson
2017-05-31 22:41 ` Dmitry Gutov
2017-05-31 23:16 ` Drew Adams
2017-05-31 23:54 ` Dmitry Gutov
2017-06-01 2:23 ` Drew Adams
2017-06-01 9:27 ` Dmitry Gutov
2017-06-01 14:57 ` Drew Adams
2017-06-01 20:53 ` Dmitry Gutov
2017-06-01 21:04 ` Ryan Thompson
2017-06-05 23:01 ` Dmitry Gutov
2017-06-06 0:06 ` Ryan Thompson
2017-06-06 0:09 ` Dmitry Gutov
2017-05-31 21:20 ` Dmitry Gutov
2020-08-24 14:58 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=562784bd-e22b-411d-8230-4f95fe2fa7db@default \
--to=drew.adams@oracle.com \
--cc=27158@debbugs.gnu.org \
--cc=dgutov@yandex.ru \
--cc=rct@thompsonclan.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.