[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: character sets as they relate to “Raw” string literals for elisp
From: |
Stefan Kangas |
Subject: |
Re: character sets as they relate to “Raw” string literals for elisp |
Date: |
Thu, 7 Oct 2021 09:14:47 -0400 |
Eli Zaretskii <eliz@gnu.org> writes:
>> Normally Texinfo represents an em-dash in ASCII output with two
>> dashes, not just one. It would be `...from a core dump-–provided
>> that a core dump...'
This does not seem to happen in (info "(texinfo) Conventions"):
* Use three hyphens in a row, '---', to produce a long dash--like
this (called an "em dash"), used for punctuation in sentences.
They use two HYPHEN-MINUS characters to represents an em-dash. I also
quickly checked the gcc manual in the Debian stable package, and that
also has the correct em dashes.
> That has changed, since we nowadays by default use UTF-8 encoding in
> our Info manuals. With that, '---' produces the Unicode em-dash
> character, displayed as a wide dash, and '--' produces a Unicode
> en-dash character, displayed as somewhat more narrow dash (but still
> wider than the ASCII dash).
IMHO, this is a bug that we should look into, as the correct style used
in the texinfo manual is more readable. As Juri points out, it is not
well suited for a monospace font.
I guess texinfo would need some way to produce the previous style em
dashes, while still using utf-8? Or something?
Or perhaps we could add some code info.el to add a space on each side of
an em dash, but that seems like bit of a hack.
- Re: character sets as they relate to “Raw” string literals for elisp, (continued)
- Re: character sets as they relate to “Raw” string literals for elisp, Yuri Khan, 2021/10/05
- Re: character sets as they relate to “Raw” string literals for elisp, Juri Linkov, 2021/10/05
- Re: character sets as they relate to “Raw” string literals for elisp, Eli Zaretskii, 2021/10/05
- RE: [External] : Re: character sets as they relate to “Raw” string literals for elisp, Drew Adams, 2021/10/05
- Re: character sets as they relate to âRawâ string literals for elisp, Richard Stallman, 2021/10/06
- Re: character sets as they relate to “Raw” string literals for elisp, Eli Zaretskii, 2021/10/07
- Re: character sets as they relate to “Raw” string literals for elisp,
Stefan Kangas <=
- Re: character sets as they relate to “Raw” string literals for elisp, Eli Zaretskii, 2021/10/07
- Re: character sets as they relate to “Raw” string literals for elisp, Stefan Kangas, 2021/10/07
- Re: character sets as they relate to “Raw” string literals for elisp, Eli Zaretskii, 2021/10/07
- Re: character sets as they relate to “Raw” string literals for elisp, Stefan Kangas, 2021/10/07
- Re: character sets as they relate to “Raw” string literals for elisp, Eli Zaretskii, 2021/10/08
- Display of em dashes in our documentation, Stefan Kangas, 2021/10/08
- Re: Display of em dashes in our documentation, Eli Zaretskii, 2021/10/08
- Re: Display of em dashes in our documentation, Stefan Kangas, 2021/10/08
- Re: Display of em dashes in our documentation, Juri Linkov, 2021/10/10
- Re: Display of em dashes in our documentation, Daniel Brooks, 2021/10/08