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: Configure SPACE as file auto-complete character Date: Tue, 18 Dec 2007 07:30:07 -0800 Message-ID: References: <87odcokry0.fsf@moley.moleskin.org> 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 1197991865 2453 80.91.229.12 (18 Dec 2007 15:31:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Dec 2007 15:31:05 +0000 (UTC) To: "Sebastian Tennant" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 18 16:31:17 2007 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 1J4ePP-0003W5-3n for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Dec 2007 16:31:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J4eP5-0007uA-Bi for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Dec 2007 10:30:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J4eOk-0007rP-1W for help-gnu-emacs@gnu.org; Tue, 18 Dec 2007 10:30:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J4eOh-0007nN-V6 for help-gnu-emacs@gnu.org; Tue, 18 Dec 2007 10:30:21 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J4eOh-0007nC-Ri for help-gnu-emacs@gnu.org; Tue, 18 Dec 2007 10:30:19 -0500 Original-Received: from agminet01.oracle.com ([141.146.126.228]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J4eOh-0001Gv-Gj for help-gnu-emacs@gnu.org; Tue, 18 Dec 2007 10:30:19 -0500 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id lBIFUGnw002884; Tue, 18 Dec 2007 09:30:16 -0600 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 lBIAKFiW024969; Tue, 18 Dec 2007 08:30:16 -0700 Original-Received: from dhcp-amer-whq-csvpn-gw3-141-144-81-149.vpn.oracle.com by acsmt351.oracle.com with ESMTP id 3450444881197991805; Tue, 18 Dec 2007 07:30:05 -0800 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <87odcokry0.fsf@moley.moleskin.org> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 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:50177 Archived-At: > > But, back to my original question, if I like to keep the SPACE as the > > file auto-complete character, how can I configure it back to the pre- > > version 22 behavior? > > Ah! Yes... good question.... Drew? I thought someone had answered that already. The Emacs NEWS - or more likely, the Emacs manual Anti-News, should explain that. At least the NEWS mentions that this is controlled in the file-name completion maps (which are new with Emacs 22, mainly to accommodate the fact that they didn't want this space change also for non-file-name completion). It says this, which is correct but perhaps not sufficiently clear: "The underlying changes in the keymaps that are active in the minibuffer are described below under `New keymaps for typing file names'." Anyway, Klaus has now shown you how - you just need to change the binding of the space character in the file-name completion maps. [For Icicles: Space completion a word at a time is determined by option `icicle-word-completion-keys' - just set it to the key(s) you want for that. And if you don't want space to complete a word at a time, but you also don't want space to self-insert, then do the same thing that Klaus showed, but for all minibuffer completion keymaps.]