[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [h-e-w] EmacsW32 filename completion using space bar
From: |
Francis Wright |
Subject: |
Re: [h-e-w] EmacsW32 filename completion using space bar |
Date: |
Sat, 9 Dec 2006 16:08:28 -0000 |
From: "Lennart Borgman" <address@hidden>
To: "jpff" <address@hidden>
Cc: "Francis Wright" <address@hidden>; <address@hidden>;
<address@hidden>
Sent: Saturday, December 09, 2006 3:36 PM
Subject: Re: [h-e-w] EmacsW32 filename completion using space bar
jpff wrote:
Personally I find the lack of space for completion a real pain. I
would turn it off if I knew how!
==John ffitch
I think you just need to redefine one or two keymaps. From the News file:
Two new keymaps, `minibuffer-local-filename-completion-map' and
`minibuffer-local-must-match-filename-map', apply whenever
Emacs reads a file name in the minibuffer. These key maps override
the usual binding of SPC to `minibuffer-complete-word' (so that file
names with embedded spaces could be typed without the need to quote
the spaces).
There is no problem turning it on with a little bit of elisp code. However
there is a logical problem since file names can include spaces. Do you
have any suggestion how to resolve that logical conflict?
Either avoid filenames including spaces or quote spaces in filenames (i.e.
C-q space).
Francis