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 18:01:14 +0300 Message-ID: <83y2zpkxmt.fsf@gnu.org> References: <9A9C6F59-CB27-42D1-911E-F027B443B9BE@acm.org> <8336i1p8zd.fsf@gnu.org> <83mug8nut2.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="211319"; 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 17:05:28 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 1hzjDs-000sqo-1c for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Aug 2019 17:05:28 +0200 Original-Received: from localhost ([::1]:52516 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzjDq-0002oN-5c for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Aug 2019 11:05:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42377) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzjAa-0008Gi-5q for bug-gnu-emacs@gnu.org; Mon, 19 Aug 2019 11:02:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hzjAY-0007t6-Rg for bug-gnu-emacs@gnu.org; Mon, 19 Aug 2019 11:02:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51543) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hzjAY-0007sy-OH for bug-gnu-emacs@gnu.org; Mon, 19 Aug 2019 11:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hzjAY-00018y-Kn for bug-gnu-emacs@gnu.org; Mon, 19 Aug 2019 11:02:02 -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 15:02: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.15662268854255 (code B ref 20871); Mon, 19 Aug 2019 15:02:02 +0000 Original-Received: (at 20871) by debbugs.gnu.org; 19 Aug 2019 15:01:25 +0000 Original-Received: from localhost ([127.0.0.1]:60328 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hzj9w-00016Y-Lt for submit@debbugs.gnu.org; Mon, 19 Aug 2019 11:01:24 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57306) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hzj9t-00016H-Dm for 20871@debbugs.gnu.org; Mon, 19 Aug 2019 11:01:22 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54321) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hzj9m-000779-2D; Mon, 19 Aug 2019 11:01:14 -0400 Original-Received: from [176.228.60.248] (port=2680 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hzj9l-0005jc-B8; Mon, 19 Aug 2019 11:01:13 -0400 In-reply-to: (message from =?UTF-8?Q?Micha=C5=82?= Nazarewicz on Mon, 19 Aug 2019 15:07:56 +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:165382 Archived-At: > From: Michał Nazarewicz > Date: Mon, 19 Aug 2019 15:07:56 +0100 > Cc: Mattias Engdegård , mbork@mbork.pl, > 20871@debbugs.gnu.org > > > tildify.el explicitly says that its defaults are for a specific > > language, so I don't think it solves the problem that bothers me, as > > described above. This is why I originally suggested a separate > > function -- having that is equivalent to having an option which > > determines a behavior that depends on the language. > > To be honest, I don’t understand the issue. If having separate > functions is equivalent to having an option than users already have an > option: either add the function to ‘fill-nobreak-predicate’ or not. Yes, of course. I wrote the above in response to your suggestion to leave just one function. > As discussed previously, ‘fill-single-char-nobreak-p’ and > ‘fill-polish-nobreak-p’ and serve pretty much the same purpose. When > I wrote the former I had Polish typography in mind and obviously the > latter is meant to handle the same case. As such, having those two > functions don’t provide much option to the user. 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? > > > I'm also okay with extending tildify.el to support more than just > > Czech rules, but that's a separate issue. > > The differences between Czech and Polish can largely be ignored. I didn't mean Polish, I meant in general languages where the conventions are different. Surely, there are some, and tildify explicitly assumes that.