emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-bug-tracker] bug#8785: closed (24.0.50; progress-reporter shows p


From: GNU bug Tracking System
Subject: [Emacs-bug-tracker] bug#8785: closed (24.0.50; progress-reporter shows percentage with no space)
Date: Thu, 02 Jun 2011 14:35:01 +0000

Your message dated Thu, 02 Jun 2011 11:34:47 -0300
with message-id <address@hidden>
and subject line Re: bug#8785: 24.0.50; progress-reporter shows percentage with 
no space
has caused the GNU bug report #8785,
regarding 24.0.50; progress-reporter shows percentage with no space
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
8785: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8785
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.0.50; progress-reporter shows percentage with no space Date: Thu, 02 Jun 2011 19:36:48 +0900 User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (cygwin)
When I send a big mail using smtpmail, I get:

Sending email
Sending email12%
Sending email85%
Sending email87%
Sending email90%
Sending email92%
Sending email95%
Sending email97%
Sending emaildone

SPC is needed between text and percentage, I think.  Is what
should be fixed `progress-reporter-do-update', or should every
program that uses `make-progress-reporter' add SPC to the first
argument?




--- End Message ---
--- Begin Message --- Subject: Re: bug#8785: 24.0.50; progress-reporter shows percentage with no space Date: Thu, 02 Jun 2011 11:34:47 -0300 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)
>> should be fixed `progress-reporter-do-update', or should every
>> program that uses `make-progress-reporter' add SPC to the first
>> argument?

> I'd tend to say "better fix it in make-progress-reporter", but it might
> be too late to change it.

I felt optimistic, so I'm going to install the patch below (as soon as
bzr.sv.gnu.org comes back to life),


        Stefan


=== modified file 'lisp/subr.el'
--- lisp/subr.el        2011-06-01 14:19:45 +0000
+++ lisp/subr.el        2011-06-02 14:31:56 +0000
@@ -3702,6 +3702,8 @@
 `float-time' is not present, time is not tracked at all.  If the
 OS is not capable of measuring fractions of seconds, this
 parameter is effectively rounded up."
+  (when (string-match "[[:alnum:]]\\'" message)
+    (setq message (concat message "...")))
   (unless min-time
     (setq min-time 0.2))
   (let ((reporter



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]