From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#13399: 24.3.50; Word-wrap can't wrap at zero-width space U-200B Date: Fri, 08 Dec 2017 11:12:23 +0100 Message-ID: <5A2A6587.9060207@gmx.at> References: <50EE7BE5.2060806@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1512728002 9081 195.159.176.226 (8 Dec 2017 10:13:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 8 Dec 2017 10:13:22 +0000 (UTC) To: Adam Tack , 13399@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 08 11:13: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 1eNFee-00028g-De for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Dec 2017 11:13:16 +0100 Original-Received: from localhost ([::1]:36352 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNFek-0007JF-6g for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Dec 2017 05:13:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNFeY-0007GI-GX for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2017 05:13:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eNFeV-0006F1-JO for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2017 05:13:10 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42706) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eNFeV-0006Ek-G6 for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2017 05:13:07 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eNFeP-0000f9-VI for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2017 05:13:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Dec 2017 10:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13399 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13399-submit@debbugs.gnu.org id=B13399.15127279632525 (code B ref 13399); Fri, 08 Dec 2017 10:13:01 +0000 Original-Received: (at 13399) by debbugs.gnu.org; 8 Dec 2017 10:12:43 +0000 Original-Received: from localhost ([127.0.0.1]:51387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eNFe7-0000ef-J4 for submit@debbugs.gnu.org; Fri, 08 Dec 2017 05:12:43 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:63778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eNFe5-0000eR-TS for 13399@debbugs.gnu.org; Fri, 08 Dec 2017 05:12:42 -0500 Original-Received: from [192.168.1.100] ([46.125.250.26]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MPppG-1eR7WT02ni-0052TN; Fri, 08 Dec 2017 11:12:35 +0100 In-Reply-To: X-Provags-ID: V03:K0:tyOaAa8kDfDOVWe4ZZmQWXFuKYtMTnsZ2ajGPkRMY7QNw16r69R rEBpdHuFAdAOcwZ5fF0wv+BsCC1yLkVrwBZ86VYV4dXefXHE5BtDM5ohBRWG3GUM2kCKWLJ +nwe7FpBa27v2mF5o1Jeu4GQCmYwZEnX70knWoJnG4oxmM2CpyJRK96BfpHqM+X6dz5i081 54idPCTB6MDLnyuUfJJoQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:DD2/xJgFMoU=:vXi611n8RH0gmV+wnXaLoA g5BWw64qfROLlxrV3Jn62E8e+zPK28Vh8/wRkItTrW1Dr5210h+KCofVV+596XKr0SdseqKPM BJ5DumL1wYt2QD2L2itWoDTYRrk79NgQXPsER0GpZ6h3SZYJ8pSvNZzGfT/P1rmIlgzFba4VX aZkVhWcuqhQ9wOt3c+6pP+Cxaw2VJgG+nvfJP+39zbvU2p7pd1Rew2fck5B9y7LT7B38luTrs HAr8hBl8fTYX1TAFHTrXZHFOg3Ojki6Y9wUxFS3RYrsLVOtpu8aCFxbTUUpvvkTHgvTqHtqyk Wahba0j+oZje8qTEEaP8ZtKacxOFSfaniUthpn6a8BMGM21JiI9yDgVwn7tyWTw2ajW4XXdL1 43vq6fs1mJZm9k6V1O/MpZIFzke0MTXDYt+3lgt5ka5bUjIWWBSMnKJdYybEq+jYkxaRuDCY0 VMyKG5CytCZodjMzEQp9RdyyxwCU39loqbwYw8ZMRHVVemACmwr1H8HHT+9/IRhl54rHuhCPE ytfzTnGyPnvp3wiaKnDHTBmpCjcGrWWRdUxIOlDiFjSBqJ968CBPWNiBkESaR4W3Ijvt1WVi9 1swSn3+kNV1IiPtDAyPOW2v6nOjpW16uw4DZw24OXge9Cg7qWfWiVB75GuMc+FNC0HZjn3g/I 31PwKVFpWbjRkzBE+BsDMYtyuCXCr7eH0BRjrkBQe2O62U0fQUveGyGKBdS4iOL5V92E6rN7c wLE6oPRPhL2kVGXEitxeW0xnr/U5A/3Rx4DphHBFQtYNY6C2UX3uvIHMn9ftB9JE4QyW0E+4 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:140808 Archived-At: > I have a patch for the original issue of word-wrap not wrapping at a > zero-width space. The implementation uses a character table, and is > closely based on that written by Martin Rudalics > (https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D13399#113), with Eli > Zaretski's suggestions regarding unicode. > > The patch applies cleanly to the latest master, compiles on GNU+Linux > (Ubuntu Xenial) and appears to work =E2=80=94 both of the following te= sts > result in the expected wrapping on the zero-width space character (the= > first of these is taken verbatim from this bug thread, the second, > adapted from the first, checks that there is no regression of Bug#1134= 1): Thank you very much for woking on this. The patch applies here and seems to work as needed. martin