help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Configure SPACE as file auto-complete character


From: Sebastian Tennant
Subject: Re: Configure SPACE as file auto-complete character
Date: Mon, 17 Dec 2007 23:10:23 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)

Quoth Bruza <benruza@gmail.com>:
> I just installed emacs 22.1.1 GTK on Ubuntu. The first thing I noticed
> is that the auto filename completion key in the min-buffer is not
> SPACE anymore. I need to use TAB instead. Is there a way I can
> configure SPACE as the filename auto-complete character?

C-h n C-s space:

 ** When Emacs prompts for file names, SPC no longer completes the file name.
 This is so filenames with embedded spaces could be input without the
 need to quote the space with a C-q.  The underlying changes in the
 keymaps that are active in the minibuffer are described below under
 "New keymaps for typing file names".

Interesting... I've had the following line in my ~/.emacs for quite a
while for precisely this reason:

;;; disable 'SPC' completion in minibuffer
(substitute-key-definition 'minibuffer-complete-word 'self-insert-command 
minibuffer-local-completion-map)

However, I believe my substitution disables auto-completion across the
board, not just file name auto-completion.

Sebastian





reply via email to

[Prev in Thread] Current Thread [Next in Thread]