From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Marcin Borkowski 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: Tue, 19 Dec 2017 12:44:21 +0100 Message-ID: <87r2rr7xii.fsf@mbork.pl> 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> <838tzvpcjb.fsf@gnu.org> <87vb2zth8r.fsf@mbork.pl> <837fffp8zt.fsf@gnu.org> <877fff3v7n.fsf@mbork.pl> <83mvobni94.fsf@gnu.org> <874maj3plo.fsf@mbork.pl> <83bn4qor96.fsf@gnu.org> <87zi6u7jm3.fsf@mbork.pl> <831sk4unix.fsf@gnu.org> <87vahf7vnx.fsf@mbork.pl> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1513683802 24527 195.159.176.226 (19 Dec 2017 11:43:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 19 Dec 2017 11:43:22 +0000 (UTC) User-Agent: mu4e 0.9.19; emacs 27.0.50 Cc: 20871@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 19 12:43:18 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRGIk-0005l4-F7 for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Dec 2017 12:43:14 +0100 Original-Received: from localhost ([::1]:39636 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRGKi-00062M-Lc for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Dec 2017 06:45:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34519) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRGKa-00061P-Uc for bug-gnu-emacs@gnu.org; Tue, 19 Dec 2017 06:45:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eRGKX-0001Ae-Cu for bug-gnu-emacs@gnu.org; Tue, 19 Dec 2017 06:45:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60857) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eRGKX-00018e-9X for bug-gnu-emacs@gnu.org; Tue, 19 Dec 2017 06:45:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eRGKT-0004ef-LP for bug-gnu-emacs@gnu.org; Tue, 19 Dec 2017 06:45:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Marcin Borkowski Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Dec 2017 11:45:01 +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.151368387517820 (code B ref 20871); Tue, 19 Dec 2017 11:45:01 +0000 Original-Received: (at 20871) by debbugs.gnu.org; 19 Dec 2017 11:44:35 +0000 Original-Received: from localhost ([127.0.0.1]:41305 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRGK2-0004dM-NM for submit@debbugs.gnu.org; Tue, 19 Dec 2017 06:44:34 -0500 Original-Received: from mail.mojserwer.eu ([195.110.48.8]:33429) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRGK0-0004dB-FN for 20871@debbugs.gnu.org; Tue, 19 Dec 2017 06:44:33 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id A4B31E6717; Tue, 19 Dec 2017 12:44:27 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BWVHSjMvLBzv; Tue, 19 Dec 2017 12:44:24 +0100 (CET) Original-Received: from localhost (unknown [62.3.163.158]) by mail.mojserwer.eu (Postfix) with ESMTPSA id B9B4CE6628; Tue, 19 Dec 2017 12:44:24 +0100 (CET) In-reply-to: <87vahf7vnx.fsf@mbork.pl> 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:141248 Archived-At: On 2017-12-09, at 16:45, Marcin Borkowski wrote: > On 2017-12-09, at 12:52, Eli Zaretskii wrote: > >>> From: Marcin Borkowski >>> Cc: 20871@debbugs.gnu.org >>> Date: Thu, 07 Dec 2017 14:28:20 +0100 >>> >>> OK, so let me revive this old thread. I decided to spend some (not too >>> much...) time on Emacs bugs again. First things first: I think I fixed >>> this one. (This is a bit embarassing: I did it many months ago, pushed >>> a branch and forgot to mention it here.) Here it is: >>> http://git.savannah.gnu.org/cgit/emacs.git/log/?h=fix/bug-20871 - can >>> anyone look at it? >> >> I took a look. It looks reasonable, but I think it will also need to >> be mentioned in the Emacs User manual, node "Fill Commands". In >> addition, could you write a couple of tests for this feature? > > OK, I'll look into it and get back here. So I did take a look. The mention in the manual is already there, I forgot I did that back then. Where should I put the tests? I expected something in e.g. test/lisp/textmodes/fill.el, but there's nothing like that there. Also, should I test only my function, or filling with it, or both? Best, -- Marcin Borkowski