From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sivaram Neelakantan Newsgroups: gmane.emacs.bugs Subject: Re: Insufficient documentation on *how* to change SPC behaviour in minibuffer Date: Fri, 06 Jul 2007 23:33:00 +0530 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1183746012 7066 80.91.229.12 (6 Jul 2007 18:20:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 6 Jul 2007 18:20:12 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 06 20:20:11 2007 connect(): Connection refused Return-path: Envelope-to: geb-bug-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 1I6sPZ-0001bA-I1 for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Jul 2007 20:20:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I6sPZ-000576-2e for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Jul 2007 14:20:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I6sPW-00056r-NC for bug-gnu-emacs@gnu.org; Fri, 06 Jul 2007 14:20:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I6sPV-00056U-8m for bug-gnu-emacs@gnu.org; Fri, 06 Jul 2007 14:20:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I6sPV-00056R-5j for bug-gnu-emacs@gnu.org; Fri, 06 Jul 2007 14:20:05 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1I6sPU-0005L5-S6 for bug-gnu-emacs@gnu.org; Fri, 06 Jul 2007 14:20:05 -0400 Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1I6sPS-00038M-1L for bug-gnu-emacs@gnu.org; Fri, 06 Jul 2007 20:20:02 +0200 Original-Received: from 59.92.194.144 ([59.92.194.144]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Jul 2007 20:20:02 +0200 Original-Received: from nsivaram.net by 59.92.194.144 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Jul 2007 20:20:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 34 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 59.92.194.144 User-Mail-Address: nsivaram.net@gmail.com User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (windows-nt) Cancel-Lock: sha1:dA67WKCXIvTsenRs1Y/i2fEdkzw= X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16098 Archived-At: Eli Zaretskii writes: >> From: Sivaram Neelakantan >> User-Mail-Address: nsivaram.net@gmail.com [...] > Thank you for your report. > > I added this text to the above entry: > > If you want the old behavior back, put these two key bindings to your > ~/.emacs init file: > > (define-key minibuffer-local-filename-completion-map > " " 'minibuffer-complete-word) > (define-key minibuffer-local-must-match-filename-map > " " 'minibuffer-complete-word) > > Does it give you enough information now? Did the recipe work for you? Many thanks. It does work as suggested with the above code snippet. As for the documentation, well yes that would make sense. But would it be also useful to put it under Emacs-Minibuffer-Completion Commands section in the info manual? Similar to the way, how Emacs recognises sentences (2 spaces vs 1aftera period) and how the manual explains how to switch from one to the other, I think, there should be a similar explanation in the main info manual. sivaram --