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

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

Re: using blank for completion


From: Michael Heerdegen
Subject: Re: using blank for completion
Date: Sun, 09 Mar 2014 01:56:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

address@hidden writes:

> I prefer to have the "old-style" completion where space completes a word
> and tab completes as far as possible.  In my emacs.d/init.el I have
>
> (define-key minibuffer-local-filename-completion-map (kbd "SPC")
>   'minibuffer-complete-word)
> (define-key minibuffer-local-filename-must-match-map (kbd "SPC")
>   'minibuffer-complete-word)
>
> This has worked fine for several years and continues to work fine.
> However, when I byte compile it I receive the warning
>
> init.el:9:13:Warning: `minibuffer-local-filename-must-match-map' is an
>     obsolete variable (as of 24.1).
>
> What is the correct way to achieve this effect.

AFAIU, you can just remove the
`minibuffer-local-filename-must-match-map' and will still get what you
want for file completion.  There were two different maps for file
completion existing, but now, seemingly
`minibuffer-local-filename-completion-map' is always used (and combined
with either `minibuffer-local-completion-map' or
`minibuffer-local-must-match-map').


Regards,

Michael.





reply via email to

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