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/ _______________________________________________ bug-groff mailing list bug-groff@gnu.org https://lists.gnu.org/mailman/listinfo/bug-groff