From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#43965: 27.1; An Introduction to Programming in Emacs Lisp Date: Mon, 12 Oct 2020 23:57:08 -0400 Message-ID: References: <480a1ebd-ad02-5695-5a27-340af48197f7.ref@yahoo.com> <480a1ebd-ad02-5695-5a27-340af48197f7@yahoo.com> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27957"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43965@debbugs.gnu.org To: Carlos Ysais Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 13 05:58:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kSBS0-0007Ao-Cd for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 13 Oct 2020 05:58:12 +0200 Original-Received: from localhost ([::1]:49416 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kSBRz-00072S-4C for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Oct 2020 23:58:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33508) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSBRr-000728-V1 for bug-gnu-emacs@gnu.org; Mon, 12 Oct 2020 23:58:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33267) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kSBRq-00064L-B0 for bug-gnu-emacs@gnu.org; Mon, 12 Oct 2020 23:58:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kSBRq-00086b-Av for bug-gnu-emacs@gnu.org; Mon, 12 Oct 2020 23:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Oct 2020 03:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43965 X-GNU-PR-Package: emacs Original-Received: via spool by 43965-submit@debbugs.gnu.org id=B43965.160256144731110 (code B ref 43965); Tue, 13 Oct 2020 03:58:02 +0000 Original-Received: (at 43965) by debbugs.gnu.org; 13 Oct 2020 03:57:27 +0000 Original-Received: from localhost ([127.0.0.1]:44813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSBRH-00085i-F0 for submit@debbugs.gnu.org; Mon, 12 Oct 2020 23:57:27 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSBRF-00085R-Ji for 43965@debbugs.gnu.org; Mon, 12 Oct 2020 23:57:26 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56244) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kSBRA-0005nB-3A; Mon, 12 Oct 2020 23:57:20 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1kSBQy-0006Yo-8k; Mon, 12 Oct 2020 23:57:08 -0400 In-Reply-To: <480a1ebd-ad02-5695-5a27-340af48197f7@yahoo.com> (bug-gnu-emacs@gnu.org) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:190391 Archived-At: [[[ 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)