From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Fast completion with visible cue? Date: 27 Aug 2004 09:29:48 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1093591767 10631 80.91.224.253 (27 Aug 2004 07:29:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 Aug 2004 07:29:27 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 27 09:29:20 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C0bAl-0004tK-00 for ; Fri, 27 Aug 2004 09:29:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C0bFQ-00043c-DB for ged-emacs-devel@m.gmane.org; Fri, 27 Aug 2004 03:34:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C0bF7-000425-Aj for emacs-devel@gnu.org; Fri, 27 Aug 2004 03:33:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C0bF6-00041I-BM for emacs-devel@gnu.org; Fri, 27 Aug 2004 03:33:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C0bF6-00041A-8j for emacs-devel@gnu.org; Fri, 27 Aug 2004 03:33:48 -0400 Original-Received: from [212.88.64.25] (helo=mail-relay.sonofon.dk) by monty-python.gnu.org with smtp (Exim 4.34) id 1C0bAK-0006aX-M8 for emacs-devel@gnu.org; Fri, 27 Aug 2004 03:28:53 -0400 Original-Received: (qmail 63014 invoked from network); 27 Aug 2004 07:28:51 -0000 Original-Received: from unknown (HELO kfs-l.imdomain.dk.cua.dk) (213.83.150.2) by 0 with SMTP; 27 Aug 2004 07:28:51 -0000 Original-To: Simon Josefsson In-Reply-To: Original-Lines: 39 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:26556 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26556 Simon Josefsson writes: > Is the following possible with some ad-on package? If so, would it > make sense to enable the ad-on by default? If not, what do people > think about adding this feature? > > I'm really sorry for the complicated explanation, there is probably a > really simple term for this idea, and I suspect it is already > implemented. But if so, I'd like to vote for having it on by default. > Many GNOME and GTK programs have similar user experience. > > 1. CWD is ~. You wish to open a file > ~/projects/src/foo/doc/drafts/template/help.txt, so you might press > C-x C-f ~/proj TAB sr TAB f TAB doc TAB dr TAB tem TAB he TAB RET > > 2. You edit the file for a while, then close it with C-x C-k. > > 3. Hours pass and you edit lots of other files, however, consider for > sake of example that all the files you edit are in ~/play/. > > 4. You wish to edit the first file again. You type > C-x C-f ~/pro Try ido-mode. With that, you have several options here: 1) Since ido remembers the directories you have been editing, it puts the most recent directory as the first choice for completion: C-x C-f ~/pro RET RET RET RET ... RET 2) Since ido remembers the files you work on, this may also work: C-x C-f help.txt M-s RET -- Kim F. Storm http://www.cua.dk