From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20871: 25.0.50; fill-single-char-nobreak-p does not recognize a single-letter word when it is preceded by an open paren Date: Mon, 19 Aug 2019 19:16:22 +0300 Message-ID: <83r25hku5l.fsf@gnu.org> References: <9A9C6F59-CB27-42D1-911E-F027B443B9BE@acm.org> <8336i1p8zd.fsf@gnu.org> <83mug8nut2.fsf@gnu.org> <83y2zpkxmt.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="252419"; mail-complaints-to="usenet@blaine.gmane.org" Cc: mattiase@acm.org, mbork@mbork.pl, 20871@debbugs.gnu.org To: =?UTF-8?Q?Micha=C5=82?= Nazarewicz Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 19 18:17:17 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1hzkLN-0013VU-AS for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Aug 2019 18:17:17 +0200 Original-Received: from localhost ([::1]:54980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzkLM-0002V5-35 for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Aug 2019 12:17:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35103) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzkLB-0002UO-Cj for bug-gnu-emacs@gnu.org; Mon, 19 Aug 2019 12:17:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hzkL9-00061A-V5 for bug-gnu-emacs@gnu.org; Mon, 19 Aug 2019 12:17:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51639) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hzkL9-00060p-EY for bug-gnu-emacs@gnu.org; Mon, 19 Aug 2019 12:17:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hzkL8-00031a-Bk for bug-gnu-emacs@gnu.org; Mon, 19 Aug 2019 12:17:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Aug 2019 16:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20871 X-GNU-PR-Package: emacs Original-Received: via spool by 20871-submit@debbugs.gnu.org id=B20871.156623139211588 (code B ref 20871); Mon, 19 Aug 2019 16:17:02 +0000 Original-Received: (at 20871) by debbugs.gnu.org; 19 Aug 2019 16:16:32 +0000 Original-Received: from localhost ([127.0.0.1]:60460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hzkKd-00030p-Nv for submit@debbugs.gnu.org; Mon, 19 Aug 2019 12:16:31 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50907) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hzkKa-00030b-F1 for 20871@debbugs.gnu.org; Mon, 19 Aug 2019 12:16:29 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56170) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hzkKU-0005fW-UA; Mon, 19 Aug 2019 12:16:22 -0400 Original-Received: from [176.228.60.248] (port=3290 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hzkKT-0004me-EE; Mon, 19 Aug 2019 12:16:21 -0400 In-reply-to: (message from =?UTF-8?Q?Micha=C5=82?= Nazarewicz on Mon, 19 Aug 2019 16:36:15 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:165388 Archived-At: > From: Michał Nazarewicz > Date: Mon, 19 Aug 2019 16:36:15 +0100 > Cc: Mattias Engdegård , mbork@mbork.pl, > 20871@debbugs.gnu.org > > > If both functions attempt to produce the same behavior, then yes, we > > need only one. But then wouldn't we need a second one, to produce the > > behavior expected, say, in US English? > > The expected behaviour for US English is achieved by not using the > function at all. If that's true (and I'm not an expert to say it is), then all we need is a suitable change to the doc string of fill-nobreak-predicate, since currently it says nothing about what should be done for English. > In that case I could see a potential reason to have multiple > functions: > - ‘fill-polish-nobreak-p’ – don’t break after a, e, i, o, u, w or z; > - ‘fill-czech-nobreak-p’ – don’t break after a, i, k, o, s, u, v or z; > and > – ‘fill-single-char-nobreak-p’ – don’t break after any single letter > word. Don't forget fill-french-nobreak-p.