unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: line adjustment at the end of a sentence
Date: Wed, 26 Sep 2012 20:34:02 -0400	[thread overview]
Message-ID: <jwvy5jw1fs0.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: mailman.9789.1348681498.855.help-gnu-emacs@gnu.org

> Differentiating between end-of-sentence full stop and in-sentence
> period by the number of spaces is an artifact of pre-Unicode
> typography.  When the only available space was the ASCII 0x20, it made
> sense.  Now it doesn’t, as we have the U+0020 SPACE, the U+00A0
> NON-BREAKING SPACE, and the U+2009/U+200A THIN SPACE and HAIR SPACE,
> respectively, as well as other fixed-width spaces.

While Unicode provides the necessary different elements to eliminate the
need to use conventions such as double-spaces to end sentences, I don't
think Unicode has penetrated enough in everyday use yet to make such
conventions completely useless.

E.g. for many people it's much easier to type SPC sometimes and SPC SPC
other times than to try and figure out how to type NBSP.
Also there's no good convention for how to distinguish on screen a SPC
from a NBSP.  Emacs highlights the NBSP specially (because accidental
use of NBSP in program code leads to trouble) but that's not ideal when
reading text that uses NBSP between Dr. and Watson or between « and the
quoted text.

So the Unicode characters offer a way to represent/store the needed
information, but I don't think we have yet a sufficiently good way for
the user to enter this information, nor do we have a sufficiently good
way for Emacs to display this information.

> One place where two spaces are double plus annoying is when people try
> to apply this rule to the Web.

While the "double space convention" might be at the origin of those
problems, I don't think it's unfair to say that it's a case where the
"double space convention" is annoying, because this convention applies
to plain text only.
We can apply the convention to HTML source code (it will only help us
navigate the text but won't affect the display), but we can't directly
apply it to its rendering because we don't type its rendering.


        Stefan


  parent reply	other threads:[~2012-09-27  0:34 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-26 10:56 line adjustment at the end of a sentence T.F. Torrey
2012-09-26 12:00 ` Tom Kramer
2012-09-26 17:12   ` Ludwig, Mark
2012-09-26 17:44     ` Yuri Khan
2012-09-26 19:23       ` Eli Zaretskii
2012-09-26 17:50     ` Drew Adams
     [not found]     ` <mailman.9789.1348681498.855.help-gnu-emacs@gnu.org>
2012-09-27  0:34       ` Stefan Monnier [this message]
2012-09-27  5:26         ` Drew Adams
2012-09-27 12:19           ` Stefan Monnier
2012-09-27 14:57             ` Drew Adams
2012-09-27 16:37               ` Stefan Monnier
2012-09-27 17:00                 ` Drew Adams
     [not found]                 ` <mailman.9862.1348765244.855.help-gnu-emacs@gnu.org>
2012-09-27 18:04                   ` Stefan Monnier
     [not found] ` <mailman.9790.1348681903.855.help-gnu-emacs@gnu.org>
2012-09-26 20:35   ` Barry Margolin
2012-09-27  3:21     ` Eric Abrahamsen
2012-09-29 14:09       ` Sivaram Neelakantan
     [not found]       ` <mailman.9978.1348927764.855.help-gnu-emacs@gnu.org>
2012-09-29 17:13         ` Stefan Monnier
2012-10-14  1:21           ` David Combs
2012-10-14 15:58             ` Joe Fineman
2012-10-14 18:13               ` PJ Weisberg
     [not found]               ` <mailman.10975.1350238417.855.help-gnu-emacs@gnu.org>
2012-11-25  1:05                 ` David Combs
2012-12-02  3:03                   ` J. David Boyd
2012-10-19 22:03             ` Stefan Monnier
     [not found] <mailman.9731.1348608357.855.help-gnu-emacs@gnu.org>
2012-09-25 21:41 ` Pascal J. Bourguignon
  -- strict thread matches above, loose matches on Subject: below --
2012-09-25 21:25 Tom Kramer
2012-09-25 21:50 ` Eli Zaretskii
2012-09-25 23:28 ` Peter Dyballa
2012-09-25 12:54 Tom Kramer
2012-09-25 16:29 ` Eli Zaretskii
2012-09-25 18:40 ` Óscar Fuentes
2012-09-25 21:18 ` Pascal J. Bourguignon
2012-09-25 21:53   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvy5jw1fs0.fsf-monnier+gnu.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).