GNU bug report logs - #43965
27.1; An Introduction to Programming in Emacs Lisp

Previous Next

Package: emacs;

Reported by: Carlos Ysais <carlos.ysais <at> yahoo.com>

Date: Mon, 12 Oct 2020 16:50:02 UTC

Severity: minor

Found in version 27.1

Full log


Message #8 received at 43965 <at> debbugs.gnu.org (full text, mbox):

From: Richard Stallman <rms <at> gnu.org>
To: Carlos Ysais <carlos.ysais <at> yahoo.com>
Cc: 43965 <at> debbugs.gnu.org
Subject: Re: bug#43965: 27.1; An Introduction to Programming in Emacs Lisp
Date: Mon, 12 Oct 2020 23:57:08 -0400
[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > "According to convention, you type two spaces after every sentence".
  > Recently a percentage of people have been using one space instead of
  > two to end sentences. Because it is a matter of preference, it would be
  > nice if one space is included in the regexes shown in this section.

That change would make the sentence commands give incorrect results.
There is a reason the regexp is what it is.

1. If you write two spaces between sentences, it is possible for
Emacs to distinguish sentence ends from abbreviations.  That regexp
is designed to do that.

2. If you write just once spaces between sentences, it is IMpossible for
Emacs to distinguish sentence ends from abbreviations.  No matter what regexp
you use, it can't do this job entirely right.

For users who want to have the sentence commands distinguish abbeviations
properly, there is only one way to get that:
(a) put two spaces between sentences, and
(b) use the current regexp, which matches only two spaces.

Your change would break case 1, and case 2 would still be broken
because case 2 is impossible.

If you want to use case 2, go ahead, but we will not break case 1!

-- 
Dr Richard Stallman
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)






This bug report was last modified 3 years and 253 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.