From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: What completion mechanisms are you using? Date: Sun, 1 Feb 2009 16:24:07 -0800 Message-ID: <003001c984cc$906e6ac0$0200a8c0@us.oracle.com> References: <200902011252.n11Cqwhc030115@triton.rz.uni-saarland.de><000a01c98487$6e310ed0$0200a8c0@us.oracle.com><200902011843.n11IhQcd029091@theia.rz.uni-saarland.de> <002501c984af$d8818580$0200a8c0@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1233534286 22229 80.91.229.12 (2 Feb 2009 00:24:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Feb 2009 00:24:46 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, 'Christian Engels' To: "'Christian Engels'" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 02 01:25:58 2009 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 1LTmdS-00015Z-Kw for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Feb 2009 01:25:58 +0100 Original-Received: from localhost ([127.0.0.1]:53671 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTmc9-0002n1-TI for geh-help-gnu-emacs@m.gmane.org; Sun, 01 Feb 2009 19:24:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LTmbq-0002mm-GT for help-gnu-emacs@gnu.org; Sun, 01 Feb 2009 19:24:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LTmbl-0002mZ-3x for help-gnu-emacs@gnu.org; Sun, 01 Feb 2009 19:24:17 -0500 Original-Received: from [199.232.76.173] (port=40983 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTmbk-0002mW-T5 for help-gnu-emacs@gnu.org; Sun, 01 Feb 2009 19:24:12 -0500 Original-Received: from acsinet12.oracle.com ([141.146.126.234]:17848) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LTmbk-000447-Fz for help-gnu-emacs@gnu.org; Sun, 01 Feb 2009 19:24:12 -0500 Original-Received: from acsinet13.oracle.com (acsinet13.oracle.com [141.146.126.235]) by acsinet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n120O8u5020973 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 2 Feb 2009 00:24:10 GMT Original-Received: from acsmt701.oracle.com (acsmt701.oracle.com [141.146.40.71]) by acsinet13.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n120O7GR013192; Mon, 2 Feb 2009 00:24:09 GMT Original-Received: from dradamslap1 (/24.5.128.33) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 02 Feb 2009 00:24:06 +0000 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <002501c984af$d8818580$0200a8c0@us.oracle.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 Thread-Index: AcmEnRX25dc3PSvZQBuW5ovbBLHICQAB3R+gAAl9mnA= X-Source-IP: acsmt701.oracle.com [141.146.40.71] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090204.49863D28.016A:SCFSTAT928724,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) 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:61842 Archived-At: > > Again an example of ido's behaviour: > > find file: a{ aa.txt | aac.txt | b.txt} > > If i now hit Backspace i get > > find file: /tmp/{ aa.txt | aac.txt | b.txt} > > If i now hit backspace again i get > > find file: /{ $list of files} > > > > Is this possible with a keybinding? > > That's already the same in Icicles - no need to change any > key bindings. That's just incremental completion - see above. > > That simply shows the completion candidates that correspond > to whatever is currently in the minibuffer. If the minibuffer > has `/tmp/' as content, then the candidates are the files in > directory `/tmp/'. I should have also mentioned that `C-backspace' removes the last directory component (and any partial file name) from your minibuffer input, then recompletes. So either of these removes everything except /titi/foo/ and then shows the completions for /titi/foo/: File or directory: /titi/foo/bar/toto C-backspace Find or directory: /titi/foo/bar/ C-backspace The main answer here is still that this is just incremental completion, but yes, there is a one-key equivalent to Ido's `backspace' in Icicles, for file-name completion. (`backspace' itself is used for editing, as I mentioned).