[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Entering filenames with spaces
From: |
David Reitter |
Subject: |
Re: Entering filenames with spaces |
Date: |
Sat, 5 Nov 2005 15:02:30 +0000 |
On 19 Oct 2005, at 03:43, Richard M. Stallman wrote:
Does a filename-minibuffer have an extra keymap?
Not at present, but giving it its own keymap is the cleanest
way to do this job.
OK, this is a simple patch now which allows for inputting spaces in
filenames in the minibuffer, while keeping the binding of space to
minibuffer-complete-word in other contexts. It introduces a new
keymap, minibuffer-local-filename-completion-map.
2005-11-05 David Reitter <address@hidden>
* commands.h (Vminibuffer_local_filename_completion_map):
declare a new keymap for minibuffer completion in case of filenames.
* keymap.c (syms_of_keymap): Declare (Lisp) and make new keymap.
* minibuf.c (completing-read): Use a new keymap when deadling with
filenames.
(keys_of_minibuf): initialize the new keymap.
for etc/NEWS:
** Minibuffer changes:
*** For filenames, Space is not bound to completion any longer
Filenames with spaces can be input intuitively with the space bar now,
space is not bound to `minibuffer-complete-word' any longer.
A new key map minibuffer-local-filename-completion-map applies whenever
a file name is prompted for.
minibuffer-space.patch
Description: Binary data
- Re: Entering filenames with spaces,
David Reitter <=