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

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

bug#39290: closed ([PATCH] Correct regexp for flags in 'format' doc stri


From: GNU bug Tracking System
Subject: bug#39290: closed ([PATCH] Correct regexp for flags in 'format' doc string)
Date: Sun, 26 Jan 2020 18:09:01 +0000

Your message dated Sun, 26 Jan 2020 10:08:17 -0800
with message-id <address@hidden>
and subject line [PATCH] Correct regexp for flags in 'format' doc string
has caused the debbugs.gnu.org bug report #39290,
regarding [PATCH] Correct regexp for flags in 'format' doc string
to be marked as done.

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


-- 
39290: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=39290
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] Correct regexp for flags in 'format' doc string Date: Sun, 26 Jan 2020 15:21:02 +0100
The doc string for 'format' contains

  where field is [0-9]+ followed by a literal dollar "$", flags is
  [+ #-0]+, width is [0-9]+, and precision is a literal period "."
  followed by [0-9]+.

The spec for flags isn't a correct regexp; the hyphen should be last.  This 
matters, because people copy it into their code without thinking (observed in 
the wild).

Patch acceptable for emacs-27?

Attachment: 0001-Correct-regexp-for-flags-in-format-doc-string.patch
Description: Binary data


--- End Message ---
--- Begin Message --- Subject: [PATCH] Correct regexp for flags in 'format' doc string Date: Sun, 26 Jan 2020 10:08:17 -0800 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 Thanks, I installed that in your name into the emacs-27 branch. I think doc fixes like that are still good for the emacs-27 branch.


--- End Message ---

reply via email to

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