GNU bug report logs - #40231
sql.el: patch for syntax table propertizing escaped apostrophes in SQL strings as punctuation syntax class

Previous Next

Package: emacs;

Reported by: "Florian v. Savigny" <f.savigny <at> mailbox.org>

Date: Wed, 25 Mar 2020 21:44:01 UTC

Severity: normal

Tags: fixed

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Florian v. Savigny" <f.savigny <at> mailbox.org>
Cc: Michael Mauger <michael <at> mauger.com>, 40231 <at> debbugs.gnu.org
Subject: bug#40231: sql.el: patch for syntax table propertizing escaped apostrophes in SQL strings as punctuation syntax class
Date: Sat, 08 Aug 2020 15:35:14 +0200
"Florian v. Savigny" <f.savigny <at> mailbox.org> writes:

> The attached is a diff against sql.el version 3.6 as shipped with
> Emacs 26.3. that implements propertizing such double apostrophes
> within strings with a punctuation syntax table property. (I have
> posted the code with exhaustive comments, which I thought excessive
> for working code, at the above URL.)

Thanks!

I don't use sql-mode much, but I tested the patch, and it seems to fix
the problem with strings 'like''this', so I've applied it to Emacs 28.1.

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




This bug report was last modified 5 years and 5 days ago.

Previous Next


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