unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Fast completion with visible cue?
@ 2004-08-26 22:37 Simon Josefsson
  2004-08-26 22:44 ` David Kastrup
                   ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: Simon Josefsson @ 2004-08-26 22:37 UTC (permalink / raw)


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

Now, wouldn't it be Really Nice if the minibuffer prompt would
contain:

Find File: ~/pro[CURSOR]ects/src/foo/doc/drafts/template/help.txt

where CURSOR isn't shown verbatim, but indicate where the cursor is,
and the latter part of the string is displayed in a light gray color
but the earlier part of the string is in black.

You could continue typing and TAB complete like the normal prompt, but
would be able to open the "suggested" filename (shown in light gray)
by simply pressing RET.  To really open a file called "~/pro" you
could press SPC DEL or similar.

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2004-08-30  8:22 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-26 22:37 Fast completion with visible cue? Simon Josefsson
2004-08-26 22:44 ` David Kastrup
2004-08-26 23:13   ` Simon Josefsson
2004-08-27  3:51     ` Dhruva Krishnamurthy
2004-08-27  8:54     ` Andreas Schwab
2004-08-27 13:27       ` Stefan Monnier
2004-08-27 13:37         ` Andreas Schwab
2004-08-26 23:06 ` Andreas Schwab
2004-08-26 23:13   ` Miles Bader
2004-08-29 20:29     ` Juri Linkov
2004-08-30  3:10       ` Dan Nicolaescu
2004-08-30  8:22         ` Juri Linkov
2004-08-27  6:33 ` Jan D.
2004-08-27 10:16   ` Simon Josefsson
2004-08-27  7:29 ` Kim F. Storm
2004-08-27 10:07   ` Simon Josefsson
2004-08-27 10:33     ` Kim F. Storm

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).