From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs 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 Message-ID: <20190721073430.GB13058@protected.rcdrun.com> References: <86blxoil4q.fsf@protected.rcdrun.com> <036a63d2-bc36-4e5e-8de5-e45f4d189469@default> <20190720210221.GF30653@protected.rcdrun.com> <2a8dcbf8-aff7-44f4-ad81-c64fd53623dd@default> <20190720231334.GA32596@protected.rcdrun.com> <7c9c37f0-3b4b-413d-9763-7db9283b18bd@default> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="107972"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.10.1 (2018-07-13) Cc: 36745@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 21 09:35:08 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hp6N9-000RxT-Km for geb-bug-gnu-emacs@m.gmane.org; Sun, 21 Jul 2019 09:35:07 +0200 Original-Received: from localhost ([::1]:54924 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hp6N8-0006JS-1e for geb-bug-gnu-emacs@m.gmane.org; Sun, 21 Jul 2019 03:35:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44963) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hp6N5-0006JA-97 for bug-gnu-emacs@gnu.org; Sun, 21 Jul 2019 03:35:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hp6N4-0005O0-2Z for bug-gnu-emacs@gnu.org; Sun, 21 Jul 2019 03:35:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49286) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hp6N3-0005Nc-TT for bug-gnu-emacs@gnu.org; Sun, 21 Jul 2019 03:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hp6N3-0005ja-Lr for bug-gnu-emacs@gnu.org; Sun, 21 Jul 2019 03:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 Jul 2019 07:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36745 X-GNU-PR-Package: emacs Original-Received: via spool by 36745-submit@debbugs.gnu.org id=B36745.156369448122011 (code B ref 36745); Sun, 21 Jul 2019 07:35:01 +0000 Original-Received: (at 36745) by debbugs.gnu.org; 21 Jul 2019 07:34:41 +0000 Original-Received: from localhost ([127.0.0.1]:58107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hp6Mi-0005iw-Tm for submit@debbugs.gnu.org; Sun, 21 Jul 2019 03:34:41 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:34231) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hp6Mf-0005ie-Pq for 36745@debbugs.gnu.org; Sun, 21 Jul 2019 03:34:39 -0400 Original-Received: from protected.rcdrun.com (localhost [::1]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA; Sun, 21 Jul 2019 00:34:31 -0700 id 000000000002034C.000000005D341587.000078E5 Original-Received: from localhost (protected.rcdrun.com [local]) by protected.rcdrun.com (OpenSMTPD) with ESMTPA id cc598d83; Sun, 21 Jul 2019 07:34:30 +0000 (UTC) Content-Disposition: inline In-Reply-To: <7c9c37f0-3b4b-413d-9763-7db9283b18bd@default> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:163507 Archived-At: * Drew Adams [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.