all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Stefan Kangas <stefan@marxist.se>
Cc: 7498@debbugs.gnu.org, "Alan Third" <alan@idiocy.org>,
	"Clément Pit--Claudel" <clement.pit@gmail.com>
Subject: bug#7498: 23.2; scheme-mode.el doesn't parse racket file correctly
Date: Thu, 19 Nov 2020 08:25:10 +0300	[thread overview]
Message-ID: <X7YBtpLhTZrBiMRq@protected.rcdrun.com> (raw)
In-Reply-To: <CADwFkmk3-ZuPJ5CaUgcFr6KpzNova_kE0wQ5wOFcN9bcdTSi8w@mail.gmail.com>

* Stefan Kangas <stefan@marxist.se> [2020-11-19 07:47]:
> Alan Third <alan@idiocy.org> writes:
> 
> > Clément Pit--Claudel <clement.pit@gmail.com> writes:
> >
> >> On 2016-08-12 15:12, Alan Third wrote:
> >>> Alexander Haeckel <alexanderhaeckel@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.





  reply	other threads:[~2020-11-19  5:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-27 16:18 bug#7498: 23.2; scheme-mode.el doesn't parse racket file correctly Alexander Haeckel
2016-08-12 19:12 ` Alan Third
2016-08-12 20:37   ` Clément Pit--Claudel
2016-09-10 21:37     ` Alan Third
2020-11-19  4:46       ` Stefan Kangas
2020-11-19  5:25         ` Jean Louis [this message]
2021-10-21 19:44         ` Stefan Kangas
2021-10-21 20:18           ` Philip Kaludercic
2021-10-21 20:45             ` Stefan Kangas
2021-10-21 21:24               ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-10-21 22:05                 ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=X7YBtpLhTZrBiMRq@protected.rcdrun.com \
    --to=bugs@gnu.support \
    --cc=7498@debbugs.gnu.org \
    --cc=alan@idiocy.org \
    --cc=clement.pit@gmail.com \
    --cc=stefan@marxist.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.