From unknown Fri Aug 15 18:08:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#34463: fill-paragraph ruined URL Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Feb 2019 22:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34463 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 34463@debbugs.gnu.org Cc: yamaoka@jpl.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155000922614362 (code B ref -1); Tue, 12 Feb 2019 22:08:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Feb 2019 22:07:06 +0000 Received: from localhost ([127.0.0.1]:45317 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gtgCn-0003ja-Ux for submit@debbugs.gnu.org; Tue, 12 Feb 2019 17:07:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60012) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gtgCk-0003j3-U7 for submit@debbugs.gnu.org; Tue, 12 Feb 2019 17:07:04 -0500 Received: from lists.gnu.org ([209.51.188.17]:55138) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gtgCe-0003ub-2S for submit@debbugs.gnu.org; Tue, 12 Feb 2019 17:06:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtgCd-0006e8-2z for bug-gnu-emacs@gnu.org; Tue, 12 Feb 2019 17:06:55 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.8 required=5.0 tests=BAYES_50,FROM_EXCESS_BASE64, RCVD_IN_DNSWL_NONE,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtgCW-0003mE-PY for bug-gnu-emacs@gnu.org; Tue, 12 Feb 2019 17:06:52 -0500 Received: from quail.birch.relay.mailchannels.net ([23.83.209.151]:55023) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gtgCN-0003VU-Rt for bug-gnu-emacs@gnu.org; Tue, 12 Feb 2019 17:06:42 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 52E561250D3; Tue, 12 Feb 2019 22:06:33 +0000 (UTC) Received: from pdx1-sub0-mail-a43.g.dreamhost.com (unknown [100.96.35.77]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id E591F125E87; Tue, 12 Feb 2019 22:06:32 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Received: from pdx1-sub0-mail-a43.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.2); Tue, 12 Feb 2019 22:06:33 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Reaction-Wiry: 29f911f25d12e2d7_1550009193147_1753821793 X-MC-Loop-Signature: 1550009193146:2467970511 X-MC-Ingress-Time: 1550009193146 Received: from pdx1-sub0-mail-a43.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a43.g.dreamhost.com (Postfix) with ESMTP id 7E9A2803B6; Tue, 12 Feb 2019 14:06:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=jidanni.org; bh=Y0ghAE0aja0SvjRDzA Br5W1maWQ=; b=X0Is6eYK+REeMJvUjaYuW1yAzDmmNVRsoYZUQiGhx21rKjquhb 2ozAbxmAN497keWvoyNx3B82mqD1fXISo2E6kVaiG1ROBS5Oj5PHyyw3uygx29dI K2BO/NAb8NIEdNRaoVZKe3TQunhnuqApY9OWdTIHmucE/72WFi+RF7180= Received: from jidanni.org (114-41-4-48.dynamic-ip.hinet.net [114.41.4.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a43.g.dreamhost.com (Postfix) with ESMTPSA id CD610803BC; Tue, 12 Feb 2019 14:06:31 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a43 From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Date: Wed, 13 Feb 2019 06:06:28 +0800 Message-ID: <8736os7jbv.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 49 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtledruddtuddgudehkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecuogfuuhhsphgvtghtffhomhgrihhnucdlgeelmdenucfjughrpefhvffufffkgggtgfesthekredttddtjeenucfhrhhomhepnjjnnjcuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqnecuffhomhgrihhnpehgohhordhglhenucfkphepuddugedrgedurdegrdegkeenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepjhhiuggrnhhnihdrohhrghdpihhnvghtpeduudegrdeguddrgedrgeekpdhrvghtuhhrnhdqphgrthhhpeeprehuthhfqdekreeureehiehmpfehnfhiheehsgevkeerpecuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqpdhmrghilhhfrhhomhepjhhiuggrnhhnihesjhhiuggrnhhnihdrohhrghdpnhhrtghpthhtohephigrmhgrohhkrgesjhhplhdrohhrghenucevlhhushhtvghrufhiiigvpedt Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 23.83.209.151 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Big bug: Do M-q (fill-paragraph) on =E7=89=B9=E6=AD=A4=E6=8F=90=E6=A1=88=EF=BC=8C 266 =E5=85=AC=E8=BB=8A=E7=94=B1=E5=8E=9F=E3=80=8C=E6=9D=B1=E5=8B=A2 - =E8= =B0=B7=E9=97=9C=E3=80=8D=E6=94=B9=E7=82=BA=E3=80=8C=E4=B8=AD=E8=88=88=E5=B6= =BA - =E8=B0=B7=E9=97=9C=E3=80=8D=E5=A6=82=E5=9C=96 https://goo.gl/maps/rkkBr6jX41m =E8=AC=9D=E8=AC=9D=EF=BC=81 It becomes =E7=89=B9=E6=AD=A4=E6=8F=90=E6=A1=88=EF=BC=8C266 =E5=85=AC=E8=BB=8A=E7=94= =B1=E5=8E=9F=E3=80=8C=E6=9D=B1=E5=8B=A2 - =E8=B0=B7=E9=97=9C=E3=80=8D=E6=94= =B9=E7=82=BA=E3=80=8C=E4=B8=AD=E8=88=88=E5=B6=BA - =E8=B0=B7=E9=97=9C=E3=80= =8D=E5=A6=82=E5=9C=96 https://goo.gl/maps/rkkBr6jX41m=E8=AC=9D=E8=AC=9D=EF=BC=81 Ruining the URL, and thus our whole proposal to the government. From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 12 17:13:07 2019 Received: (at control) by debbugs.gnu.org; 12 Feb 2019 22:13:07 +0000 Received: from localhost ([127.0.0.1]:45332 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gtgId-0003uU-Dn for submit@debbugs.gnu.org; Tue, 12 Feb 2019 17:13:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gtgIb-0003u0-Jb for control@debbugs.gnu.org; Tue, 12 Feb 2019 17:13:05 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33697) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtgIP-0007Ug-ET for control@debbugs.gnu.org; Tue, 12 Feb 2019 17:12:55 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1gtgIL-0004yx-FG for control@debbugs.gnu.org; Tue, 12 Feb 2019 17:12:50 -0500 Subject: control message for bug 34463 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Tue, 12 Feb 2019 17:12:49 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) merge 9286 34463 From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 09 18:28:47 2019 Received: (at control) by debbugs.gnu.org; 9 Oct 2019 22:28:47 +0000 Received: from localhost ([127.0.0.1]:54384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIKRq-0006Mr-MP for submit@debbugs.gnu.org; Wed, 09 Oct 2019 18:28:46 -0400 Received: from quimby.gnus.org ([80.91.231.51]:45882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIKRo-0006Mh-Qe for control@debbugs.gnu.org; Wed, 09 Oct 2019 18:28:45 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iIKRm-0005SG-0z for control@debbugs.gnu.org; Thu, 10 Oct 2019 00:28:44 +0200 Date: Thu, 10 Oct 2019 00:28:41 +0200 Message-Id: <87ftk1zh7q.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #34463 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 34463 + patch quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 34463 + patch quit From unknown Fri Aug 15 18:08:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#34463: bug#9286: fill-paragraph destroys URLs Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Oct 2019 22:31:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34463 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Chong Yidong Cc: 34463@debbugs.gnu.org, 9286@debbugs.gnu.org, jidanni@jidanni.org, Kenichi Handa Received: via spool by 34463-submit@debbugs.gnu.org id=B34463.157066026228421 (code B ref 34463); Wed, 09 Oct 2019 22:31:03 +0000 Received: (at 34463) by debbugs.gnu.org; 9 Oct 2019 22:31:02 +0000 Received: from localhost ([127.0.0.1]:54391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIKU1-0007Nt-FH for submit@debbugs.gnu.org; Wed, 09 Oct 2019 18:31:01 -0400 Received: from quimby.gnus.org ([80.91.231.51]:45930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIKTz-0007Lb-Nx; Wed, 09 Oct 2019 18:31:00 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iIKTu-0005TA-KT; Thu, 10 Oct 2019 00:30:57 +0200 From: Lars Ingebrigtsen References: <87k4ajbpyi.fsf@jidanni.org> <87obzjhn2b.fsf@stupidchicken.com> Date: Thu, 10 Oct 2019 00:30:54 +0200 In-Reply-To: <87obzjhn2b.fsf@stupidchicken.com> (Chong Yidong's message of "Sat, 20 Aug 2011 15:58:52 -0400") Message-ID: <87blupzh41.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Chong Yidong writes: > If I am decoding the jidanni-speak correctly, his complaint is doing M-q > on a buffer containing > > asdf > =?UTF-8?Q?=E5=9C=8B?= > > turns the text into > > =?UTF-8?Q?asdf=E5=9C=8B?= > > instead of what he wants: > > asdf =?UTF-8?Q?=E5=9C=8B?= > > Th [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Chong Yidong writes: > If I am decoding the jidanni-speak correctly, his complaint is doing M-q > on a buffer containing > > asdf > =E5=9C=8B > > turns the text into > > asdf=E5=9C=8B > > instead of what he wants: > > asdf =E5=9C=8B > > This is because line joining does not include a space if *either* > character on each side of the newline has the ?| (line-breakable) > category and an entry in fill-nospace-between-words-table. To get the > behavior jidanni wants, we could change it so that *both* the characters > must have this property; see attached patch. > > But I am not sure this is TRT in general. Handa-san, could you weigh in > with an opinion? Adding a space seems more or less correct to me, but I > am no expert. This problem is still present in Emacs 27. This patch, from 2011, was never applied. I think Chong's proposal sounds logical, but like him, I'm (ahem) no expert. > *** lisp/textmodes/fill.el 2011-07-16 20:05:54 +0000 > --- lisp/textmodes/fill.el 2011-08-20 19:52:41 +0000 > *************** > *** 482,491 **** > (replace-match (get-text-property (match-beginning 0) 'fill-space)) > (let ((prev (char-before (match-beginning 0))) > (next (following-char))) > ! (if (and (or (aref (char-category-set next) ?|) > ! (aref (char-category-set prev) ?|)) > ! (or (aref fill-nospace-between-words-table next) > ! (aref fill-nospace-between-words-table prev))) > (delete-char -1)))))) > > (goto-char from) > --- 482,491 ---- > (replace-match (get-text-property (match-beginning 0) 'fill-space)) > (let ((prev (char-before (match-beginning 0))) > (next (following-char))) > ! (if (and (aref (char-category-set next) ?|) > ! (aref (char-category-set prev) ?|) > ! (aref fill-nospace-between-words-table next) > ! (aref fill-nospace-between-words-table prev)) > (delete-char -1)))))) > > (goto-char from) --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Fri Aug 15 18:08:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#34463: bug#9286: fill-paragraph destroys URLs Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Oct 2019 07:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34463 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Lars Ingebrigtsen Cc: 9286@debbugs.gnu.org, 34463@debbugs.gnu.org, cyd@stupidchicken.com, handa@m17n.org, jidanni@jidanni.org Received: via spool by 34463-submit@debbugs.gnu.org id=B34463.157069341227961 (code B ref 34463); Thu, 10 Oct 2019 07:44:02 +0000 Received: (at 34463) by debbugs.gnu.org; 10 Oct 2019 07:43:32 +0000 Received: from localhost ([127.0.0.1]:55003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIT6i-0007Gp-9x for submit@debbugs.gnu.org; Thu, 10 Oct 2019 03:43:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43229) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIT6g-0007GW-6E; Thu, 10 Oct 2019 03:43:30 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34511) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iIT6a-0006iO-F1; Thu, 10 Oct 2019 03:43:24 -0400 Received: from [176.228.60.248] (port=4573 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iIT6Y-0003Go-5b; Thu, 10 Oct 2019 03:43:23 -0400 Date: Thu, 10 Oct 2019 10:43:07 +0300 Message-Id: <8336g1t59w.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87blupzh41.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 10 Oct 2019 00:30:54 +0200) References: <87k4ajbpyi.fsf@jidanni.org> <87obzjhn2b.fsf@stupidchicken.com> <87blupzh41.fsf@gnus.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Date: Thu, 10 Oct 2019 00:30:54 +0200 > Cc: 34463@debbugs.gnu.org, jidanni@jidanni.org, Kenichi Handa , > 9286@debbugs.gnu.org > > > This is because line joining does not include a space if *either* > > character on each side of the newline has the ?| (line-breakable) > > category and an entry in fill-nospace-between-words-table. To get the > > behavior jidanni wants, we could change it so that *both* the characters > > must have this property; see attached patch. > > > > But I am not sure this is TRT in general. Handa-san, could you weigh in > > with an opinion? Adding a space seems more or less correct to me, but I > > am no expert. > > This problem is still present in Emacs 27. This patch, from 2011, was > never applied. I think Chong's proposal sounds logical, but like him, > I'm (ahem) no expert. Since Kenichi didn't respond, I think we should study what the Unicode Line-breaking Algorithm has to say about that. Can you look there for relevant guidance? We don't yet implement the complete algorithm, but some of what they say could nevertheless be used to resolve this issue. Thanks. From unknown Fri Aug 15 18:08:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#34463: bug#9286: fill-paragraph destroys URLs Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Oct 2019 07:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34463 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: 9286@debbugs.gnu.org, 34463@debbugs.gnu.org, cyd@stupidchicken.com, handa@m17n.org, jidanni@jidanni.org Received: via spool by 34463-submit@debbugs.gnu.org id=B34463.157077714327552 (code B ref 34463); Fri, 11 Oct 2019 07:00:02 +0000 Received: (at 34463) by debbugs.gnu.org; 11 Oct 2019 06:59:03 +0000 Received: from localhost ([127.0.0.1]:57550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIotC-0007AF-RD for submit@debbugs.gnu.org; Fri, 11 Oct 2019 02:59:03 -0400 Received: from quimby.gnus.org ([80.91.231.51]:54708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iIotA-00079h-Hn; Fri, 11 Oct 2019 02:59:01 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iIot3-0001VV-9q; Fri, 11 Oct 2019 08:58:55 +0200 From: Lars Ingebrigtsen References: <87k4ajbpyi.fsf@jidanni.org> <87obzjhn2b.fsf@stupidchicken.com> <87blupzh41.fsf@gnus.org> <8336g1t59w.fsf@gnu.org> Date: Fri, 11 Oct 2019 08:58:52 +0200 In-Reply-To: <8336g1t59w.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 10 Oct 2019 10:43:07 +0300") Message-ID: <87eezjpy37.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > Since Kenichi didn't respond, I think we should study what the Unicode > Line-breaking Algorithm has to say about that. Can you look there for > relevant guidance? We don't yet implement the complet [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > Since Kenichi didn't respond, I think we should study what the Unicode > Line-breaking Algorithm has to say about that. Can you look there for > relevant guidance? We don't yet implement the complete algorithm, but > some of what they say could nevertheless be used to resolve this > issue. That would be this: https://unicode.org/reports/tr14/ I have just skimmed it, but I can't see that it says anything helpful about filling/folding lines. If I read it correctly, then it's perfectly allowed to line-break asdf=E5=9C=8B into asdf =E5=9C=8B But it doesn't say what software should do when filling asdf =E5=9C=8B Presumably filling that into asdf=E5=9C=8B would be correct in many circumstances, but as Dan said, if it's really http://google.com =E5=9C=8B then filling that into=20 http://google.com=E5=9C=8B is most likely wrong. So if we want to be cautious, then applying Chong's patch seems to be the right thing: Adding the space will lead to things working more of the time, while the downside is that somebody might prefer=20 asdf=E5=9C=8B visually. I think. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Fri Aug 15 18:08:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#34463: bug#9286: fill-paragraph destroys URLs Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Nov 2019 14:02:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34463 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: 9286@debbugs.gnu.org, cyd@stupidchicken.com, handa@m17n.org, jidanni@jidanni.org, 34463@debbugs.gnu.org Received: via spool by 34463-submit@debbugs.gnu.org id=B34463.157451768322840 (code B ref 34463); Sat, 23 Nov 2019 14:02:04 +0000 Received: (at 34463) by debbugs.gnu.org; 23 Nov 2019 14:01:23 +0000 Received: from localhost ([127.0.0.1]:56013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iYVyS-0005ty-NT for submit@debbugs.gnu.org; Sat, 23 Nov 2019 09:01:23 -0500 Received: from quimby.gnus.org ([95.216.78.240]:36572) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iYVyH-0005oZ-PJ; Sat, 23 Nov 2019 09:01:16 -0500 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iYVy4-0005vn-IX; Sat, 23 Nov 2019 15:00:59 +0100 From: Lars Ingebrigtsen References: <87k4ajbpyi.fsf@jidanni.org> <87obzjhn2b.fsf@stupidchicken.com> <87blupzh41.fsf@gnus.org> <8336g1t59w.fsf@gnu.org> <87eezjpy37.fsf@gnus.org> Date: Sat, 23 Nov 2019 15:00:55 +0100 In-Reply-To: <87eezjpy37.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 11 Oct 2019 08:58:52 +0200") Message-ID: <871rtyn148.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > That would be this: > > https://unicode.org/reports/tr14/ > > I have just skimmed it, but I can't see that it says anything helpful > about filling/folding lines. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: gnus.org] -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen writes: > That would be this: > > https://unicode.org/reports/tr14/ > > I have just skimmed it, but I can't see that it says anything helpful > about filling/folding lines. Ah, this is all moot -- in Emacs 26, the fill-separate-heterogeneous-words-with-space variable was introduced, which gives the behaviour that Dan wants (and is similar to Chong's patch, only guarded by that variable). So I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 23 09:02:22 2019 Received: (at control) by debbugs.gnu.org; 23 Nov 2019 14:02:22 +0000 Received: from localhost ([127.0.0.1]:56020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iYVzM-0006dc-Lh for submit@debbugs.gnu.org; Sat, 23 Nov 2019 09:02:22 -0500 Received: from quimby.gnus.org ([95.216.78.240]:36586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iYVya-0005vs-2o for control@debbugs.gnu.org; Sat, 23 Nov 2019 09:01:30 -0500 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iYVyS-0005wD-HZ for control@debbugs.gnu.org; Sat, 23 Nov 2019 15:01:22 +0100 Date: Sat, 23 Nov 2019 15:01:19 +0100 Message-Id: <87zhgmlmj4.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #9286 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 9286 fixed close 9286 26.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 9286 fixed close 9286 26.1 quit