[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using blank for completion
From: |
gottlieb |
Subject: |
Re: using blank for completion |
Date: |
Sat, 08 Mar 2014 22:00:04 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
On Sat, Mar 08 2014, Michael Heerdegen wrote:
> gottlieb@nyu.edu 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.
Thank you.
allan