From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bruza Newsgroups: gmane.emacs.help Subject: Re: Configure SPACE as file auto-complete character Date: Mon, 17 Dec 2007 21:13:11 -0800 (PST) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1197956488 23167 80.91.229.12 (18 Dec 2007 05:41:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Dec 2007 05:41:28 +0000 (UTC) Cc: benkial@gmail.com To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 18 06:41:37 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J4VCi-0004Tf-W1 for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Dec 2007 06:41:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J4VCP-0005Ue-UI for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Dec 2007 00:41:01 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!a35g2000prf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 36 Original-NNTP-Posting-Host: 66.201.58.109 Original-X-Trace: posting.google.com 1197954792 18490 127.0.0.1 (18 Dec 2007 05:13:12 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 18 Dec 2007 05:13:12 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a35g2000prf.googlegroups.com; posting-host=66.201.58.109; posting-account=e0RwvwoAAABUIdU2znZKNc8wiHjbwy5g User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11,gzip(gfe),gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.help:154740 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:50166 Archived-At: 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" 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.