GNU bug report logs -
#23088
25.1.50; progress-reporter with 2 text messages
Previous Next
Reported by: Tino Calancha <f92capac <at> gmail.com>
Date: Tue, 22 Mar 2016 10:57:01 UTC
Severity: wishlist
Tags: patch
Found in version 25.1.50
Done: Noam Postavsky <npostavs <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 23088 in the body.
You can then email your comments to 23088 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#23088
; Package
emacs
.
(Tue, 22 Mar 2016 10:57:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Tino Calancha <f92capac <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Tue, 22 Mar 2016 10:57:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Adding a second optional message in progress-reporter
provides more control in the output format.
When both, NEW-MESSAGE and NEW-MESAGE2
are provided to `progress-reporter-force-update', the
structure of the output string would be as follows:
1) MESSAGE: it may be the operation under course.
2) As before, the status index (i.e., 30%).
3) MESSAGE2: it may be, i.e., the current file being processed.
In following example, the status index changes the position with
every message, which is distracting.
emacs -Q:
(let* ((games '("Mega Man"
"Street Fighter II: The World Warrior"
"Double Dragon"
"Very long game with lot of stages: requires many months to complete"
"The Legend Of Zelda"
"Pac-Man"))
(num-games (length games))
(text "Checking game...")
(prep (make-progress-reporter text 0 num-games)))
(dotimes (i num-games)
(progress-reporter-force-update prep i
(format "Checking game... (%s) " (nth i games)))
(sit-for (or (and (= i 3) 5) 1)))
(message "Games check completed!"))
; A second optional string allows to present the information as described in 1-2-3 above:
(progress-reporter-force-update prep i text
(format "(%s)" (nth i games)))
; This would display the index string in the same position for each update.
In GNU Emacs 25.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.29)
of 2016-03-10 built on calancha-pc
Repository revision: 780a605e1d2de4b975e6f1f29b491c9af419dcff
[subr.patch (text/plain, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#23088
; Package
emacs
.
(Sun, 26 Mar 2017 01:10:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 23088 <at> debbugs.gnu.org (full text, mbox):
Tino Calancha <f92capac <at> gmail.com> writes:
> Adding a second optional message in progress-reporter
> provides more control in the output format.
> When both, NEW-MESSAGE and NEW-MESAGE2
> are provided to `progress-reporter-force-update',
To make this useful, we should be able to pass NEW-MESSAGE2 to
`progress-reporter-update', so that the progress reporting machinery can
decide not to update the display if messages are coming in too fast.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#23088
; Package
emacs
.
(Tue, 04 Jun 2019 01:17:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 23088 <at> debbugs.gnu.org (full text, mbox):
close 23088
quit
npostavs <at> users.sourceforge.net writes:
> Tino Calancha <f92capac <at> gmail.com> writes:
>
>> Adding a second optional message in progress-reporter
>> provides more control in the output format.
>> When both, NEW-MESSAGE and NEW-MESAGE2
>> are provided to `progress-reporter-force-update',
>
> To make this useful, we should be able to pass NEW-MESSAGE2 to
> `progress-reporter-update', so that the progress reporting machinery can
> decide not to update the display if messages are coming in too fast.
I've implemented this now for Bug#35909, so I'm closing this bug.
bug closed, send any further explanations to
23088 <at> debbugs.gnu.org and Tino Calancha <f92capac <at> gmail.com>
Request was from
Noam Postavsky <npostavs <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Tue, 04 Jun 2019 01:17:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 02 Jul 2019 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 350 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.