all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Dale Sedivec <dale@codefu.org>, Lars Ingebrigtsen <larsi@gnus.org>
Cc: 44653@debbugs.gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>
Subject: bug#44653: 28.0.50; sql-mode gets confused about string literals
Date: Thu, 28 Jan 2021 10:41:35 +0100	[thread overview]
Message-ID: <d77506ba-649b-ce31-a28f-59a3df2a7e06@gmx.at> (raw)
In-Reply-To: <46E97503-64A9-4B54-ADA7-C71F7F39FB5B@codefu.org>

 > 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





      parent reply	other threads:[~2021-01-28  9:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-15  6:37 bug#44653: 28.0.50; sql-mode gets confused about string literals Dale Sedivec
2020-11-16 22:42 ` Lars Ingebrigtsen
2021-01-27  3:57 ` Lars Ingebrigtsen
2021-01-27 18:09   ` Dale Sedivec
2021-01-28  4:35     ` Lars Ingebrigtsen
2021-01-28  4:48       ` Lars Ingebrigtsen
2021-01-28  9:41     ` martin rudalics [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

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

  git send-email \
    --in-reply-to=d77506ba-649b-ce31-a28f-59a3df2a7e06@gmx.at \
    --to=rudalics@gmx.at \
    --cc=44653@debbugs.gnu.org \
    --cc=dale@codefu.org \
    --cc=larsi@gnus.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.
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.