From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: ndame Newsgroups: gmane.emacs.bugs Subject: bug#37459: 26.2; sql syntax highlight problem when escaping single quote Date: Thu, 19 Sep 2019 12:39:33 +0000 (GMT) Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4166_989323815.1568896773058" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="82669"; mail-complaints-to="usenet@blaine.gmane.org" To: 37459@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 19 15:36:35 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iAwbq-000LKt-KZ for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Sep 2019 15:36:34 +0200 Original-Received: from localhost ([::1]:44110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iAwbo-0006Pk-Qj for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Sep 2019 09:36:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42220) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iAvtp-0007wL-9G for bug-gnu-emacs@gnu.org; Thu, 19 Sep 2019 08:51:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iAvto-0004VF-4y for bug-gnu-emacs@gnu.org; Thu, 19 Sep 2019 08:51:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46437) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iAvtn-0004Ug-U9 for bug-gnu-emacs@gnu.org; Thu, 19 Sep 2019 08:51:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iAvtn-00059n-QI for bug-gnu-emacs@gnu.org; Thu, 19 Sep 2019 08:51:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: ndame Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Sep 2019 12:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37459 X-GNU-PR-Package: emacs X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.156889741719764 (code B ref -1); Thu, 19 Sep 2019 12:51:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Sep 2019 12:50:17 +0000 Original-Received: from localhost ([127.0.0.1]:55258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iAvt2-00058i-T2 for submit@debbugs.gnu.org; Thu, 19 Sep 2019 08:50:17 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:35765) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iAvsz-00058Y-Q6 for submit@debbugs.gnu.org; Thu, 19 Sep 2019 08:50:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41468) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iAvsw-0006KH-VI for bug-gnu-emacs@gnu.org; Thu, 19 Sep 2019 08:50:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iAvjf-0006UA-LR for bug-gnu-emacs@gnu.org; Thu, 19 Sep 2019 08:40:36 -0400 Original-Received: from fmfe24.onbox.hu ([46.107.16.229]:32870 helo=web-out.onbox.hu) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iAvjf-0006G7-4O for bug-gnu-emacs@gnu.org; Thu, 19 Sep 2019 08:40:35 -0400 X-fm-smtp-source: yes Original-Received: from localhost (localhost [84.236.92.174]) by web-out.onbox.hu (Postfix) with SMTP id 46YxJn3K1GzGpt for ; Thu, 19 Sep 2019 14:40:25 +0200 (CEST) X-AccountId: 57978162 X-Originating-Ip: 84.236.92.174 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedufedrvddtgdehiecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdcuhfftgffgofetkffnnecuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhkffugggtvfhisegrtdersgdttdejnecuhfhrohhmpehnuggrmhgvuceovghmrggtshhushgvrhesfhhrvggvmhgrihhlrdhhuheqnecuffhomhgrihhnpehimhhguhhrrdgtohhmnecukfhppeekgedrvdefiedrledvrddujeegnecurfgrrhgrmhephhgvlhhopedpihhnvghtpeekgedrvdefiedrledvrddujeegpdhmrghilhhfrhhomhepvghmrggtshhushgvrhesfhhrvggvmhgrihhlrdhhuhdprhgtphhtthhopegsuhhgqdhgnhhuqdgvmhgrtghssehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptd DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=simple/relaxed; t=1568896825; s=20181004; d=freemail.hu; h=Date:From:Message-ID:Subject:MIME-Version:Content-Type:To; l=760; bh=/inyA6sWCzluMixr7cCueHPiSKEadZAseHSAJC91gaE=; b=y+iAtDO7PSxGP6gJXbMxNhHEtNvfqIlRnyyo2yeiPK0B6AwenBvY6Fy7/RiOf7lx 2W1xMVhOsjwYExu6xphiQWwQoUnHbyXVurqalrUG1gOpup5sjGAsoBi64L5Vs/rIA2v gCQsx+4BtpO3NTE8H2qr/C3+WypKFEzFjpaPnyPIFlk7exL0037HlYioo+iUXs2ax6Q SvjsaXtG/0Alh2WeqhzBWSGGZ/YRZsb9O+nNFYppobp1Z4Azogz62HWDgEQ6L7vIgd7 6IRmaxUWRSGyUZOE+/wFV0lZc17LjXMTOEdzwQGxjMZZN27eU7KOAsClUFFO9wPiJdM GXkmkZ8ojQ== X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:166711 Archived-At: ------=_Part_4166_989323815.1568896773058 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable If you try this simple sql =C2=A0 insert into test (test) values ('test\'test') then the string is not highlighted properly: https://i.imgur.com/DE9TJUP.png I guess it's a bug. =C2=A0 ------=_Part_4166_989323815.1568896773058 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit If you try this simple sql

  insert into test (test) values ('test\'test')

then the string is not highlighted properly:

https://i.imgur.com/DE9TJUP.png

I guess it's a bug.
  ------=_Part_4166_989323815.1568896773058--