]> Savannah Git Hosting - gnulib.git/commitdiff
doc: Use "spaced en dash" style instead of "spaced em dash" style.
authorBruno Haible <bruno@clisp.org>
Mon, 19 Jun 2023 17:00:58 +0000 (19:00 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 19 Jun 2023 17:00:58 +0000 (19:00 +0200)
Suggested by Paul Eggert.

* doc/gnulib.texi: At sentence level, use "spaced en dash" style instead
of "spaced em dash" style.
* doc/gnulib-intro.texi: Likewise.
* doc/multithread.texi: Likewise.
* doc/strings.texi: Likewise.

ChangeLog
doc/gnulib-intro.texi
doc/gnulib.texi
doc/multithread.texi
doc/strings.texi

index 8fca57708ad1961e5782a8a1432fe55f8b4392d2..243a1c859ff067261ccc9f9b0a92d26e4a51c32e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2023-06-19  Bruno Haible  <bruno@clisp.org>
+
+       doc: Use "spaced en dash" style instead of "spaced em dash" style.
+       Suggested by Paul Eggert.
+       * doc/gnulib.texi: At sentence level, use "spaced en dash" style instead
+       of "spaced em dash" style.
+       * doc/gnulib-intro.texi: Likewise.
+       * doc/multithread.texi: Likewise.
+       * doc/strings.texi: Likewise.
+
 2023-06-19  Bruno Haible  <bruno@clisp.org>
 
        setenv: Simplify m4 requires.
index c9478d3792e531c4eee8d197fb583069b9b97665..7d7168325c1d1feb858e169b9a24711bcd3ce25b 100644 (file)
@@ -486,7 +486,7 @@ The source files, more precisely the files in @file{lib/} and
 license.  Most often, they are under the same license.  But files can be
 shared among several modules, and in these cases it can happen that a
 source file is under a weaker license than noted in the module
-description --- namely under the weakest license among the licenses of
+description -- namely under the weakest license among the licenses of
 the modules that contain the file.
 
 Different licenses apply to files in special directories:
index 4b47749fe6a7adf1f16e5e99af5134e900402e6d..f36a0cf720026bc9176d5cd6eb096a5d5404c229 100644 (file)
@@ -632,7 +632,7 @@ When a module description contains an @code{AC_LIBOBJ([foo])}
 invocation, you @strong{must} list the source file @code{lib/foo.c}
 in the @code{Files} section.  This is needed even if the module
 depends on another module that already lists @code{lib/foo.c} in its
-@code{Files} section --- because your module might be used among
+@code{Files} section -- because your module might be used among
 the test modules (in the directory specified through @samp{--tests-base})
 and the other module among the main modules (in the directory specified
 through @samp{--source-base}), and in this situation, the
@@ -7214,7 +7214,7 @@ the source directory of a package, preparing for the state where
 
 @code{autopull.sh} is a program for fetching dependencies that may
 require network accesses.  It manages the Git submodules, including
-Gnulib --- assuming that Gnulib is a Git submodule. It also can fetch
+Gnulib -- assuming that Gnulib is a Git submodule. It also can fetch
 the PO files for internationalized packages.
 
 @code{autogen.sh} is a program that is meant to be run after
index eef724d2aef4c43503091c4bc0d6424afb5728a0..87485e8580bc444932273c2c519795c705f2c3fb 100644 (file)
@@ -222,7 +222,7 @@ a better choice.
 @section Optimizations of multithreaded code
 
 Despite all the optimizations of multithreading primitives that have been
-implemented over the years --- from
+implemented over the years -- from
 @url{https://en.wikipedia.org/wiki/Compare-and-swap,
 atomic operations in hardware},
 over @url{https://en.wikipedia.org/wiki/Futex, futexes} and
@@ -232,7 +232,7 @@ in the Linux kernel, to lock elision
 @url{https://lwn.net/Articles/534758/, [1]}
 @url{https://www.gnu.org/software/libc/manual/html_node/Elision-Tunables.html,
 [2]})
---- single-threaded programs can still profit performance-wise from the
+-- single-threaded programs can still profit performance-wise from the
 assertion that they are single-threaded.
 
 Gnulib defines four facilities that help optimizing for the single-threaded
index aa0830f1a5d10cdc1248aaa4ca0e5cb8074a2aba..131221f58361d1abbfe4aa8d56a7afd39076fc5c 100644 (file)
@@ -68,7 +68,7 @@ In POSIX, the character encoding is determined by the locale.  The
 locale is some environmental attribute that the user can choose.
 
 Depending on the encoding, in general, every character is represented by
-one or more bytes (up to 4 bytes in practice --- but
+one or more bytes (up to 4 bytes in practice -- but
 use @code{MB_LEN_MAX} instead of the number 4 in the code).
 @cindex unibyte locale
 @cindex multibyte locale
@@ -596,7 +596,7 @@ of processing.
 @subsection The @code{char} type
 
 The @code{char} type is in the C language since the beginning in the
-1970ies, but --- due to its limitation of 256 possible values --- is no
+1970ies, but -- due to its limitation of 256 possible values -- is no
 longer the adequate type for storing a character.
 
 Technically, it is still adequate in unibyte locales.  But since most
@@ -641,7 +641,7 @@ On Windows platforms and on AIX in 32-bit mode, @code{wchar_t} is a
 16-bit type.  This means that it can never accommodate an entire Unicode
 character.  Either the @code{wchar_t *} strings are limited to
 characters in UCS-2 (the ``Basic Multilingual Plane'' of Unicode), or
---- if @code{wchar_t *} strings are encoded in UTF-16 --- a
+-- if @code{wchar_t *} strings are encoded in UTF-16 -- a
 @code{wchar_t} represents only half of a character in the worst case,
 making the @posixheader{wctype.h} functions pointless.
 
@@ -649,8 +649,8 @@ making the @posixheader{wctype.h} functions pointless.
 On Solaris and FreeBSD, the @code{wchar_t} encoding is locale dependent
 and undocumented.  This means, if you want to know any property of a
 @code{wchar_t} character, other than the properties defined by
-@posixheader{wctype.h} --- such as whether it's a dash, currency symbol,
-paragraph separator, or similar ---, you have to convert it to
+@posixheader{wctype.h} -- such as whether it's a dash, currency symbol,
+paragraph separator, or similar --, you have to convert it to
 @code{char *} encoding first, by use of the function @posixfunc{wctomb}.
 
 @item