From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Newsgroups: gmane.emacs.bugs Subject: bug#27112: Setting comment-continue to " " causes uncomment-region-default to infloop Date: Tue, 30 May 2017 19:02:03 -0400 Message-ID: <0908e61a-6aab-13f9-5938-a6c02ff7f1ea@live.com> References: <871sr63ry0.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qg4KAS7WqCN3NBXlcD66Ken3oHUmVnj2O" X-Trace: blaine.gmane.org 1496185395 14639 195.159.176.226 (30 May 2017 23:03:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 30 May 2017 23:03:15 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 Cc: 27112@debbugs.gnu.org To: npostavs@users.sourceforge.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 31 01:03:09 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 1dFqAP-0003QW-7e for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 May 2017 01:03:09 +0200 Original-Received: from localhost ([::1]:56667 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFqAS-00081u-4u for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 May 2017 19:03:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50506) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFqAM-00081l-Kz for bug-gnu-emacs@gnu.org; Tue, 30 May 2017 19:03:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dFqAI-0001np-Ll for bug-gnu-emacs@gnu.org; Tue, 30 May 2017 19:03:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43240) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dFqAI-0001mm-Io for bug-gnu-emacs@gnu.org; Tue, 30 May 2017 19:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dFqAI-0003UZ-4n for bug-gnu-emacs@gnu.org; Tue, 30 May 2017 19:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 May 2017 23:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27112 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27112-submit@debbugs.gnu.org id=B27112.149618535913395 (code B ref 27112); Tue, 30 May 2017 23:03:02 +0000 Original-Received: (at 27112) by debbugs.gnu.org; 30 May 2017 23:02:39 +0000 Original-Received: from localhost ([127.0.0.1]:45917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFq9v-0003Tz-AZ for submit@debbugs.gnu.org; Tue, 30 May 2017 19:02:39 -0400 Original-Received: from mout.kundenserver.de ([212.227.126.134]:49322) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFq9t-0003Tk-0p for 27112@debbugs.gnu.org; Tue, 30 May 2017 19:02:38 -0400 Original-Received: from [18.26.2.123] ([18.26.2.123]) by mrelayeu.kundenserver.de (mreue005 [212.227.15.168]) with ESMTPSA (Nemesis) id 0MM2cS-1dGv0o3EWy-007i9A; Wed, 31 May 2017 01:02:19 +0200 In-Reply-To: <871sr63ry0.fsf@users.sourceforge.net> X-Provags-ID: V03:K0:5EwMfH9zDmgAC26SmGEFKTWz/sN3aE1ol+ZzpMGV3QDRTZV89gW gjNK+of8ap7OmU9EAhkHwFn8/i/2JVx89W7k1vScdM/OvD/++1h4nhr/RIWW4hkrd5Xg2DT 06x0IvaAbwBdQASU49Jxkv3xWB3gfGcF069rNIQBAHVwf00lXURsW1G616lTyJzWvVxx+du TmmmurcyU3lnKKc+PFr9w== X-UI-Out-Filterresults: notjunk:1;V01:K0:dvym1y+jrNQ=:W5z9y5ITdjSbAe4WPdRrhI ES9aiJNV0yF6F9yMQyojrI7xk4FYqoFoepMP0+zfasvkvGL1uavt3Ja68Z4xzaloI2FoLx8W7 7xduaKvsbrSWZa6IqqADNv81tRznmBP+PQ4S3IKHKQpTzqAryZx5PSsxRRLIPPTDDKSgm76iS PkK94mASP8vqisTFp4e2dSAlQeo587xvPsIT7WjwzwMz7gzkD6rRCEOtP2idg0t5H+7zbd6DW G+khOyJ1RBWm1ezOx8iyK7DAv9jurfdNbIXvs58dx+J9WKHkD77wt3B6g3vaBFXhEAFx/DRjU ErdafapbUEge4xoAOy3tOmmjJmyiJRi3eRb9+xq0Z7QSMZU6KgdDpzxaBPx84oXASzZ8Gd5TC 5ODG3cU9uW5uSd59Ri/wSzj/Wo/2xJBkQ6bhWauOqjvL7bT/ixyd20FDHmnsZdDKJvtrt1h3G WCeN284CErm0hYWJD4fsZtTZJuy5pJPsLbREHjvwdpXwsRQz3TEIBX2AJXHvlNQJHP0VYhf8j 1x9s34gcnZk5vJQBPy5M1cP9TTIFj8w3Y0EdtnuQLETVxGn3s3ThQz4zx+Jnf+HYagL88ZSjY PDqCqLtRtzlHA/H00SXFBdC07QefpRHNtIu3HVVmzFDP8pUHVYWJSNhgeugD93+hDZmuKCuOW bTlAlGH8YLovSzb/S2BIsr6Y8AuK/0belFg7YgJLIS2F4tEkraw7rzqAW4PwlCHbFI38= 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:133065 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --qg4KAS7WqCN3NBXlcD66Ken3oHUmVnj2O Content-Type: multipart/mixed; boundary="1SBeo1SHdMxIP4c9ARUCI5AaX83hEAKFt"; protected-headers="v1" From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= To: npostavs@users.sourceforge.net Cc: 27112@debbugs.gnu.org Message-ID: <0908e61a-6aab-13f9-5938-a6c02ff7f1ea@live.com> Subject: Re: bug#27112: Setting comment-continue to " " causes uncomment-region-default to infloop References: <871sr63ry0.fsf@users.sourceforge.net> In-Reply-To: <871sr63ry0.fsf@users.sourceforge.net> --1SBeo1SHdMxIP4c9ARUCI5AaX83hEAKFt Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 2017-05-30 18:23, npostavs@users.sourceforge.net wrote: > Cl=C3=A9ment Pit--Claudel writes: >=20 >> Setting comment-continue to " " breaks the logic of >> uncomment-region-default, causing it to get into an infinite loop >> (repeatedly matching an empty string at the same location). >> uncomment-region-default is used by comment-line (C-x C-;). >=20 > Can you give a full recipe? Sure thing: emacs -Q --eval '(setq comment-continue " ")' --eval '(save-excursion (i= nsert ";; AAA\n"))' --eval '(comment-line 1)' Cl=C3=A9ment. --1SBeo1SHdMxIP4c9ARUCI5AaX83hEAKFt-- --qg4KAS7WqCN3NBXlcD66Ken3oHUmVnj2O Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJZLfn3AAoJEPqg+cTm90wjgXUP/RE7jPf+8uF7JD869PMXM7/S rOQtDkBAHCzgWwQcVPNCAMdJZ6EVA1HNVE7eww5f/JLswjPQBYDlVk2Gzu2kpKnn +irtG24YNS3b9Hd/ejMnfd2+FPuS+/Fh0QipSlFpC5tgcMH3tRhp9AXCeM7TU07M cbxIpsm95JTq1mwce+VsX+ZmZop3132kribxnaXSe75mhXcwRlOrQY5xMKnJnH4V t8X7swzGCg9w/a8JFohAAOu1ed3sYO8l+xFVU3QNfHnFwEyqX8o6XXb5Hn5xVZiG G5RBnRRJhbVUaeHiB0XdQP+MINnGZ9K3nfjuENfHZulAQcercxLhcNngpaBvVqOH d6M5E06gtk+7IRdwQmnEaII3ouFrNbRMc03wURrJPWq3yAZnPezT25Xk6F+RSTZ/ 3bp4cQFEyTYtbswnRqQC8P3bhxLvflc88iz+uim5SUuoUsr4KY2RwGXukYDm5yVU 7XaL3w3VNpXRHjPhEwW18fTVhbq5gOErHFDvd7ofeU7iyckxMTREgcpSiYNfhtLL 4JpLrvbNEJZ2vuxURYfhBERXUgeQzXiUyYiDu61u3XSsd5ytBUw4gJ3vJK+ZLNrG a3qQPTFS68b4MyeMmrUO6Td/PBqtQ7lpTx+TXjvaP5+0wMTUKEHbx1y3PNc5muib wNQ7gpxEnu7QsRfdodu0 =mUR1 -----END PGP SIGNATURE----- --qg4KAS7WqCN3NBXlcD66Ken3oHUmVnj2O--