[Top][All Lists]

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

Re: Insufficient documentation on *how* to change SPC behaviour in minib

From: Eli Zaretskii
Subject: Re: Insufficient documentation on *how* to change SPC behaviour in minibuffer
Date: Fri, 06 Jul 2007 19:16:17 +0300

> From: Sivaram Neelakantan <address@hidden>
> User-Mail-Address: address@hidden
> Date: Thu, 05 Jul 2007 23:53:17 +0530
> In Emacs 22.1, the behaviour of SPC has changed to handle filenames
> with spaces as is evident from the NEWS file.  The information about
> keymaps is not sufficient to determine what needs to be done in order
> to get the old behaviour of file name completion(if it's provided for
> at all).
> What customization should a user do to get the old behaviour?
> ,----[ NEWS ]
> | ** 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".
> `----

Thank you for your report.

I added this text to the above entry:

    If you want the old behavior back, put these two key bindings to your
    ~/.emacs init file:

      (define-key minibuffer-local-filename-completion-map
                  " " 'minibuffer-complete-word)
      (define-key minibuffer-local-must-match-filename-map
                  " " 'minibuffer-complete-word)

Does it give you enough information now?  Did the recipe work for you?

reply via email to

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