unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Simple minibuffer completion question
@ 2007-04-14 11:33 bmaron2
  2007-04-14 11:52 ` Eli Zaretskii
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bmaron2 @ 2007-04-14 11:33 UTC (permalink / raw)
  To: help-gnu-emacs

Hello folks,

I've always wondered how to do this for ages now, and I'm hopeful
there is a simple solution which I haven't figured out.

Lets say you're editing a file named reallylongfilename.foo. You want
to save a copy and call it reallylongfilename2.foo.

If I do a C-x C-w, emacs prompts me for the new file name. Now, how
can I get it to insert the default file name (reallylongfilename.foo),
but still allow me to edit the text? If i just press RET it submits
the default name, not allowing me to add the '2'. TAB and SPC give me
a list of all the files in the directory, so I still have to type out
reallylongfilename.foo.

An analogous question is if I'm editing reallylongfilename.foo and I
want to open reallylongfilename.bar. How can I do that without typing
manually all of reallylongfilename?

Thanks in advance!

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

end of thread, other threads:[~2007-04-14 19:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-14 11:33 Simple minibuffer completion question bmaron2
2007-04-14 11:52 ` Eli Zaretskii
     [not found] ` <mailman.2069.1176551798.7795.help-gnu-emacs@gnu.org>
2007-04-14 13:18   ` bmaron2
2007-04-14 19:47 ` Dieter Wilhelm

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).