all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bruza <benruza@gmail.com>
To: help-gnu-emacs@gnu.org
Cc: benkial@gmail.com
Subject: Re: Configure SPACE as file auto-complete character
Date: Mon, 17 Dec 2007 21:13:11 -0800 (PST)	[thread overview]
Message-ID: <b8d31dd8-0737-404f-8149-e6c84cb28ae8@a35g2000prf.googlegroups.com> (raw)
In-Reply-To: mailman.5130.1197929124.18990.help-gnu-emacs@gnu.org

But, back to my original question, if I like to keep the SPACE as the
file
auto-complete character, how can I configure it back to the pre-
version 22
behavior?

Thanks,

Ben

On Dec 17, 2:03 pm, "Drew Adams" <drew.ad...@oracle.com> wrote:
> > Interesting... I've had the following line in my ~/.emacs for quite a
> > while for precisely this reason:
>
> > ;;; disable 'SPC' completion in minibuffer
> > (substitute-key-definition 'minibuffer-complete-word
> > 'self-insert-command minibuffer-local-completion-map)
>
> > However, I believe my substitution disables auto-completion across the
> > board, not just file name auto-completion.
>
> And that's a good thing, IMO.  I doubt that you regret it.
>
> Completion using `completing-read' is general; there is nothing that
> suggests that it should be mainly for text that doesn't contain spaces. Why
> does Emacs limit space self-insertion to file-name completion?
>
> Thank goodness for at least that change. It was due at least in part to the
> widespread use of MS Windows (and also to the fact that word-by-word
> completion is not so useful).
>
> FWIW - In Icicles, each of these characters self-inserts in the minibuffer:
> `?', `C-j' (newline), and `SPC' - regardless of the input type. You can
> still do word-by-word completion, using `M-SPC' (configurable), but I'm sure
> that any use of word-by-word completion is rare.

       reply	other threads:[~2007-12-18  5:13 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 ` Bruza [this message]
2007-12-18  6:52   ` Configure SPACE as file auto-complete character Klaus Zeitler
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b8d31dd8-0737-404f-8149-e6c84cb28ae8@a35g2000prf.googlegroups.com \
    --to=benruza@gmail.com \
    --cc=benkial@gmail.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.
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.