From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#36745: 27.0.50; completing-read with require-match nil does not accept spaces Date: Sat, 20 Jul 2019 21:52:37 +0000 (UTC) Message-ID: <2a8dcbf8-aff7-44f4-ad81-c64fd53623dd@default> References: <86blxoil4q.fsf@protected.rcdrun.com> <036a63d2-bc36-4e5e-8de5-e45f4d189469@default> <20190720210221.GF30653@protected.rcdrun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="64723"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 36745@debbugs.gnu.org To: Jean Louis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 20 23:53: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 1hoxHv-000Ggy-MB for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Jul 2019 23:53:07 +0200 Original-Received: from localhost ([::1]:53732 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hoxHu-00089a-MX for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Jul 2019 17:53:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40290) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hoxHr-00089U-Mp for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2019 17:53:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hoxHq-0001VY-KB for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2019 17:53:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49143) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hoxHq-0001VR-FQ for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2019 17:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hoxHq-0006Qk-C2 for bug-gnu-emacs@gnu.org; Sat, 20 Jul 2019 17:53:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Jul 2019 21:53:02 +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.156365956724694 (code B ref 36745); Sat, 20 Jul 2019 21:53:02 +0000 Original-Received: (at 36745) by debbugs.gnu.org; 20 Jul 2019 21:52:47 +0000 Original-Received: from localhost ([127.0.0.1]:57964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hoxHb-0006QD-Bt for submit@debbugs.gnu.org; Sat, 20 Jul 2019 17:52:47 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:33782) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hoxHZ-0006Py-QM for 36745@debbugs.gnu.org; Sat, 20 Jul 2019 17:52:46 -0400 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6KLnLnj098817; Sat, 20 Jul 2019 21:52:39 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=ASFyipr3/vnxFhS0kbOOnPNTgLtWpK09qNwyjdtk7J4=; b=AXn91Ln3eamHEmGtVCCoJgqTTllqLDqjVkYJ7ch1AT2ol9kW/fbv6wjpjF/g6UPARLPD 9nWDBSzIePFE9WviBxxaS1bPafZDq7KBhNX+GiWNA2P0JBUw4H/8qtPh67FhqVKSCduB 559KzYAHEJhHh4/cU7/W2VXaW2MudAKVSIpkZTEsM3j3qHFpKu51d+Fn5XbEo4raM9M6 KhL2kHGl0icgM0wIstfNoVJRPtLL/2DrrPmSJbjh8GAopVre1tglshLajs56BerRKVZ4 HhYL5ehlHhFJqcWxgT42tFW8dxNnX6LcyxiLY2MNOphVzhB0is3BARZ0awotjkBWnpgm 1Q== Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2120.oracle.com with ESMTP id 2tutwp1gf4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 20 Jul 2019 21:52:39 +0000 Original-Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x6KLmLds119279; Sat, 20 Jul 2019 21:52:39 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3030.oracle.com with ESMTP id 2tus0ayvq9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 20 Jul 2019 21:52:39 +0000 Original-Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x6KLqc6J030117; Sat, 20 Jul 2019 21:52:38 GMT In-Reply-To: <20190720210221.GF30653@protected.rcdrun.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4873.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9324 signatures=668684 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=774 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907200278 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9324 signatures=668684 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=826 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1907200279 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:163492 Archived-At: > > FWIW: By default, both `?' and `SPC' are > > self-inserting for completion in Icicles > > (and have been since 2004). (I should have said 2005.) > > But this is configurable, with option > > `icicle-completion-key-bindings'. >=20 > That is interesting. Thank you. >=20 > I have found that various completion libraries are > re-using the completing-read when necessary, so I > have to stick with completing-read for now, to > keep it minimal, and later customizable. (When global minor mode `icy-mode' is on, ordinary `completing-read' automatically gives you Icicles completion. When the mode is off, it gives you the vanilla Emacs behavior.) But the point was not that you should use Icicles to get this behavior. The point was that vanilla Emacs should offer it also. I suggested this long ago. After some time, at least file-name completion was changed to let `SPC' self-insert. One can hope that at some point users will get similar behavior, by default, for other completion keymaps, not just for file names. While waiting, you can bind `SPC' yourself to `self-insert-command' or whatever else you want, in any of the minibuffer keymaps. For example, bind it in `minibuffer-local-completion-map' and `minibuffer-local-must-match-map'. ____ Some old mails about letting `SPC', `?', and `C-j' self-insert by default during completion: https://lists.gnu.org/archive/html/emacs-devel/2014-04/msg00246.html https://lists.gnu.org/archive/html/emacs-devel/2014-11/msg01521.html https://lists.gnu.org/archive/html/emacs-devel/2009-11/msg01045.html https://lists.gnu.org/archive/html/emacs-devel/2007-06/msg01810.html https://lists.gnu.org/archive/html/emacs-devel/2005-11/msg00245.html