From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#7498: 23.2; scheme-mode.el doesn't parse racket file correctly Date: Fri, 12 Aug 2016 20:12:14 +0100 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1471029206 17122 195.159.176.226 (12 Aug 2016 19:13:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 12 Aug 2016 19:13:26 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin) Cc: 7498@debbugs.gnu.org, alexander.haeckel@web.de To: Alexander Haeckel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 12 21:13: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 1bYHtN-00048j-IN for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Aug 2016 21:13:17 +0200 Original-Received: from localhost ([::1]:54576 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYHtK-0006MM-Ih for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Aug 2016 15:13:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50060) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYHtD-0006JF-UX for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2016 15:13:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYHt8-000163-JG for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2016 15:13:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57720) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYHt8-00015v-F0 for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2016 15:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bYHt8-0000D7-9Q for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2016 15:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Aug 2016 19:13: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: Original-Received: via spool by 7498-submit@debbugs.gnu.org id=B7498.1471029143748 (code B ref 7498); Fri, 12 Aug 2016 19:13:02 +0000 Original-Received: (at 7498) by debbugs.gnu.org; 12 Aug 2016 19:12:23 +0000 Original-Received: from localhost ([127.0.0.1]:55432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYHsV-0000Bz-MB for submit@debbugs.gnu.org; Fri, 12 Aug 2016 15:12:23 -0400 Original-Received: from mail-wm0-f45.google.com ([74.125.82.45]:36721) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYHsT-0000Bl-WF for 7498@debbugs.gnu.org; Fri, 12 Aug 2016 15:12:22 -0400 Original-Received: by mail-wm0-f45.google.com with SMTP id q128so44149176wma.1 for <7498@debbugs.gnu.org>; Fri, 12 Aug 2016 12:12:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=ryhX+TBFwy+a2VgiEXtVB4HIQlE9g0JBWP9SwQxc+yo=; b=OUsC7Cq9Ix5yN/byIqur444qQ9c+ZrNz/riYK0g9PqoPGZjowECr9+GzwMxTTSjac8 Lajgs4dVRF5eFfrO4VsOeCLEZBbfs0FBXhwUG26JAywzLVCSw272MJgPuxTHvz8uFgxB Q+OEd6gDbatTlydb01EN8cEP6G3feadr/6/nY3emSiSbHZ2sWuflw9I3+ChyIsNKOxgb za0dXLHhvIhvkLTXazQp0CNGfqvCXrcXt9YqyMKnW37EacdB6J2+QTdNoW2BadkGOdi2 EEdaDbXbYIeylIAoLrTDap5rcJoiXcLyLOfI2dafXna6xQtvvqXewu/zJ3KxszoPZofr JvKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=ryhX+TBFwy+a2VgiEXtVB4HIQlE9g0JBWP9SwQxc+yo=; b=l9Tb9HV1+GntsehX/OJ7ZyFp/1n4WNznlyT4AocqW7q6yOC5x2suXZUlRiZJo7o8Ok /rQyUihNTxMZdBeQGLO69Mk3KVbwRZCiBPEJBJS8AmS8Vi8o7d+1ppvqnC2Y919Q6ik7 yhFkqcGYwszE4cZHgSCSzWUpXs6Zo3W5aq9yyjacElLGCDU5tTwS9SbfN7LS4MGKOw7Y 4Ts1fwC4gKBrFx4tVeq7IRo2bzOR2f0rGf7ySlL/TS5YCUJ0+4zA9Uw543YMIsPCyH4K zHOeZhBI+3Uos1DWqubpxdLL2u9WKbM2327lRYe19Jn0Jg9ElYlWjO2pBUPwjufABfPb WPmQ== X-Gm-Message-State: AEkooushAr3R9I3AMl4kSLHvEyXikPCY+ttD1vLSYTMKdyvwmd8bG89ZxPcWTi7ENHgnOg== X-Received: by 10.28.144.5 with SMTP id s5mr398132wmd.39.1471029136422; Fri, 12 Aug 2016 12:12:16 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-c9b0-c9dd-8aa4-da55.holly.idiocy.org. [2001:8b0:3f8:8129:c9b0:c9dd:8aa4:da55]) by smtp.gmail.com with ESMTPSA id h7sm8780855wjd.17.2016.08.12.12.12.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Aug 2016 12:12:15 -0700 (PDT) In-Reply-To: (Alexander Haeckel's message of "Sat, 27 Nov 2010 17:18:00 +0100") 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:122133 Archived-At: Alexander Haeckel writes: > 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. There are lines of the form: @item{@racket[error-print-width] is set to 250;} that appear to break things, because scheme-mode sees that closing curly bracket as a comment. This syntax looks like it=E2=80=99s Racket specific. My elisp skills aren=E2=80=99t good enough to tell if this is fixable. --=20 Alan Third