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#7498: 23.2; scheme-mode.el doesn't parse racket file correctly Date: Fri, 12 Aug 2016 16:37:51 -0400 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="FhKEmooEvEIF99rkk73qp68oQvpONKJwT" X-Trace: blaine.gmane.org 1471034362 12631 195.159.176.226 (12 Aug 2016 20:39:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 12 Aug 2016 20:39:22 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 To: 7498@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 12 22:39:18 2016 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 1bYJEb-0003CA-QO for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Aug 2016 22:39:18 +0200 Original-Received: from localhost ([::1]:54841 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYJEY-0004VN-Rx for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Aug 2016 16:39:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37291) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYJEP-0004Sq-Oi for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2016 16:39:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYJEM-0001Xl-K1 for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2016 16:39:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57745) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYJEM-0001Xc-Gg for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2016 16:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bYJEM-0002MC-8L for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2016 16:39: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: Fri, 12 Aug 2016 20:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7498 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14710342939002 (code B ref -1); Fri, 12 Aug 2016 20:39:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Aug 2016 20:38:13 +0000 Original-Received: from localhost ([127.0.0.1]:55457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYJDZ-0002L8-8F for submit@debbugs.gnu.org; Fri, 12 Aug 2016 16:38:13 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46148) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYJDX-0002Kv-Ql for submit@debbugs.gnu.org; Fri, 12 Aug 2016 16:38:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYJDR-0001PU-Oc for submit@debbugs.gnu.org; Fri, 12 Aug 2016 16:38:06 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:52893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYJDR-0001PO-LQ for submit@debbugs.gnu.org; Fri, 12 Aug 2016 16:38:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37111) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYJDP-00042N-CD for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2016 16:38:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYJDM-0001Oj-6z for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2016 16:38:03 -0400 Original-Received: from mout.kundenserver.de ([212.227.17.24]:53116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYJDL-0001Od-Sm for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2016 16:38:00 -0400 Original-Received: from [18.26.2.123] ([18.26.2.123]) by mrelayeu.kundenserver.de (mreue102) with ESMTPSA (Nemesis) id 0M8QnS-1bKkLM21SM-00vwM5 for ; Fri, 12 Aug 2016 22:37:58 +0200 In-Reply-To: X-Provags-ID: V03:K0:1gQiyVo5RwQJdfHowJmCGFg+TlzsyMZouLPravKfYSJmrXsl5qJ XsNBA+aA6TWSj34Q0qTN2+aNK+M4iNfj+MX1kd+UnfYd43+oj9ZWHTZEvHUCgxrdhHZ4xzd Y7zRtxQiHZv2YQG2bh+kVGOhn6pBQgfdDMi4anNUZ4EFwZMkL+3qrP6/q/XaY0Z0dnG8Gw9 HSRojfC96FNZ9NfbvyK7w== X-UI-Out-Filterresults: notjunk:1;V01:K0:OnYIfmxKLAs=:DOrxkGz0WNNPh+usZvWSI7 hT21WBfrHisILYwaWkh9SY7obcsZBuLkW4/L257bO4jkKNMSRqD9pX9jBGrtkvlKEZwrbUqx6 IOPSeENib98rGu4qmzgtCeffcO5DAMM/Yj0inld7Cij8d9Ol3BURMgg7ovGEUUAlkb6JJEBEn f3JKTHAVXWcjqB4w/gXjGoqiCpdroOmxR+KxBsMd2SCD4vlP97iBxJSCx4/n+psA+GquU0YcS nhqXvC1LmhU5mN09JJtU1JENFSpWwuhBMc73SZeA5zPN9dfXhBUrygrLNn3xxosHdSuFIFHvI Hj5gz6TAqGXu6NG/gSfeF7Kza5qFjP88mODe1PTppu9iyPVf9VcO8TfZNpp5OQrIxir6aVb1v rCGZPJgLseqvDYTodr+ur/hbC7UzrqDF5r7JaCWxZ3YW5mDjI8cK7xDhsqCASyQapMxYjUaUk fjDnfCJV1vt3PJ4JoQ6vjCVtdLiGZro9mbWVfhBP9tbFjQE5WgA6z4SO+bRI4lQkTUS/ag8/z fErwdIrzhVZUygwxo6pyEp0Dw3000QJKXx4TLp/goRFZKfIQxqBAfQsbz65FPgg46PHE1Cynv gkZxDMSmTGq9TZTjqYPkzNj9sws6AWValFkxNne0943UQxrs3JZJrosl12tH6s5QPoFKeZOQa 1yVoD843NIq9HhcKR+F4V/8xJO8BBqI60nGIyiD9LndcohYmwTh2dt6FAKIXDosjFVso= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:122136 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --FhKEmooEvEIF99rkk73qp68oQvpONKJwT Content-Type: multipart/mixed; boundary="Xd8BWiTr6skb8Kc16LiltnVVW5Ibh0xHv" From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= To: bug-gnu-emacs@gnu.org Message-ID: Subject: Re: bug#7498: 23.2; scheme-mode.el doesn't parse racket file correctly References: In-Reply-To: --Xd8BWiTr6skb8Kc16LiltnVVW5Ibh0xHv Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2016-08-12 15:12, Alan Third wrote: > Alexander Haeckel writes: >=20 >> I describe the problem from 'emacs -Q': >> scheme-mode.el isn't able to correctly parse the file: >> racket-5.0.2/collects/drracket/tool-lib.rkt >> When I open the file, go to position (79,0) >> and execute `forward-sexp' I get >> Scan error: "Unbalanced parentheses", 2852, 65105 >> >> The expected behaviour is for the point to be moved at the end >> of the file behind the last closing parenthesis to position (1663,85).= >> When I move the point at the end of the file behind the last closing >> parenthesis and do `backward-sexp' the point is moved to line >> the point is moved to position (152,19) instead to (79,0), where >> the next character is an opening curly brace. >=20 > There are lines of the form: >=20 > @item{@racket[error-print-width] is set to 250;} >=20 > that appear to break things, because scheme-mode sees that closing curl= y > bracket as a comment. This syntax looks like it=E2=80=99s Racket specif= ic. I think this isn't written in "core" Racket; it's Scribble, a dialect of = Racket that's pretty remote from Scheme. IOW, it's not a trivial fix. Cl=C3=A9ment. --Xd8BWiTr6skb8Kc16LiltnVVW5Ibh0xHv-- --FhKEmooEvEIF99rkk73qp68oQvpONKJwT 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 iQIcBAEBCAAGBQJXrjOfAAoJEPqg+cTm90wjnAkQAINf2FjJGJ/eKXAYV2Cfaxta cOFVhNHG5sF6Y27WtCcUn1m/8zFf5irNNi0qpMxiYJiNPxN1/IFzMxtwGRldqNxO 9H2gnlfFIbRex+IwlQSI3E3jS2LU/VQj9HSWFnOBT+bJc3UdkMGml1l74H2tQNDb U461NpxFQpxOZclq0f4f2bFA0wSv10fy02vFkGDQ0TbDhfIzxdV5BZkZzanfCYhv G/I3bk8nY2lxyqyQInpmIeMgwUOXoonJoc9UWIpVRFhYVtXHdeHuwD+eOilyXooC qtqElUA9a3OFT3eEDm+yRTh8y31ussevb+fJCgJeIA1phOpIJ081JO33aZlNHHy5 PNW07kSHNLUWHwk+6SCaL4W0LGkYoU5f7+HjCPo+JXkZ3z/FcVUap1AqHExgcFsu 7jfge6Mxtey4vXD0aV4SQ8XCJ3p3Ery4wfBUmmjtkCF0GCf00s0baQtsW1wa6UVK PNUF+jzwl9SQwrazuTssTOnFJ+2QhPZLvZYPnOmYEo7Kfajuzt+MD7e6HIyCRFP+ 808ow5kjZroELXhQZ/xpYLQCoE+YzG/rv4FBOI1ISp+8XtvIFAzdMD9SH8GyD59t LzIPYfI3rWzvB0HXrZxxLobyU9aooZ1wWDY8qkJtaaz4llOXeMjH1o1Y9Cqc4jqY 6gZvbTcuccjrxpg9kXzk =6K7C -----END PGP SIGNATURE----- --FhKEmooEvEIF99rkk73qp68oQvpONKJwT--