unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: backward-sexp throws scan-error "Unbalanced parentheses", but forward-sexp works
Date: Thu, 20 Jan 2022 12:20:22 -0500	[thread overview]
Message-ID: <jwv35liiax4.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: Z-pRY6Gc016HYLYIeAw1bvHjFkRvuj01e92afddGUBGQ-cvdyZg8vf71eLLxZxFOt_qcJbGQdys5zoiCfOAprUbKvYwLhahTcwRQ9KU9fLQ=@protonmail.com

> Do you think it's possible that particular version of aggressive-indent-mode
> exposed a latent bug in emacs' syntax handler?

It's possible.

> Should I open a bug for emacs describing how the issue can be replicated
> using that older aggressive-indent-mode version?

I don't think it's worth the trouble, no: it's a kind of bug that can be
fairly hard to track down, and there's a non-negligible chance that in
the end the error is in that old `aggresssive-indent-mode` code, so the
motivation to spend the time on it is quite low.

It's not like we don't have enough other bugs to fix ;-)


        Stefan




      reply	other threads:[~2022-01-20 17:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-12 16:49 backward-sexp throws scan-error "Unbalanced parentheses", but forward-sexp works ndame via Users list for the GNU Emacs text editor
2022-01-12 17:33 ` ndame via Users list for the GNU Emacs text editor
2022-01-12 21:06   ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-01-13  5:40 ` ndame via Users list for the GNU Emacs text editor
2022-01-13  5:54   ` ndame via Users list for the GNU Emacs text editor
2022-01-13  6:23     ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-01-13  9:04     ` ndame via Users list for the GNU Emacs text editor
2022-01-19 20:47       ` ndame
2022-01-19 20:52         ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-01-19 20:57         ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-01-19 21:30         ` ndame
2022-01-19 23:44           ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-01-20  4:47           ` ndame
2022-01-20 17:20             ` Stefan Monnier via Users list for the GNU Emacs text editor [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jwv35liiax4.fsf-monnier+emacs@gnu.org \
    --to=help-gnu-emacs@gnu.org \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).