[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: backward-sexp throws scan-error "Unbalanced parentheses", but forwar

From: Stefan Monnier
Subject: Re: backward-sexp throws scan-error "Unbalanced parentheses", but forward-sexp works
Date: Wed, 12 Jan 2022 16:06:56 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

ndame via Users list for the GNU Emacs text editor [2022-01-12 17:33:12] wrote:
>> I suspect scrolling through the file fixes it, so it might be connected to 
>> fontification?
> Looks like it is connected to fontification, because I browsed through the
> items of the list and at one point it switches to string syntax for no
> reason, and I guess that causes the problem.
> See the attached screenshot.

Sounds like a bug in the `syntax-propertize-function` of the major mode
you're using (or otherwise a bug elsewhere in that mode where it touches
the `syntax-table` text property).

You might want to open a bug report (against the major mode) and give as
much info as you can (of course a reproducible recipe is ideal, but it
might be tricky to come up with one).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]