From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Who uses "complete word" (aka SPC) in the minibuffer and how/why Date: Fri, 21 Mar 2008 14:39:50 -0400 Message-ID: References: <87zlt4uas6.fsf@freemail.hu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1206124865 18904 80.91.229.12 (21 Mar 2008 18:41:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Mar 2008 18:41:05 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 21 19:41:31 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JcmAM-0000FY-D0 for ged-emacs-devel@m.gmane.org; Fri, 21 Mar 2008 19:40:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jcm9l-0003lT-M0 for ged-emacs-devel@m.gmane.org; Fri, 21 Mar 2008 14:39:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jcm9g-0003iv-Os for emacs-devel@gnu.org; Fri, 21 Mar 2008 14:39:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jcm9f-0003fO-4k for emacs-devel@gnu.org; Fri, 21 Mar 2008 14:39:52 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jcm9e-0003ex-Vl for emacs-devel@gnu.org; Fri, 21 Mar 2008 14:39:51 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182] helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jcm9e-00063y-PE for emacs-devel@gnu.org; Fri, 21 Mar 2008 14:39:50 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiAFAHKd40dMCrTo/2dsb2JhbACBWqh1 X-IronPort-AV: E=Sophos;i="4.25,536,1199682000"; d="scan'208";a="16360944" Original-Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 21 Mar 2008 14:39:50 -0400 Original-Received: from pastel.home ([76.10.180.232]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id BVI28150; Fri, 21 Mar 2008 14:39:50 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 0754E7F5D; Fri, 21 Mar 2008 14:39:50 -0400 (EDT) In-Reply-To: <87zlt4uas6.fsf@freemail.hu> (Magnus Henoch's message of "Tue, 11 Mar 2008 23:59:53 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:93131 Archived-At: >>>>> "Magnus" == Magnus Henoch writes: > I use it with M-x, especially when I want to run a command that is > shadowed by a shorter one, e.g. customize-variable (shadowed by > customize) and mail-add-payment-async (shadowed by mail-add-payment). > At the end of the common part I hit SPC to get completion of the longer > command. > I could do this with the sequence TAB and '-' too, but that would be one > extra keypress. >>>>> "Bastien" == Bastien writes: > I hardly use it. > My only use is this one: in org-mode, when trying to refile a headline > under another one, `minibuffer-completion' offers a list displaying all > headlines, with a slash to indicate the hierarchy: > Headline with a title > Headline/Subheadline1 > Headline/Subheadline2 > Headline/Subheadline3 > Headline2/Subheadline2.1 > Headline2/Subheadline2.2 > Headline2/Subheadline2.3 > TAB after Headline will always offer the complete list, whereas SPC > will jump to the heading "Heading with a title". I notice that both uses are in "must-match" completions. Maybe we should remove the SPC binding from minibuffer-local-completion-map to minibuffer-local-must-match-map. In any case, it does help me understand the intention behind the command. Stefan