From: Klaus Zeitler <kzeitler+usenet@gsm-mailhost.de.lucent.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Configure SPACE as file auto-complete character
Date: Tue, 18 Dec 2007 07:52:23 +0100 [thread overview]
Message-ID: <q5gzlw8qyu0.fsf@sfsw51.de.lucent.com> (raw)
In-Reply-To: b8d31dd8-0737-404f-8149-e6c84cb28ae8@a35g2000prf.googlegroups.com
Hello Ben,
>>>>> "Bruza" == Bruza <benruza@gmail.com> writes:
Bruza>
Bruza> if I like to keep the SPACE as the file auto-complete
Bruza> character, how can I configure it back to the pre- version 22
Bruza> behavior?
Yes that change is a real pain. I guess I need a space in a filename
about once or twice a year here in our Solaris/GNU Linux environment. I
wish there was an option to switch back to the original behavior or even
better this change would be the default for Microsoft users only.
Here's what I added to my .emacs file:
(if (>= emacs-major-version 22)
(if partial-completion-mode
(progn
(define-key minibuffer-local-must-match-filename-map
(kbd "SPC") 'PC-complete-word)
(define-key minibuffer-local-filename-completion-map
(kbd "SPC") 'PC-complete-word))
(define-key minibuffer-local-must-match-filename-map
(kbd "SPC") 'minibuffer-complete-word)
(define-key minibuffer-local-filename-completion-map
(kbd "SPC") 'minibuffer-complete-word)))
HTH
Klaus
--
-------------------------------------
| Klaus Zeitler Alcatel-Lucent |
-------------------------------------
---
The difference between a fool and a wise man is not
the things they know, it's the questions they ask.
next prev parent reply other threads:[~2007-12-18 6:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.5130.1197929124.18990.help-gnu-emacs@gnu.org>
2007-12-18 5:13 ` Configure SPACE as file auto-complete character Bruza
2007-12-18 6:52 ` Klaus Zeitler [this message]
2007-12-18 14:17 ` Sebastian Tennant
2007-12-18 15:30 ` Drew Adams
2007-12-17 2:46 Bruza
2007-12-17 9:48 ` Jason Rumney
2007-12-17 20:28 ` Eli Zaretskii
2007-12-17 21:10 ` Sebastian Tennant
2007-12-17 22:03 ` Drew Adams
2007-12-18 15:38 ` rob wahoo
2007-12-21 23:16 ` Bruza
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=q5gzlw8qyu0.fsf@sfsw51.de.lucent.com \
--to=kzeitler+usenet@gsm-mailhost.de.lucent.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).