unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 16331@debbugs.gnu.org
Subject: bug#16331: 24.3.50; `dired-internal-do-deletions': "Deleting..." message
Date: Fri, 07 Feb 2014 19:32:42 -0800	[thread overview]
Message-ID: <87y51m8ejp.fsf@building.gnus.org> (raw)
In-Reply-To: <9d2961a4-ff90-4a14-8582-c5934adc5558@default> (Drew Adams's message of "Fri, 7 Feb 2014 19:18:17 -0800 (PST)")

Drew Adams <drew.adams@oracle.com> writes:

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

I tried edebugging through the function.  It asked me first whether to
delete the files in question, and then it used the

	 (progress-reporter
	  (make-progress-reporter
	   (if trashing "Trashing..." "Deleting...")
	   succ count)))

to display "Deleting... [33%]".  But that was when it's actually
deleting something.

I can't see the progress reported being used before that, but I may be
misreading the code.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





  reply	other threads:[~2014-02-08  3:32 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
2014-02-08  3:32     ` Lars Ingebrigtsen [this message]
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=87y51m8ejp.fsf@building.gnus.org \
    --to=larsi@gnus.org \
    --cc=16331@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).