From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 24407-done@debbugs.gnu.org
Subject: bug#24407: 24.5; doc of `format'
Date: Fri, 16 Sep 2016 12:58:18 +0300 [thread overview]
Message-ID: <8360pw5fph.fsf@gnu.org> (raw)
In-Reply-To: <040652ef-95dd-4a06-8233-85353227b48b@default> (message from Drew Adams on Sat, 10 Sep 2016 15:20:25 -0700 (PDT))
> Date: Sat, 10 Sep 2016 15:20:25 -0700 (PDT)
> From: Drew Adams <drew.adams@oracle.com>
>
> 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.
prev parent reply other threads:[~2016-09-16 9:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-10 22:20 bug#24407: 24.5; doc of `format' Drew Adams
2016-09-16 9:58 ` Eli Zaretskii [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8360pw5fph.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=24407-done@debbugs.gnu.org \
--cc=drew.adams@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.