bug-groff
[Top][All Lists]
Advanced

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

[bug #52374] src: Migrate diagnostic messages away from `quotes like thi


From: G. Branden Robinson
Subject: [bug #52374] src: Migrate diagnostic messages away from `quotes like this'
Date: Thu, 9 Nov 2017 07:01:27 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

URL:
  <http://savannah.gnu.org/bugs/?52374>

                 Summary: src: Migrate diagnostic messages away from `quotes
like this'
                 Project: GNU troff
            Submitted by: gbranden
            Submitted on: Thu 09 Nov 2017 12:01:26 PM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: Wishlist
                  Status: In Progress
                 Privacy: Public
             Assigned to: gbranden
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

Recently (and at long last) GNU tools have begun migrating away from using
grave accents and apostrophes as if they were mirror-symmetrical quotation
marks.

For example, GNU diff has stayed within ASCII and simple uses "straight"
single quotes (apostrophes) to mark literals within diagnostics:


diff: missing operand after 'nonexistent'
diff: Try 'diff --help' for more information.


GCC has gone even further and uses actual Unicode quotation marks.


src/devices/grolbp/lbp.cpp: In member function ‘void
lbp_printer::setfillmode(int)’:
src/devices/grolbp/lbp.cpp:390:5: warning: this ‘else’ clause does not
guard... [-Wmisleading-indentation]
     else
     ^~~~
src/devices/grolbp/lbp.cpp:393:7: note: ...this statement, but the latter is
misleadingly indented as if it is guarded by the ‘else’
       fill_mode = mode;
       ^~~~~~~~~


As groff does not appear to be internationalized, and local detection and
message catalogs would be necessary to quote in the GCC style, I propose to
follow GNU diff's example.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52374>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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