unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Drew Adams <drew.adams@oracle.com>
Cc: 36745@debbugs.gnu.org
Subject: bug#36745: 27.0.50; completing-read with require-match nil does not accept spaces
Date: Sun, 21 Jul 2019 09:34:30 +0200	[thread overview]
Message-ID: <20190721073430.GB13058@protected.rcdrun.com> (raw)
In-Reply-To: <7c9c37f0-3b4b-413d-9763-7db9283b18bd@default>

* Drew Adams <drew.adams@oracle.com> [2019-07-21 02:07]:
> > So far I understand, icicle is some external
> > library?
> 
> Yes, but it's not important to my point about the subject
> of this bug.  I mentioned it to say that (1) the behavior
> you said you're looking for (a) is easily made available
> and (b) has existed for a long time in external libraries,
> and (2) has already been suggested for vanilla Emacs,
> several times in the past, to no avail.

Sure, thank you. However, I am looking into built-in way of
completing it, so that it has less dependencies, and that
later those completing libraries can take over. That is how
I understood how various completing libraries are working,
like helm. So the completion I would leave to future choice.

> But you're apparently also OK with having the doc just
> remind users that they can input a space char using `C-q
> SPC'.

Now I found more references in Emacs Lisp manual, so there
is the minibuffer-local-completion-map and I think function
shall be described better with references to it.

And in my previous email on this bug, you can see my
proposal, which sounds logical, and which is when user is
entering first non-matching word and press SPC which should
complete the word by minibuffer-local-completion-map, then
there is message [No match] for short time, so in case of
require-match being nil, then space could be added without
hurting any other behavior of the function.

Because SPC can be added after first matching word. And
additional non-matching word can be added to first matching
word without warnings that it is no match.

So I think the function could be perfected that space can be
added also after first non-matching word in which case it is
even more logical to allow it when require-match is nil.





  reply	other threads:[~2019-07-21  7:34 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-20 19:03 bug#36745: 27.0.50; completing-read with require-match nil does not accept spaces Jean Louis
2019-07-20 20:14 ` Drew Adams
2019-07-20 21:02   ` Jean Louis
2019-07-20 21:52     ` Drew Adams
2019-07-20 23:13       ` Jean Louis
2019-07-21  0:04         ` Drew Adams
2019-07-21  7:34           ` Jean Louis [this message]
2019-07-20 23:40 ` Michael Heerdegen
2019-07-21  7:27   ` Jean Louis
2019-07-21  9:55     ` Basil L. Contovounesios
2019-07-21 19:53     ` Michael Heerdegen
2019-07-21 23:24     ` Michael Heerdegen
2019-07-22  0:03       ` Drew Adams
2022-02-20 15:22       ` Lars Ingebrigtsen
2022-02-20 22:24         ` bug#36745: [External] : " Drew Adams
2019-07-21  9:54   ` Basil L. Contovounesios

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190721073430.GB13058@protected.rcdrun.com \
    --to=bugs@gnu.support \
    --cc=36745@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).