From: Lars Ingebrigtsen <larsi@gnus.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 3824@debbugs.gnu.org, "J. Ian Johnson" <ianj@ccs.neu.edu>
Subject: bug#3824: This problem persists
Date: Mon, 14 Sep 2020 16:23:17 +0200 [thread overview]
Message-ID: <87lfhc8mju.fsf@gnus.org> (raw)
In-Reply-To: <jwvr44y71nh.fsf-monnier+emacsbugs@gnu.org> (Stefan Monnier's message of "Tue, 15 Apr 2014 16:56:40 -0400")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> I use #; comments extensively in my Racket code, and have been bitten
>> by emacs's weird handling of it. Taylor pointed me to this bug to
>> follow up.
>
> Does the patch below fix it for you?
Two patches were proposed in this bug report, and this patch (looking
quite similar) was applied a month later.
commit 0a5cfeeecb9e1038f9df3b34b61b797e56213a7b
Author: Stefan Monnier <monnier@iro.umontreal.ca>
AuthorDate: Tue May 20 16:12:30 2014 -0400
* lisp/progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
#; comments.
(scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
New functions.
(scheme-mode-variables): Set syntax-propertize-function instead of
font-lock-syntactic-face-function.
(scheme-font-lock-syntactic-face-function): Delete.
However, the original test case still fails:
> Consider the following line of Scheme code:
>
> (foo bar #;(baz (quux #;() zot) mumble) frotz)
>
> If the point is at the beginning, hitting C-M-f causes Emacs to barf
> on imbalanced parentheses.
(Or perhaps it fails again?) At least, in Emacs 28, putting that into
/tmp/foo.sch and hitting `C-M-f' gives me an error.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2020-09-14 14:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-11 16:35 bug#3824: 23.1.50; too much effort is put into handling Scheme S-expression comments, causing problems Taylor R Campbell
2009-07-14 19:52 ` Stefan Monnier
2011-05-03 17:20 ` Taylor R Campbell
2011-05-03 21:00 ` Glenn Morris
[not found] ` <14931252.67511397575947384.JavaMail.root@zimbra>
2014-04-15 15:39 ` bug#3824: This problem persists J. Ian Johnson
2014-04-15 20:56 ` Stefan Monnier
2020-09-14 14:23 ` Lars Ingebrigtsen [this message]
2016-06-05 2:59 ` bug#3824: 23.1.50; Alex
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=87lfhc8mju.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=3824@debbugs.gnu.org \
--cc=ianj@ccs.neu.edu \
--cc=monnier@iro.umontreal.ca \
/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.