unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* backward-sexp throws scan-error "Unbalanced parentheses", but forward-sexp works
@ 2022-01-12 16:49 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-13  5:40 ` ndame via Users list for the GNU Emacs text editor
  0 siblings, 2 replies; 14+ messages in thread
From: ndame via Users list for the GNU Emacs text editor @ 2022-01-12 16:49 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

I sometimes run into the situation with huge elisp lists, that I cannot use backward-sexp, because it throws an error, but forward-sexp works on the same list. Then, after a while it fixes itself without changing the buffer and backwards-sexp works too. I suspect scrolling through the file fixes it, so it might be connected to fontification? Though it's just a guess, I don't see how they could be related.

Is there a known situation when the same elisp list can be navigated forward, but not backward?

I'm on Emacs 27.1. Was there a related bug fixed in 28?

I cannot yet replicate the problem knowingly, it just occurs every once in a while.

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2022-01-20 17:20 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).