From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: (format "%+02d" -1) does not return "-01" ! Date: Tue, 10 Nov 2009 11:49:07 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1257850267 12240 80.91.229.12 (10 Nov 2009 10:51:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Nov 2009 10:51:07 +0000 (UTC) Cc: emacs-devel To: Vincent =?utf-8?Q?Bela=C3=AFche?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 10 11:51:00 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N7oJQ-0007Q1-3k for ged-emacs-devel@m.gmane.org; Tue, 10 Nov 2009 11:51:00 +0100 Original-Received: from localhost ([127.0.0.1]:34243 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7oJO-0004mh-Lw for ged-emacs-devel@m.gmane.org; Tue, 10 Nov 2009 05:50:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N7oHv-0004Pe-VM for emacs-devel@gnu.org; Tue, 10 Nov 2009 05:49:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N7oHq-0004NW-Rl for emacs-devel@gnu.org; Tue, 10 Nov 2009 05:49:26 -0500 Original-Received: from [199.232.76.173] (port=35425 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7oHq-0004NB-5h for emacs-devel@gnu.org; Tue, 10 Nov 2009 05:49:22 -0500 Original-Received: from mx1.redhat.com ([209.132.183.28]:53070) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N7oHp-00037N-MO for emacs-devel@gnu.org; Tue, 10 Nov 2009 05:49:21 -0500 Original-Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nAAAn93k031948 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 10 Nov 2009 05:49:09 -0500 Original-Received: from hase.home (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nAAAn7lx013051; Tue, 10 Nov 2009 05:49:08 -0500 X-Yow: FIRST, I was in a TRUCK...THEN, I was in a DINER... In-Reply-To: ("Vincent =?utf-8?Q?Bela=C3=AFche=22's?= message of "Tue, 10 Nov 2009 02:46:34 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-Scanned-By: MIMEDefang 2.67 on 10.5.11.17 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:116794 Archived-At: Vincent Bela=C3=AFche writes: > Is that a bug ? > > The docstring of format says that flag `+' is precedent over flag ` ', bu= t it does not say that it cancels the effect of `0' filler, nor that of wid= th specification. The width includes the sign, so there is nothing to fill. Andreas. --=20 Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."