From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.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: Sat, 30 Apr 2016 14:21:44 +0300 Message-ID: <838tzvpcjb.fsf@gnu.org> References: <87y4jchwog.fsf@mbork.pl> <87wpywhwa8.fsf@mbork.pl> <87shyku4jt.fsf@mbork.pl> <8337qkb7v7.fsf@gnu.org> <87k2jwtfkj.fsf@mbork.pl> <83r3e49o4g.fsf@gnu.org> <87vb33h6ux.fsf@mbork.pl> <83a8kfzff7.fsf@gnu.org> <87shy4vc9x.fsf@mbork.pl> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1462015419 31233 80.91.229.3 (30 Apr 2016 11:23:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Apr 2016 11:23:39 +0000 (UTC) Cc: 20871@debbugs.gnu.org To: Marcin Borkowski Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 30 13:23:31 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1awSzi-0005Nu-7V for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Apr 2016 13:23:30 +0200 Original-Received: from localhost ([::1]:58163 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awSze-0005Ii-D7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Apr 2016 07:23:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44498) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awSzV-00055W-Ca for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2016 07:23:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1awSzJ-0005Oq-L0 for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2016 07:23:11 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44076) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awSzJ-0005O7-Hk for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2016 07:23:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1awSzG-0000ZS-6X for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2016 07:23: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: Sat, 30 Apr 2016 11:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20871 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20871-submit@debbugs.gnu.org id=B20871.14620153282120 (code B ref 20871); Sat, 30 Apr 2016 11:23:02 +0000 Original-Received: (at 20871) by debbugs.gnu.org; 30 Apr 2016 11:22:08 +0000 Original-Received: from localhost ([127.0.0.1]:56413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awSyO-0000Y8-Il for submit@debbugs.gnu.org; Sat, 30 Apr 2016 07:22:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awSyN-0000Xh-4k for 20871@debbugs.gnu.org; Sat, 30 Apr 2016 07:22:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1awSy8-00055U-M6 for 20871@debbugs.gnu.org; Sat, 30 Apr 2016 07:21:59 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54917) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awSy8-00054i-Jc; Sat, 30 Apr 2016 07:21:52 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1458 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1awSy2-0007jw-JG; Sat, 30 Apr 2016 07:21:47 -0400 In-reply-to: <87shy4vc9x.fsf@mbork.pl> (message from Marcin Borkowski on Fri, 29 Apr 2016 14:18:34 +0200) 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: 208.118.235.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:117314 Archived-At: > From: Marcin Borkowski > Cc: 20871@debbugs.gnu.org > Date: Fri, 29 Apr 2016 14:18:34 +0200 > > >> + (looking-at "[^[:alpha:]][[:alpha:]]"))) > > > > You should be aware that starting with Emacs 25.1 [:alpha:] matches a > > very large class of characters, some of them having nothing in common > > with those used in Polish. So perhaps it is better to use '\cl' > > instead, which will only capture Latin characters? Just a thought -- > > your call. > > I guess you are right, Eli - in fact, all one-letter words in Polish are > matched by [aiouwz]. I decided to go with \cl, as you suggested, > though - this way, the function could be (probably) useful also for > Slovaks, for instance. I attach the corrected patch. LGTM, thanks. > Just to be sure: in my Emacs, \cl matches also ą, ę, ż, ź, á, ö etc. Is > it intentional? Yes. \cl matches any character that belongs to any of the Latin blocks. > Is it documented somewhere? Not sure what needs to be documented, please elaborate.