GNU bug report logs -
#7498
23.2; scheme-mode.el doesn't parse racket file correctly
Previous Next
Reported by: alexander.haeckel <at> web.de
Date: Sat, 27 Nov 2010 16:15:02 UTC
Severity: wishlist
Found in version 23.2
Done: Stefan Kangas <stefankangas <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #22 received at 7498 <at> debbugs.gnu.org (full text, mbox):
* Stefan Kangas <stefan <at> marxist.se> [2020-11-19 07:47]:
> Alan Third <alan <at> idiocy.org> writes:
>
> > Clément Pit--Claudel <clement.pit <at> gmail.com> writes:
> >
> >> On 2016-08-12 15:12, Alan Third wrote:
> >>> Alexander Haeckel <alexanderhaeckel <at> lavabit.com> writes:
> >>>
> >>> that appear to break things, because scheme-mode sees that closing curly
> >>> bracket as a comment. This syntax looks like it’s Racket specific.
> >>
> >> 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.
> >
> > I think since it's not really scheme we can't expect scheme-mode to deal
> > with it. It may make more sense to have a separate Racket or Scribble
> > mode (based on Scheme mode, I expect).
scheme-mode allows all kinds of evaluations including with
racket. scheme-program has to be set to racket -i
closing curly bracket on my side is not considered comment.
From scheme.el:
(defconst scheme-sexp-comment-syntax-table
(let ((st (make-syntax-table scheme-mode-syntax-table)))
(modify-syntax-entry ?\; "." st)
(modify-syntax-entry ?\n " " st)
(modify-syntax-entry ?# "'" st)
st))
How can I reproduce that bug? Please send me example.
This bug report was last modified 128 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.