unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#30090: sql.el beginning-of-statement and end-of-statement result in an error
@ 2018-01-12 11:38 Jarosław Rzeszótko
  0 siblings, 0 replies; only message in thread
From: Jarosław Rzeszótko @ 2018-01-12 11:38 UTC (permalink / raw)
  To: 30090

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

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)

[-- Attachment #2: Type: text/html, Size: 890 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-01-12 11:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-12 11:38 bug#30090: sql.el beginning-of-statement and end-of-statement result in an error Jarosław Rzeszótko

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).