From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#8785: 24.0.50; progress-reporter shows percentage with no space Date: Thu, 02 Jun 2011 11:34:47 -0300 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1307025344 16707 80.91.229.12 (2 Jun 2011 14:35:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Jun 2011 14:35:44 +0000 (UTC) Cc: 8785-done@debbugs.gnu.org To: Katsumi Yamaoka Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 02 16:35:40 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QS8zr-0006Dx-UI for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Jun 2011 16:35:40 +0200 Original-Received: from localhost ([::1]:44691 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QS8zq-0004gD-UP for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Jun 2011 10:35:39 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QS8zM-0004cA-Lb for bug-gnu-emacs@gnu.org; Thu, 02 Jun 2011 10:35:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QS8zH-0006KT-54 for bug-gnu-emacs@gnu.org; Thu, 02 Jun 2011 10:35:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37094) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QS8zG-0006Ja-HH for bug-gnu-emacs@gnu.org; Thu, 02 Jun 2011 10:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QS8zF-0007Fg-Q5 for bug-gnu-emacs@gnu.org; Thu, 02 Jun 2011 10:35:01 -0400 Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Jun 2011 14:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 8785 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 8785@debbugs.gnu.org, monnier@iro.umontreal.ca Original-Received: via spool by 8785-done@debbugs.gnu.org id=D8785.130702530027864 (code D ref 8785); Thu, 02 Jun 2011 14:35:01 +0000 Original-Received: (at 8785-done) by debbugs.gnu.org; 2 Jun 2011 14:35:00 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QS8zD-0007FN-CC for submit@debbugs.gnu.org; Thu, 02 Jun 2011 10:34:59 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QS8zB-0007FC-G8 for 8785-done@debbugs.gnu.org; Thu, 02 Jun 2011 10:34:58 -0400 Original-Received: from 213-159-126-200.fibertel.com.ar ([200.126.159.213]:37667 helo=ceviche.home) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1QS8z5-0002qj-7s; Thu, 02 Jun 2011 10:34:51 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 4E38E660DD; Thu, 2 Jun 2011 11:34:47 -0300 (ART) In-Reply-To: (Stefan Monnier's message of "Thu, 02 Jun 2011 09:38:15 -0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 02 Jun 2011 10:35:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:46893 Archived-At: >> 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