From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: How to insert space in minibuffer while in completing-read ? Date: Sat, 8 Mar 2008 14:06:48 -0800 Message-ID: <002501c88168$b4993320$0600a8c0@us.oracle.com> References: <67b5f4c4-8d2f-4f44-9cc7-48453c3ddb63@d62g2000hsf.googlegroups.com><871w6m1b0b.fsf@thalassa.informatimago.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1205014098 5419 80.91.229.12 (8 Mar 2008 22:08:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Mar 2008 22:08:18 +0000 (UTC) To: "'Stefan Monnier'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 08 23:08:46 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JY7Dh-0000Ph-SK for geh-help-gnu-emacs@m.gmane.org; Sat, 08 Mar 2008 23:08:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JY7D9-00089b-Vp for geh-help-gnu-emacs@m.gmane.org; Sat, 08 Mar 2008 17:08:12 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JY7Ct-00088Z-GC for help-gnu-emacs@gnu.org; Sat, 08 Mar 2008 17:07:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JY7Cr-00087U-Qh for help-gnu-emacs@gnu.org; Sat, 08 Mar 2008 17:07:55 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JY7Cr-00087D-Ka for help-gnu-emacs@gnu.org; Sat, 08 Mar 2008 17:07:53 -0500 Original-Received: from rgminet01.oracle.com ([148.87.113.118]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JY7Cr-0007Bw-5x for help-gnu-emacs@gnu.org; Sat, 08 Mar 2008 17:07:53 -0500 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m28M7o7v019723; Sat, 8 Mar 2008 15:07:50 -0700 Original-Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m28JMW5c005529; Sat, 8 Mar 2008 15:07:49 -0700 Original-Received: from inet-141-146-46-1.oracle.com by acsmt351.oracle.com with ESMTP id 3605202681205014022; Sat, 08 Mar 2008 14:07:02 -0800 Original-Received: from dradamslap1 (/141.144.88.217) by bhmail.oracle.com (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 08 Mar 2008 14:07:01 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Thread-Index: AciBZilSbhf1XTjxTO612QHmXYviaQAAkVGA X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:52168 Archived-At: > > 2. If you don't want to use Icicles, but you do want to > > allow space chars in minibuffer input, do this: > > > (define-key minibuffer-local-completion-map > > " " 'self-insert-command)) > > (define-key minibuffer-local-must-match-map > > " " 'self-insert-command)) > > I think you mean to set those keys to nil rather than to > `self-insert-command'. It may have the same result in 99% of > the cases in the end, of course. Right. It's enough to remove the local binding, to restore the global binding. Either is OK here, but what you suggest is preferable.