GNU bug report logs - #30090
sql.el beginning-of-statement and end-of-statement result in an error

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Jarosław Rzeszótko <jrzeszotko@HIDDEN>; merged with #25424; dated Fri, 12 Jan 2018 16:33:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Merged 25424 30090. Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 12 Jan 2018 16:32:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 12 11:32:28 2018
Received: from localhost ([127.0.0.1]:54022 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ea2Fo-0002IQ-FX
	for submit <at> debbugs.gnu.org; Fri, 12 Jan 2018 11:32:28 -0500
Received: from eggs.gnu.org ([208.118.235.92]:53197)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jrzeszotko@HIDDEN>) id 1eZxfN-0000la-KE
 for submit <at> debbugs.gnu.org; Fri, 12 Jan 2018 06:38:34 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jrzeszotko@HIDDEN>) id 1eZxfH-000238-FO
 for submit <at> debbugs.gnu.org; Fri, 12 Jan 2018 06:38:28 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
 HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:41886)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <jrzeszotko@HIDDEN>)
 id 1eZxfH-00022m-Cd
 for submit <at> debbugs.gnu.org; Fri, 12 Jan 2018 06:38:27 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:44136)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <jrzeszotko@HIDDEN>) id 1eZxfG-0004yn-06
 for bug-gnu-emacs@HIDDEN; Fri, 12 Jan 2018 06:38:27 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jrzeszotko@HIDDEN>) id 1eZxfF-00021H-4r
 for bug-gnu-emacs@HIDDEN; Fri, 12 Jan 2018 06:38:26 -0500
Received: from mail-yw0-x235.google.com ([2607:f8b0:4002:c05::235]:40688)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <jrzeszotko@HIDDEN>)
 id 1eZxfE-00020X-Va
 for bug-gnu-emacs@HIDDEN; Fri, 12 Jan 2018 06:38:25 -0500
Received: by mail-yw0-x235.google.com with SMTP id g191so2372230ywe.7
 for <bug-gnu-emacs@HIDDEN>; Fri, 12 Jan 2018 03:38:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=H+/VJ16xza9K+eIP6/y+duY+8dFRI138xmNgiRv0p6A=;
 b=OKOB/hkU7U9wklDxI1d6a6TQ7ckiIk96jhAfxPqlOHOAcTo4Hm2ECfN9tbxcMvSiq/
 yQGrYSE3ToEmmta9FPrULk0vK79ADQwodCd0slcpJ++SaWScjYDP/2MHRyWL4oii5BP8
 SOdPPnNnc9DsL2a9iUhtoBxknL+vEpHRcPBEA1fveVTudFXYQmrAdt9woqbxOOJztMEd
 3SGvsTlX1kS+ZUSeQVDK+MrIKlktsTkV6dyod2XeG3AiU0ong4y0V5J91d0GEteQXcvg
 oSytNBbOrACg/DLAfxeIt/H7K/DZO52ClLs60bkZaEzoHTdri59JTHzPCkStuy8N4XZh
 sUvA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=H+/VJ16xza9K+eIP6/y+duY+8dFRI138xmNgiRv0p6A=;
 b=NjsA7TnbEZ1g+DtCIFrJmLK907T8s2TGD/FwWnlUPA7+lyHk+aH/KGOcOKSSxnCGqf
 Vn8JjHBS8Zj/j2y3fcYPMwi3QYeNNigDwruC7S6r3RfRkFRAbT7fZTD8JcNpELG5A6wU
 aWtc+LCJhkOYkARQ/PeQKJYrePA9Q/RdZPtdKNM/E/pOKzVVQUcq1PHiMV/IMffBjjIH
 LcMIvTLRqQYFiaye+eupB/xwkjUzmvyO70bScz7CaBZLV72cEhhiIt2kfmfQSGlAy0dJ
 Lv3lM3NdlbIFxA5aQAez77XGwH93BlDOnny/M55THOxXvJRK3i8GJlMB/vIrZxddBKba
 /Www==
X-Gm-Message-State: AKGB3mJNWGuwAXV7LKHdWiI0hIfnX3vM02/5a592OOUSrzUvzMmQOBpc
 Prtg238iQBP5G5cYGAjEYDsyp1BnQt9A7hmsrrXfcA==
X-Google-Smtp-Source: ACJfBoufi9rRAH+HYF8dqK7qIOh3HwImtSyxOdnQfct0dKXXTgx5fRa+FMsc8gQttf+Qv/AJrcPu1+n11cNANERSs08=
X-Received: by 10.129.116.8 with SMTP id p8mr13047067ywc.386.1515757103800;
 Fri, 12 Jan 2018 03:38:23 -0800 (PST)
MIME-Version: 1.0
Received: by 10.37.205.71 with HTTP; Fri, 12 Jan 2018 03:38:23 -0800 (PST)
From: =?UTF-8?B?SmFyb3PFgmF3IFJ6ZXN6w7N0a28=?= <jrzeszotko@HIDDEN>
Date: Fri, 12 Jan 2018 12:38:23 +0100
Message-ID: <CAO_X8WC4O0ZO=KKnJwapfGxkGrNjL+RhGf7uNRtOk2QAwbBX2A@HIDDEN>
Subject: sql.el beginning-of-statement and end-of-statement result in an error
To: "bug-gnu-emacs@HIDDEN" <bug-gnu-emacs@HIDDEN>
Content-Type: multipart/alternative; boundary="001a11473990bce5bd056292b3e1"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Fri, 12 Jan 2018 11:32:27 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

--001a11473990bce5bd056292b3e1
Content-Type: text/plain; charset="UTF-8"

Sql mode beginning-of-statement and end-of-statement commands depend on the
:terminator property being set for sql-product, however only a few products
in sql.el have it defined, and there is no fallback value - prominently the
'ansi product does not have :terminator set. In effect if you sql mode will
product set to anything other than the few products that have :terminator
specified, you will get an error on using beginning-of-statement /
end-of-statement, that looks like this:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  looking-at(nil)
  sql-end-of-statement(1)
  funcall-interactively(sql-end-of-statement 1)
  call-interactively(sql-end-of-statement nil nil)
  command-execute(sql-end-of-statement)

--001a11473990bce5bd056292b3e1
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Sql mode beginning-of-statement and end-of-statement =
commands depend on the :terminator property being set for sql-product, howe=
ver only a few products in sql.el have it defined, and there is no fallback=
 value - prominently the &#39;ansi product does not have :terminator set. I=
n effect if you sql mode will product set to anything other than the few pr=
oducts that have :terminator specified, you will get an error on using begi=
nning-of-statement / end-of-statement, that looks like this:</div><div><br>=
</div><div><div>Debugger entered--Lisp error: (wrong-type-argument stringp =
nil)</div><div>=C2=A0 looking-at(nil)</div><div>=C2=A0 sql-end-of-statement=
(1)</div><div>=C2=A0 funcall-interactively(sql-end-of-statement 1)</div><di=
v>=C2=A0 call-interactively(sql-end-of-statement nil nil)</div><div>=C2=A0 =
command-execute(sql-end-of-statement)</div></div><div><br></div><div><br></=
div></div>

--001a11473990bce5bd056292b3e1--




Acknowledgement sent to Jarosław Rzeszótko <jrzeszotko@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#30090; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 12 Jan 2018 18:15:02 UTC

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