* SPC no longer completes in minibuffer?
@ 2006-03-23 14:00 Viktor Haag
2006-03-23 14:18 ` Romain Francoise
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Viktor Haag @ 2006-03-23 14:00 UTC (permalink / raw)
It appears that the 22.x maintainers have decided that letting the SPC
key complete filenames in the minibuffer is a bad idea, so they no
longer bind it to minibuffer-complete-word whn entering a filename into
the minibuffer.
After years and years of having my fingers trained to do this, I would
really like to switch back to the old way of doing things: in my world,
spaces in file and directory names happen /way/ less often than wanting
to use the SPC key for word completion when entering filenames.
Can anyone give advice on how to go re-invent the old behaviour given
the new changes that have been made to the way the minibuffer works now
(apparently a couple new keymaps have been created around this issue?
I'm not very familiar with how keymaps work, I'm afraid...)?
If anyone can help it would really save me some time and hassle --
thanks!
--
Viktor Haag
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: SPC no longer completes in minibuffer?
2006-03-23 14:00 SPC no longer completes in minibuffer? Viktor Haag
@ 2006-03-23 14:18 ` Romain Francoise
2006-03-24 14:45 ` Viktor Haag
2006-03-25 5:17 ` Jim Smith
2006-03-23 18:14 ` drobinow
2006-03-24 9:29 ` Eli Zaretskii
2 siblings, 2 replies; 8+ messages in thread
From: Romain Francoise @ 2006-03-23 14:18 UTC (permalink / raw)
"Viktor Haag" <viktor.haag@gmail.com> writes:
> If anyone can help it would really save me some time and hassle --
> thanks!
This is documented in the Emacs FAQ (C-h C-f).
--
Romain Francoise <romain@orebokech.com> | The sea! the sea! the open
it's a miracle -- http://orebokech.com/ | sea! The blue, the fresh, the
| ever free! --Bryan W. Procter
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: SPC no longer completes in minibuffer?
2006-03-23 14:00 SPC no longer completes in minibuffer? Viktor Haag
2006-03-23 14:18 ` Romain Francoise
@ 2006-03-23 18:14 ` drobinow
2006-03-24 9:29 ` Eli Zaretskii
2 siblings, 0 replies; 8+ messages in thread
From: drobinow @ 2006-03-23 18:14 UTC (permalink / raw)
This is what I've got:
;; restore natural meaning of SPC in minibuffer to revert goofy
change
(define-key minibuffer-local-filename-completion-map " "
'minibuffer-complete-word)
(define-key minibuffer-local-must-match-filename-map " "
'minibuffer-complete-word)
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: SPC no longer completes in minibuffer?
2006-03-23 14:00 SPC no longer completes in minibuffer? Viktor Haag
2006-03-23 14:18 ` Romain Francoise
2006-03-23 18:14 ` drobinow
@ 2006-03-24 9:29 ` Eli Zaretskii
2 siblings, 0 replies; 8+ messages in thread
From: Eli Zaretskii @ 2006-03-24 9:29 UTC (permalink / raw)
> From: "Viktor Haag" <viktor.haag@gmail.com>
> Date: 23 Mar 2006 06:00:48 -0800
>
> It appears that the 22.x maintainers have decided that letting the SPC
> key complete filenames in the minibuffer is a bad idea, so they no
> longer bind it to minibuffer-complete-word whn entering a filename into
> the minibuffer.
Yes, because more and more people and systems are using file names
with embedded spaces.
> Can anyone give advice on how to go re-invent the old behaviour given
> the new changes that have been made to the way the minibuffer works now
> (apparently a couple new keymaps have been created around this issue?
> I'm not very familiar with how keymaps work, I'm afraid...)?
>
> If anyone can help it would really save me some time and hassle --
> thanks!
Please read the NEWS file (search for "SPC"), it explains how to do
that.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: SPC no longer completes in minibuffer?
2006-03-23 14:18 ` Romain Francoise
@ 2006-03-24 14:45 ` Viktor Haag
2006-03-25 5:17 ` Jim Smith
1 sibling, 0 replies; 8+ messages in thread
From: Viktor Haag @ 2006-03-24 14:45 UTC (permalink / raw)
Thanks -- I had a brief look, but didn't see it. And there it is, right
in front of my face.
::sigh::
v.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: SPC no longer completes in minibuffer?
2006-03-23 14:18 ` Romain Francoise
2006-03-24 14:45 ` Viktor Haag
@ 2006-03-25 5:17 ` Jim Smith
2006-03-25 11:54 ` Johan Bockgård
2006-03-25 11:55 ` Romain Francoise
1 sibling, 2 replies; 8+ messages in thread
From: Jim Smith @ 2006-03-25 5:17 UTC (permalink / raw)
Romain Francoise <romain@orebokech.com> writes:
> "Viktor Haag" <viktor.haag@gmail.com> writes:
>
>> If anyone can help it would really save me some time and hassle --
>> thanks!
>
> This is documented in the Emacs FAQ (C-h C-f).
Where in the FAQ is this? I can't seem to find it.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: SPC no longer completes in minibuffer?
2006-03-25 5:17 ` Jim Smith
@ 2006-03-25 11:54 ` Johan Bockgård
2006-03-25 11:55 ` Romain Francoise
1 sibling, 0 replies; 8+ messages in thread
From: Johan Bockgård @ 2006-03-25 11:54 UTC (permalink / raw)
Jim Smith <3.141592six@gmail.com> writes:
> Where in the FAQ is this? I can't seem to find it.
(info "(efaq)SPC no longer completes file names")
--
Johan Bockgård
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: SPC no longer completes in minibuffer?
2006-03-25 5:17 ` Jim Smith
2006-03-25 11:54 ` Johan Bockgård
@ 2006-03-25 11:55 ` Romain Francoise
1 sibling, 0 replies; 8+ messages in thread
From: Romain Francoise @ 2006-03-25 11:55 UTC (permalink / raw)
Jim Smith <3.141592six@gmail.com> writes:
> Where in the FAQ is this? I can't seem to find it.
| 10.19 Why doesn't SPC complete file names anymore?
| ==================================================
|
| Starting with Emacs 22.1, `SPC' no longer completes file names in the
| minibuffer, so that file names with embedded spaces could be typed
| without the need to quote the spaces.
|
| You can get the old behavior by binding `SPC' to
| `minibuffer-complete-word' in the minibuffer, as follows:
|
| (define-key minibuffer-local-filename-completion-map (kbd "SPC")
| 'minibuffer-complete-word)
|
| (define-key minibuffer-local-must-match-filename-map (kbd "SPC")
| 'minibuffer-complete-word)
--
Romain Francoise <romain@orebokech.com> | The sea! the sea! the open
it's a miracle -- http://orebokech.com/ | sea! The blue, the fresh, the
| ever free! --Bryan W. Procter
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-03-25 11:55 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-23 14:00 SPC no longer completes in minibuffer? Viktor Haag
2006-03-23 14:18 ` Romain Francoise
2006-03-24 14:45 ` Viktor Haag
2006-03-25 5:17 ` Jim Smith
2006-03-25 11:54 ` Johan Bockgård
2006-03-25 11:55 ` Romain Francoise
2006-03-23 18:14 ` drobinow
2006-03-24 9:29 ` Eli Zaretskii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.