home *** CD-ROM | disk | FTP | other *** search
- > If I type space at a point where there is one and only one possible
- > file satisfying the first part of the name, why doesn't lucid-emacs
- > complete the entire name
-
- Space is defined to complete one word at a time, as a feature.
- TAB completes all the way.
-
- > Also, why doesn't typing a
- > space after that cause the command execution to start, as opposed to
- > requiring that a CR be typed
-
- That surprised me when I first used GNU Emacs, too, but now I think
- it's definitely the right way to go. The only completion environment
- where I'd feel at all comfortable having SPC finish the entry is for
- `M-x' commands, but if you're typing that many `M-x' commands then
- you need to bind some more keys.
-
- In circumstances where a valid completion is required, the RET key
- behaves a lot like what you want. If the entry is not yet valid,
- it completes to a valid entry and says "[Confirm]". Then a second
- RET finishes the entry. You can also set it so that it always just
- completes and finishes in one go, which is more predictable and so
- easier to type by reflex.
-
- Commands like `C-x C-f' can't do this because it's always legal to
- enter a file name that doesn't exist yet. My new completion package,
- just posted to help-lucid-emacs, allows you to type M-RET to get this
- complete-and-exit behavior in all commands.
-
- -- Dave
-
-