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


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Dale Sedivec <dale <at> codefu.org>
Cc: 44653 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#44653: 28.0.50; sql-mode gets confused about string literals
Date: Thu, 28 Jan 2021 05:48:02 +0100
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> I'm not sure how this should be fixed...  Hm...  At 
>
> 'foo''|
>
> we're in a string, but
>
> 'foo'|'
>
> we're probably not?  (| marks point.)  Perhaps that can be used...
> somehow...

But we don't have access to that information in the rules, apparently --
syntax-propertize moves point around.

Anybody got any ideas here?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

Previous Next


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