From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Phil Sainty Newsgroups: gmane.emacs.devel Subject: Re: Lack of tooling slowing down contributions Date: Mon, 17 Jun 2019 11:06:39 +1200 Message-ID: <292af6adcd90b805f8eb1c0241170221@webmail.orcon.net.nz> References: <87ftocy5uv.fsf@cassou.me> <87a7ehea7w.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="66590"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Orcon Webmail Cc: Damien Cassou , Noam Postavsky , Emacs developers To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 17 01:15:16 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hceMl-000H9E-9w for ged-emacs-devel@m.gmane.org; Mon, 17 Jun 2019 01:15:15 +0200 Original-Received: from localhost ([::1]:43306 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hceMk-0003M3-AD for ged-emacs-devel@m.gmane.org; Sun, 16 Jun 2019 19:15:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57852) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hceMJ-0003JZ-Tr for emacs-devel@gnu.org; Sun, 16 Jun 2019 19:14:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hceEd-0003KH-Mx for emacs-devel@gnu.org; Sun, 16 Jun 2019 19:06:52 -0400 Original-Received: from smtp-3.orcon.net.nz ([60.234.4.44]:38161) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hceEd-0003Hk-CM for emacs-devel@gnu.org; Sun, 16 Jun 2019 19:06:51 -0400 Original-Received: from [10.253.37.70] (port=51178 helo=webmail.orcon.net.nz) by smtp-3.orcon.net.nz with esmtpa (Exim 4.86_2) (envelope-from ) id 1hceER-0005Yz-Lv; Mon, 17 Jun 2019 11:06:39 +1200 Original-Received: from wlgwil-nat-office.catalyst.net.nz ([202.78.240.7]) via [10.253.37.253] by webmail.orcon.net.nz with HTTP (HTTP/1.1 POST); Mon, 17 Jun 2019 11:06:39 +1200 In-Reply-To: <87a7ehea7w.fsf@mail.linkov.net> X-Sender: psainty@orcon.net.nz X-GeoIP: -- X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 60.234.4.44 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:237758 Archived-At: On 2019-06-17 07:20, Juri Linkov wrote: >>> It would also be nice that tooling within Emacs helps contributors >>> get >>> their contributions right. For example, I would expect M-q to add the >>> double-spacing at the end of sentences. >> >> If you have set sentence-end-double-space to t, then text like >> >> foo bar. >> etc etc. >> >> Will be refilled by M-q with double spaces. But if you write >> >> foo bar. etc etc. >> >> I.e, using single spacing, then M-q won't change that, because Emacs >> doesn't recognize that as being two separate sentences. > > This feature is sorely missed: every time I copy text from web browsers > to Emacs I have to manually insert additional space at the end of every > copied sentence before typing M-q. You can't do this automatically, can you? One of the reasons that the double-spaced sentence convention is useful in the first place is that it unambiguously differentiates sentence endings from other uses of that punctuation character which do *not* indicate the end of a sentence. E.g. for example, should not become "E.g. for example". P. G. Wodehouse should not end up as "P. G. Wodehouse". Prof. Moriarty should not end up as "Prof. Moriarty" When the same punctuation character is used for multiple things, I don't imagine there's any way for Emacs to do this accurately, short of natural- language parsing (which sounds like a giant can of worms) ? -Phil