From: Drew Adams <drew.adams@oracle.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 16331@debbugs.gnu.org
Subject: bug#16331: 24.3.50; `dired-internal-do-deletions': "Deleting..." message
Date: Fri, 7 Feb 2014 19:18:17 -0800 (PST) [thread overview]
Message-ID: <9d2961a4-ff90-4a14-8582-c5934adc5558@default> (raw)
In-Reply-To: <87mwi2b9s4.fsf@building.gnus.org>
> > The message "Trashing..." (which is unclear, BTW) or "Deleting..."
> > appears while the user is being asked whether to delete/trash.
> >
> > So the message is wrong: Emacs is not (yet) deleting files.
> >
> > A better message would be something like "Preparing to delete..."
> >
> > A message such as "Deleting..." can give the impression that the
> > files are already being deleted. If you have 50 marked files,
> > you don't want to see a message saying that they are being
> > deleted before you have had a chance to cancel deletion.
>
> As far as I can tell from reading the code, it's not saying
> "Deleting..." before it's deleting the messages. (Or trashing
> them.)
I see the message when the pending-deletion file list is popped
and you are asked for confirmation. Emacs is not deleting
anything at that point. It does not start deleting the files
until you confirm that you want to delete them.
Whether the message appears at all depends on the timing done
in `progress-reporter-do-update'. That is the code that shows
the message. You may or may not see the message at all,
depending on your context.
next prev parent reply other threads:[~2014-02-08 3:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-03 17:18 bug#16331: 24.3.50; `dired-internal-do-deletions': "Deleting..." message Drew Adams
2014-02-08 2:47 ` Lars Ingebrigtsen
2014-02-08 3:18 ` Drew Adams [this message]
2014-02-08 3:32 ` Lars Ingebrigtsen
2014-02-08 15:06 ` Drew Adams
2014-02-09 2:16 ` Lars Ingebrigtsen
2014-02-10 0:39 ` Drew Adams
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=9d2961a4-ff90-4a14-8582-c5934adc5558@default \
--to=drew.adams@oracle.com \
--cc=16331@debbugs.gnu.org \
--cc=larsi@gnus.org \
/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).