unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Lennart Borgman'" <lennart.borgman@gmail.com>, <7747@debbugs.gnu.org>
Subject: bug#7747: Please put current file name in the prompt for rename-file
Date: Mon, 27 Dec 2010 17:00:47 -0800	[thread overview]
Message-ID: <18DA5640211F43C3B3DE7C161ED13DE2@us.oracle.com> (raw)
In-Reply-To: <AANLkTi=-SRpyBjfSoZ1=ZLGWEBq=Zfswv1TMc2yunNrX@mail.gmail.com>

> The prompt for `rename-file' does not currently show the old file name

What old file name?  Which file is the "old file"?

> Wouldn't it be better if the prompt should the current file name at init?

What "current file"?

You can use `rename-file' from anywhere in Emacs.  Yes, if you use it from a
file buffer or from Dired then a reasonable default value is provided.  But
that's all it is: a default value.

We should treat this default value the same way we treat default values
generally (i.e., most default values).






  reply	other threads:[~2010-12-28  1:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-28  0:41 bug#7747: Please put current file name in the prompt for rename-file Lennart Borgman
2010-12-28  1:00 ` Drew Adams [this message]
2010-12-28  1:14   ` Lennart Borgman
2010-12-28  2:24     ` Stefan Monnier
2011-01-01 19:16       ` Lennart Borgman
2011-01-02  2:28         ` Lennart Borgman
2011-01-02  2:53           ` Stefan Monnier
2011-01-02  3:15             ` Lennart Borgman
2011-01-02 14:57         ` Juri Linkov
2010-12-28  1:47 ` Juri Linkov
2010-12-28  2:15   ` Lennart Borgman
2022-02-10  8:33     ` bug#7747: Allow choice of "default in M-n" vs "default in `initial'" Lars Ingebrigtsen
2022-02-12  3:57       ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18DA5640211F43C3B3DE7C161ED13DE2@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=7747@debbugs.gnu.org \
    --cc=lennart.borgman@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).