From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24407: 24.5; doc of `format' Date: Fri, 16 Sep 2016 12:58:18 +0300 Message-ID: <8360pw5fph.fsf@gnu.org> References: <040652ef-95dd-4a06-8233-85353227b48b@default> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1474019972 13974 195.159.176.226 (16 Sep 2016 09:59:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 16 Sep 2016 09:59:32 +0000 (UTC) Cc: 24407-done@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 16 11:59:29 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkpvP-0001iA-3r for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Sep 2016 11:59:15 +0200 Original-Received: from localhost ([::1]:39497 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkpvN-000341-EM for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Sep 2016 05:59:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkpvI-00032z-8C for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2016 05:59:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkpvC-00039m-9d for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2016 05:59:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35072) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkpvC-00039c-6D for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2016 05:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bkpvC-0005oC-0P for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2016 05:59:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Sep 2016 09:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 24407 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 24407@debbugs.gnu.org, eliz@gnu.org, drew.adams@oracle.com Original-Received: via spool by 24407-done@debbugs.gnu.org id=D24407.147401989922268 (code D ref 24407); Fri, 16 Sep 2016 09:59:01 +0000 Original-Received: (at 24407-done) by debbugs.gnu.org; 16 Sep 2016 09:58:19 +0000 Original-Received: from localhost ([127.0.0.1]:32781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkpuV-0005n6-Hv for submit@debbugs.gnu.org; Fri, 16 Sep 2016 05:58:19 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56993) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkpuU-0005mu-HY for 24407-done@debbugs.gnu.org; Fri, 16 Sep 2016 05:58:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkpuK-0002sb-Km for 24407-done@debbugs.gnu.org; Fri, 16 Sep 2016 05:58:13 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53423) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkpuK-0002sF-Ha; Fri, 16 Sep 2016 05:58:08 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3884 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bkpuI-0002e1-Mj; Fri, 16 Sep 2016 05:58:07 -0400 In-reply-to: <040652ef-95dd-4a06-8233-85353227b48b@default> (message from Drew Adams on Sat, 10 Sep 2016 15:20:25 -0700 (PDT)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:123379 Archived-At: > Date: Sat, 10 Sep 2016 15:20:25 -0700 (PDT) > From: Drew Adams > > The Elisp manual doc for `format' (node Formatting Strings) looks OK. > But the doc string has this bug: > > where flags is [+ #-0]+, width is [0-9]+, and precision is .[0-9]+ > > must be a literal `.' here ^ Yes, using a period in a regexp-like expression is confusing, when we mean a literal period. > The precision part should be this (or equivalent): "[.][0-9]+", not > ".[0-9]+". But this is not the best solution. I opted for telling that precision is a literal period followed by [0-9]+ instead. Thanks, fixed on master.