GNU bug report logs - #44653
28.0.50; sql-mode gets confused about string literals

Previous Next

Package: emacs;

Reported by: Dale Sedivec <dale <at> codefu.org>

Date: Sun, 15 Nov 2020 06:38:01 UTC

Severity: normal

Found in version 28.0.50

Full log


Message #23 received at 44653 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Dale Sedivec <dale <at> codefu.org>, Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 44653 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#44653: 28.0.50; sql-mode gets confused about string literals
Date: Thu, 28 Jan 2021 10:41:35 +0100
> Do I correctly understand your statement to mean that parse state is
> only updated when characters are added to a buffer, not when
> characters are deleted?

The parse state is always updated after any buffer modification that
happened in the part before the position for which the state shall be
calculated.  The problem is, that syntax properties may override the
parse state.  And combined delimiters are always a pain (IIRC there were
discussions here whether in the middle of the C comment delimiters "/*"
and "*/" we are already or still in the corresponding comment.

martin




This bug report was last modified 4 years and 196 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.