[Top][All Lists]

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

Re: Configure SPACE as file auto-complete character

From: Bruza
Subject: Re: Configure SPACE as file auto-complete character
Date: Mon, 17 Dec 2007 21:13:11 -0800 (PST)
User-agent: G2/1.0

But, back to my original question, if I like to keep the SPACE as the
auto-complete character, how can I configure it back to the pre-
version 22



On Dec 17, 2:03 pm, "Drew Adams" <address@hidden> wrote:
> > 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.
> And that's a good thing, IMO.  I doubt that you regret it.
> Completion using `completing-read' is general; there is nothing that
> suggests that it should be mainly for text that doesn't contain spaces. Why
> does Emacs limit space self-insertion to file-name completion?
> Thank goodness for at least that change. It was due at least in part to the
> widespread use of MS Windows (and also to the fact that word-by-word
> completion is not so useful).
> FWIW - In Icicles, each of these characters self-inserts in the minibuffer:
> `?', `C-j' (newline), and `SPC' - regardless of the input type. You can
> still do word-by-word completion, using `M-SPC' (configurable), but I'm sure
> that any use of word-by-word completion is rare.

reply via email to

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