unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: gottlieb@nyu.edu
To: help-gnu-emacs@gnu.org
Subject: Re: using blank for completion
Date: Sat, 08 Mar 2014 22:00:04 -0500	[thread overview]
Message-ID: <874n38t6tn.fsf@nyu.edu> (raw)
In-Reply-To: <8761now5op.fsf@web.de> (Michael Heerdegen's message of "Sun, 09 Mar 2014 01:56:22 +0100")

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



      reply	other threads:[~2014-03-09  3:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-09  0:32 using blank for completion gottlieb
2014-03-09  0:56 ` Michael Heerdegen
2014-03-09  3:00   ` gottlieb [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874n38t6tn.fsf@nyu.edu \
    --to=gottlieb@nyu.edu \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).