From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jeremy Bryant via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#71865: [PATCH] New user option `fill-sentence-end-double-space` Date: Sat, 06 Jul 2024 22:46:07 +0100 Message-ID: <87le2e9otc.fsf@jeremybryant.net> References: <87v81obyp9.fsf@jeremybryant.net> Reply-To: Jeremy Bryant Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14460"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71865@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 06 23:47:32 2024 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 1sQDFj-0003V8-F9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 Jul 2024 23:47:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQDFE-0007nS-3K; Sat, 06 Jul 2024 17:47:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sQDFC-0007mz-8M for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2024 17:46:58 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sQDFB-0005qJ-WD for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2024 17:46:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sQDFF-0005SX-Px for bug-gnu-emacs@gnu.org; Sat, 06 Jul 2024 17:47:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jeremy Bryant Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Jul 2024 21:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71865 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 71865-submit@debbugs.gnu.org id=B71865.172030238320917 (code B ref 71865); Sat, 06 Jul 2024 21:47:01 +0000 Original-Received: (at 71865) by debbugs.gnu.org; 6 Jul 2024 21:46:23 +0000 Original-Received: from localhost ([127.0.0.1]:46908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQDEd-0005RJ-Cn for submit@debbugs.gnu.org; Sat, 06 Jul 2024 17:46:23 -0400 Original-Received: from out-179.mta0.migadu.com ([91.218.175.179]:59595) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sQDEb-0005R5-0E for 71865@debbugs.gnu.org; Sat, 06 Jul 2024 17:46:22 -0400 X-Envelope-To: 71865@debbugs.gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jeremybryant.net; s=key1; t=1720302370; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=z+KBQIyQt+ghv1BJT7B1TKGHudylmPw1N7rZ2yOFKSE=; b=r5oSG8QLSDhxozr1/OTl01Hg1OzjrRyoCUpA021g4xFPwlRIlvlqlY8OWFvXA6biGWxVYw SDP6moSj2mYnzHPjq1/f+aS0p3z/vwQfRNS1+dEsIL1PUJepyxEs0zy2EUOLJ/EPRwsnHB PI4jrBaQ6Zefw4W5pZuwVWkQFvu+El9tGvckVnxLj5Nym8LIH91denre44dSkIk0m8Sul8 HHchS8ClzwVJCyv1B9QG8jBqx5bwifAZReNZ9K3C3WoFnibq3OlBXlVh8WosHHIvHveBhS 9xTD2YRJgdwZTzs6TTimTo5m90OaThen26OEFl8Updax1zNWTB09uC3iZ87Xrw== X-Envelope-To: stefankangas@gmail.com X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. In-Reply-To: (Stefan Kangas's message of "Mon, 1 Jul 2024 16:02:28 -0700") X-Migadu-Flow: FLOW_OUT 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:288525 Archived-At: Stefan Kangas writes: > Jeremy Bryant writes: > >> I tried this example but would be interested in a clearer statement of >> the problem. Does M-a, M-e not work as intended? > > Thanks, and yes indeed, the `M-a' and `M-e' doesn't work as I'd hope if > you evaluate this in emacs -Q: > > (progn (insert "Foo. Bar. Baz.") > (goto-char (pos-bol)) > (forward-sentence)) > > Point is now at the third period, after "Baz". > > I think that there are some users [this one included] that will want to > set > > (setq sentence-end-double-space nil) > > to make point end up at the second period instead, after "Bar", yet they > do _not_ want this paragraph to be refilled to use only one space > between sentences: > > Foo. Bar. Baz. > > In other words, the problem is that `sentence-end-double-space' controls > both filling and sentence commands. This rectifies that by introducing > a new variable that allows controlling the filling commands separately. > > Does that make the problem more clear? Thanks, I understand your point of view. However it seems consistent to me that a user who wishes to terminate sentences with one space, would generally want to reflow to adhere to the one space convention. The same would apply if working on documents that happen to adhere to that convention. However as this new option doesn't seem to break anything and introduce flexibility, it could be a good idea. I'll let others comment.