unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Kristian Hole <kristian@hole.priv.no>
To: 37459@debbugs.gnu.org
Subject: bug#37459: Corrects sql-mode help about escape character syntax
Date: Sat, 26 Oct 2019 17:19:00 +0200	[thread overview]
Message-ID: <CAK0b3Nj-i+c4VjuPbsx+-js5tocFpDtF8rG21dTN+byEuevgYg@mail.gmail.com> (raw)
In-Reply-To: <Ax37cA.9fwaS3rsB6K.LgjArGUtGXoZUrfXqJZz@freemail.hu>


[-- Attachment #1.1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #1.2: Type: text/html, Size: 22 bytes --]

[-- Attachment #2: 0001-Corrects-sql-mode-help-about-escape-character-syntax.patch --]
[-- Type: application/octet-stream, Size: 846 bytes --]

From 49a0af005d770cedc54a954a811c903b8dfe9a93 Mon Sep 17 00:00:00 2001
From: kahole <kristian@hole.priv.no>
Date: Sat, 26 Oct 2019 17:07:27 +0200
Subject: [PATCH 1/2] Corrects sql-mode help about escape character syntax

Changes the example from the incorrect use of
punctuation rule, to the escape character rule (Bug#37459).
---
 lisp/progmodes/sql.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el
index b17364b08f..f985157202 100644
--- a/lisp/progmodes/sql.el
+++ b/lisp/progmodes/sql.el
@@ -4244,7 +4244,7 @@ sql-mode
 
 \(add-hook \\='sql-mode-hook
           (lambda ()
-	    (modify-syntax-entry ?\\\\ \".\" sql-mode-syntax-table)))"
+	    (modify-syntax-entry ?\\\\ \"\\\\\" sql-mode-syntax-table)))"
   :group 'SQL
   :abbrev-table sql-mode-abbrev-table
 
-- 
2.18.0


  reply	other threads:[~2019-10-26 15:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-19 12:39 bug#37459: 26.2; sql syntax highlight problem when escaping single quote ndame
2019-10-26 15:19 ` Kristian Hole [this message]
2019-10-26 15:25 ` bug#37459: Adds backslash as escape character to mysql syntax-alist Kristian Hole
2020-01-20 19:37   ` Stefan Kangas
2020-08-09 18:57   ` Lars Ingebrigtsen
2020-08-09 19:02     ` Lars Ingebrigtsen
     [not found] ` <handler.37459.B.156889741719764.ack@debbugs.gnu.org>
2019-09-20 13:28   ` bug#37459: 26.2; sql syntax highlight problem when escaping single quote ndame
2019-11-22 14:44   ` bug#37459: Acknowledgement (26.2; sql syntax highlight problem when escaping single quote) ndame

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=CAK0b3Nj-i+c4VjuPbsx+-js5tocFpDtF8rG21dTN+byEuevgYg@mail.gmail.com \
    --to=kristian@hole.priv.no \
    --cc=37459@debbugs.gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).