unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: 7747@debbugs.gnu.org
Subject: bug#7747: Please put current file name in the prompt for rename-file
Date: Tue, 28 Dec 2010 02:14:50 +0100	[thread overview]
Message-ID: <AANLkTinwtrYmxZDDYpbEBt3uJH9ZH_=AAJ9PdnFXtUv4@mail.gmail.com> (raw)
In-Reply-To: <18DA5640211F43C3B3DE7C161ED13DE2@us.oracle.com>

On Tue, Dec 28, 2010 at 2:00 AM, Drew Adams <drew.adams@oracle.com> wrote:
>> 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.


I did not think of that, but I am sure you understood me.


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


Yes. And the only reasonable way to do that is to put them after the prompt.





  reply	other threads:[~2010-12-28  1:14 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
2010-12-28  1:14   ` Lennart Borgman [this message]
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='AANLkTinwtrYmxZDDYpbEBt3uJH9ZH_=AAJ9PdnFXtUv4@mail.gmail.com' \
    --to=lennart.borgman@gmail.com \
    --cc=7747@debbugs.gnu.org \
    --cc=drew.adams@oracle.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).