From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: Entering filenames with spaces Date: Mon, 07 Nov 2005 10:34:31 -0500 Message-ID: References: <70488FA4-561C-43F2-8B70-4A7017984282@gmail.com> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1131377815 1504 80.91.229.2 (7 Nov 2005 15:36:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 7 Nov 2005 15:36:55 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 07 16:36:54 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EZ91E-0003cR-JB for ged-emacs-devel@m.gmane.org; Mon, 07 Nov 2005 16:34:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EZ91D-000691-RH for ged-emacs-devel@m.gmane.org; Mon, 07 Nov 2005 10:34:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EZ90y-00067u-QY for emacs-devel@gnu.org; Mon, 07 Nov 2005 10:34:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EZ90y-00067d-6T for emacs-devel@gnu.org; Mon, 07 Nov 2005 10:34:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EZ90y-00067Y-2G for emacs-devel@gnu.org; Mon, 07 Nov 2005 10:34:32 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EZ90y-0006BD-7y for emacs-devel@gnu.org; Mon, 07 Nov 2005 10:34:32 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1EZ90x-00057K-7Y; Mon, 07 Nov 2005 10:34:31 -0500 Original-To: David Reitter In-reply-to: (message from David Reitter on Sat, 5 Nov 2005 15:02:30 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:45545 Archived-At: It is pleasingly simple. I have a few comments on details. + initial_define_key (Vminibuffer_local_filename_completion_map, '\t', + "minibuffer-complete"); + initial_define_key (Vminibuffer_local_filename_completion_map, '?', "minibuffer-completion-help"); I think it would be cleaner to use Vminibuffer_local_completion_map as this map's parent, and override only the SPC character. *** For filenames, Space is not bound to completion any longer You need a period after that. Also, it should be "SPC", not "Space". Filenames with spaces can be input intuitively with the space bar now, space is not bound to `minibuffer-complete-word' any longer. That should be "SPC", not "space". Also, it is a run-on sentence. A new key map minibuffer-local-filename-completion-map applies whenever a file name is prompted for. That is passive--please rewrite it in the active voice.