From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Klaus Zeitler Newsgroups: gmane.emacs.help Subject: Re: Configure SPACE as file auto-complete character Date: Tue, 18 Dec 2007 07:52:23 +0100 Organization: Alcatel-Lucent Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1197988489 21682 80.91.229.12 (18 Dec 2007 14:34:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Dec 2007 14:34:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 18 15:35:01 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 1J4dXA-0005mP-46 for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Dec 2007 15:35:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J4dWq-0001WF-Kl for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Dec 2007 09:34:40 -0500 Original-Newsgroups: gnu.emacs.help X-Kibo-Says: The Bible is not the Truth, I KNOW! User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (usg-unix-v) Cancel-Lock: sha1:4RocnHkiGm4VrG/Ud/7kMGk2WSc= Original-NNTP-Posting-Host: sfsw51.de.lucent.com Original-X-Trace: news.alcatel.com 1197960743 sfsw51.de.lucent.com (18 Dec 2007 00:52:23 -0600) Original-Lines: 36 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!newscon04.news.prodigy.net!prodigy.net!newsext.alcatel.com!news.alcatel.com!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:154742 X-Mailman-Approved-At: Tue, 18 Dec 2007 09:34:05 -0500 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:50176 Archived-At: Hello Ben, >>>>> "Bruza" == Bruza writes: Bruza> Bruza> if I like to keep the SPACE as the file auto-complete Bruza> character, how can I configure it back to the pre- version 22 Bruza> behavior? Yes that change is a real pain. I guess I need a space in a filename about once or twice a year here in our Solaris/GNU Linux environment. I wish there was an option to switch back to the original behavior or even better this change would be the default for Microsoft users only. Here's what I added to my .emacs file: (if (>= emacs-major-version 22) (if partial-completion-mode (progn (define-key minibuffer-local-must-match-filename-map (kbd "SPC") 'PC-complete-word) (define-key minibuffer-local-filename-completion-map (kbd "SPC") 'PC-complete-word)) (define-key minibuffer-local-must-match-filename-map (kbd "SPC") 'minibuffer-complete-word) (define-key minibuffer-local-filename-completion-map (kbd "SPC") 'minibuffer-complete-word))) HTH Klaus -- ------------------------------------- | Klaus Zeitler Alcatel-Lucent | ------------------------------------- --- The difference between a fool and a wise man is not the things they know, it's the questions they ask.